summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorDetlev Zundel <dzu@denx.de>2009-04-03 14:45:46 (GMT)
committerWolfgang Denk <wd@denx.de>2009-04-03 23:23:56 (GMT)
commit453c0d7558215cbc8636d94af172886d84e0dbba (patch)
tree0c137602482338d795518f8aba4c358ba3585627 /drivers/pci
parent0a145ce6e7075aa0f4869d6f6149a5ff205d95df (diff)
downloadu-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 'drivers/pci')
0 files changed, 0 insertions, 0 deletions