On 21.02.2008 16:55, Myles Watson wrote:
Carl-Daniel Hailfinger wrote on Wednesday, February 20, 2008 3:53 PM
On 19.02.2008 16:07, Stefan Reinauer wrote:
- Carl-Daniel Hailfinger [20080216 22:12]:
ifdef to make it easy to compile it out.
Yes. Let's go both ways for now. Let's make it possible to keep ELF in there for the "safe case" and let's make it possible to drop ELF completely as a path for the near future where we do all preparsing at build time.
Myles? Could you prepare a patch which #ifdefs the code instead of removing it?
It's non-trivial. I think it will complicate the build process, Kconfig, and code quite a bit. I think the right thing to do is add whatever support to lar is needed, then when everyone feels comfortable, use something like my last patch.
If it is non-trivial, it is still doable. It would reduce bootblock size quite a bit and help us figure out hidden dependencies. You managed to remove ELF support completely from the firmware part of coreboot, so it should be possible to convert that removal to #ifdef.
Regards, Carl-Daniel