command: Drop #ifdef for MEM_SUPPORT_64BIT_DATA
authorSimon Glass <sjg@chromium.org>
Wed, 3 Jun 2020 01:26:48 +0000 (19:26 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 8 Jul 2020 21:21:46 +0000 (17:21 -0400)
commita33a824227e130d81260dfd3a275af3b0daa81c1
tree3bbad1b2b53fbf5222c0bc55852ea62b55477504
parent677dbf5daebe5bd49193c2971593ac8b1fe734f1
command: Drop #ifdef for MEM_SUPPORT_64BIT_DATA

This is defined only when __lp64__ is defined. That means that ulong is
64 bits long. Therefore we don't need to use a separate u64 type on those
architectures.

Fix up the code to take advantage of that, removing the preprocessor
conditions.

Also include the header file that defines MEM_SUPPORT_64BIT_DATA. It is
included by env.h in this file, but that might not last forever.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/command.c