[U-Boot] [PATCH 0/3] ARM: keystone2: Cleanup macros

Nishanth Menon nm at ti.com
Tue Mar 15 16:25:50 CET 2016


As reported by Tom in [1], macros in psc definitions are just too painful to
readup on.. so convert it into static inline of equivalent functionality.

Based on 
  master 4d339a9e8a75 Merge branch 'master' of git://git.denx.de/u-boot-video

Testing:
K2g: http://pastebin.ubuntu.com/15392362/
k2hk: http://pastebin.ubuntu.com/15392337/

Nishanth Menon (3):
  ARM: keystone2: Convert BOOTBITMASK to static inline function
  ARM: keystone2: Convert BOOT_READ_BITFIELD into static inline function
  ARM: keystone2: Convert BOOT_SET_BITFIELD into static inline function

 arch/arm/mach-keystone/include/mach/psc_defs.h | 51 ++++++++++++++++----------
 1 file changed, 32 insertions(+), 19 deletions(-)

[1] https://patchwork.ozlabs.org/patch/588338/
-- 
2.7.0



More information about the U-Boot mailing list