diff options
author | Detlev Zundel <dzu@denx.de> | 2009-04-03 14:45:46 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-04-03 23:23:56 (GMT) |
commit | 453c0d7558215cbc8636d94af172886d84e0dbba (patch) | |
tree | 0c137602482338d795518f8aba4c358ba3585627 /include/ACEX1K.h | |
parent | 0a145ce6e7075aa0f4869d6f6149a5ff205d95df (diff) | |
download | u-boot-453c0d7558215cbc8636d94af172886d84e0dbba.tar.xz |
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/ACEX1K.h')
0 files changed, 0 insertions, 0 deletions