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)
commit78b7d37b1b2b692b9e38780bdbae430b25202932
treeccbd5a5fbbc3081396116d22d071e10c13ea44f2
parent664758c3dd1cf9c892ce98112e629cb032ac64aa
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