In message <[EMAIL PROTECTED]> you wrote: > > fw_getenv works fine for userspace programs. But I find it quite usefull > to forward U-Boot configuration parameters to Linux kernel space via > ATAGs, especially regarding different hardware versions and vice versa. > Accessing the data which has been provided by ATAGs can be very fast > because the ATAG data can be copied to global structures which can be > accessed by the kernel and also be kernel modules. Typical applications > are information about slightly different hardware versions, like GPIO > mapping or polarity.
I agree that this may make sense on ARM systems - to me it would also make sense to pass the MAC address as an ATAG. The problem is that you will probably run into problems if youy try pushing such code into the mainline kernel. RMK will likely block it. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] "It ain't so much the things we don't know that get us in trouble. It's the things we know that ain't so." - Artemus Ward aka Charles Farrar Brown ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users