diff options
author | Detlev Zundel <dzu@denx.de> | 2009-04-03 16:45:46 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-04-04 01:23:56 +0200 |
commit | 453c0d7558215cbc8636d94af172886d84e0dbba (patch) | |
tree | 0c137602482338d795518f8aba4c358ba3585627 /board/netvia | |
parent | 0a145ce6e7075aa0f4869d6f6149a5ff205d95df (diff) | |
download | u-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 'board/netvia')
0 files changed, 0 insertions, 0 deletions