Ok, topic ATAGS:
I see three ways doing ATAGS init for SPL:
1. use bootm.c which means init bd correctly and add a bunch of #ifdef
CONFIG_PRELOADER to it - maybe also to some others i don't have on the
radar yet.
2. Have ATAGS config in board config file and init it at compile time
3. Doing it like Heiko and copy the ATAGS config done by u-boot

My favourite here is number 2 because it would be faster than  1 and
won't take so much work and won't clutter the standard u-boot code
with #ifdefs. Also it is simpler to use than 3. the downside is that
the section for ATAGS config would be huge and the code could diverge
over time...

Comments?

Regards
Simon
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to