[U-Boot] structure usage for peripheral registers

Vipin Kumar hasherror at gmail.com
Fri May 28 19:00:19 CEST 2010


hi,

The u-boot source has been following a strict rule to use
structures to define peripheral registers for some time now

I was wondering if there really is an advantage over the macro
definitions which is being used in Linux until today or this is just
a coding guideline to maintain consistency in the code

Thanks and Regards
Vipin


More information about the U-Boot mailing list