
22 Apr
2005
22 Apr
'05
4:57 p.m.
Hi All,
I'm newbie to u-boot.
We are using u-boot for proprietary ARM board with NS16550 compatible serial controller. It is configured as 4bytes access to serial controller, so set CFG_NS16550_REG_SIZE to 4. But, because of "__attribute__ ((packed))" of struct NS16550, all register accesses to NS16550 are generated to byte access (LDRB, STRB in ARM).
I think it should NOT have __attribute__ ((packed)) if NS16550 is configured as 4bytes access. Am I missed something?
Thanks, Woojung