]> git.dujemihanovic.xyz Git - u-boot.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)
commit4680976fb6e6dd478c0cb0233889122755f4d2db
treeeefbb8158c4c16d06e063b62f632a1ca90dd66c2
parent76be8f75c5f9cd4d968f720f80b891e101fff1fd
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