]> git.baikalelectronics.ru Git - uboot.git/commit
cmd: mem: Drop #ifdef for MEM_SUPPORT_64BIT_DATA
authorSimon Glass <sjg@chromium.org>
Wed, 3 Jun 2020 01:26:46 +0000 (19:26 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 8 Jul 2020 21:21:46 +0000 (17:21 -0400)
commit85e106dd4b3b69377528f6d5ce0d2174b8fb273a
treeeefbb8158c4c16d06e063b62f632a1ca90dd66c2
parent581f936cd94538d88121453ab6eea9164a0d56c0
cmd: mem: 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.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
cmd/mem.c