]> git.baikalelectronics.ru Git - uboot.git/commit
ns16550: Fix mem mapped endian check
authorBernhard Messerklinger <bernhard.messerklinger@br-automation.com>
Thu, 15 Feb 2018 08:02:26 +0000 (09:02 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 23 Feb 2018 15:40:50 +0000 (10:40 -0500)
commitb13a06ff0422af1e4404936c65fad3c3f08e9a83
treeccbd5a5fbbc3081396116d22d071e10c13ea44f2
parent1734e69dc562566f367a5d80b821d91f1e9957dc
ns16550: Fix mem mapped endian check

Do a explicit check for CONFIG_SYS_BIG_ENDIAN and
CONFIG_SYS_LITTLE_ENDIAN to avoid errors on platforms where both
are undefined (x86).

Signed-off-by: Bernhard Messerklinger <bernhard.messerklinger@br-automation.com>
Reviewed-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com>
drivers/serial/ns16550.c