]> git.dujemihanovic.xyz Git - u-boot.git/commit
display_options: Drop #ifdef for MEM_SUPPORT_64BIT_DATA
authorSimon Glass <sjg@chromium.org>
Wed, 3 Jun 2020 01:26:47 +0000 (19:26 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 8 Jul 2020 21:21:46 +0000 (17:21 -0400)
commit677dbf5daebe5bd49193c2971593ac8b1fe734f1
tree2c76944d00032600dd31b1feaa92ca80e67c543e
parent4680976fb6e6dd478c0cb0233889122755f4d2db
display_options: 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 missing header file that defines MEM_SUPPORT_64BIT_DATA

Fixes: 09140113108 ("command: Remove the cmd_tbl_t typedef")
Signed-off-by: Simon Glass <sjg@chromium.org>
lib/display_options.c