summaryrefslogtreecommitdiff
path: root/include/libfdt_env.h
diff options
context:
space:
mode:
authorDetlev Zundel <dzu@denx.de>2009-04-03 16:45:46 +0200
committerWolfgang Denk <wd@denx.de>2009-04-04 01:23:56 +0200
commit453c0d7558215cbc8636d94af172886d84e0dbba (patch)
tree0c137602482338d795518f8aba4c358ba3585627 /include/libfdt_env.h
parent0a145ce6e7075aa0f4869d6f6149a5ff205d95df (diff)
downloadu-boot-imx-453c0d7558215cbc8636d94af172886d84e0dbba.zip
u-boot-imx-453c0d7558215cbc8636d94af172886d84e0dbba.tar.gz
u-boot-imx-453c0d7558215cbc8636d94af172886d84e0dbba.tar.bz2
include/ns16550.h: Unify structure declaration for registers
Instead of special casing the different access patterns, use common code with light macros sprinkled in to accomodate for the different layouts of the register structure. Note that this also changes the types of the registers for the "positively packed (>1)" cases. As the registers truly are unsigned chars, this is surely the Right Thing, but it is a semantic change. Note that for this case depending on the endianness on the bus, we may see a change of behaviour. Signed-off-by: Detlev Zundel <dzu@denx.de>
Diffstat (limited to 'include/libfdt_env.h')
0 files changed, 0 insertions, 0 deletions