mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
serial: ns16550: Fix build error due to a typo
Fix trivial typo. Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Axel Lin <axel.lin@ingics.com>
This commit is contained in:
parent
4e34d61039
commit
20379c115e
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ static inline int serial_in_shift(unsigned char *addr, int shift)
|
|||
#elif defined(CONFIG_SYS_NS16550_MEM32) && defined(CONFIG_SYS_BIG_ENDIAN)
|
||||
return in_be32(addr);
|
||||
#elif defined(CONFIG_SYS_BIG_ENDIAN)
|
||||
return readb(addr + (1 << reg_shift) - 1);
|
||||
return readb(addr + (1 << shift) - 1);
|
||||
#else
|
||||
return readb(addr);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue