diff options
author | Tom Rini <trini@konsulko.com> | 2020-07-08 20:20:24 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-07-08 20:20:24 -0400 |
commit | 61608f395e7dcb2be6060407a72a1149b046430a (patch) | |
tree | 387269e837a47126d5a7ccdef2b4d5af60598e16 /common/command.c | |
parent | 186529953fd10a97e6343418095edd1c535aaeb2 (diff) | |
parent | c89b41b4db4a746647c4f0e6d33c6f4edfe96e38 (diff) |
Merge branch '2020-07-08-misc-features-and-fixes'
- mem cmd improvements
- TPM fixes
- SPL/NAND/FIT fixes
- RSA improvements
Diffstat (limited to 'common/command.c')
-rw-r--r-- | common/command.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/common/command.c b/common/command.c index 4f49f15bfdf..2c491e20a74 100644 --- a/common/command.c +++ b/common/command.c @@ -9,6 +9,7 @@ */ #include <common.h> +#include <compiler.h> #include <command.h> #include <console.h> #include <env.h> @@ -473,12 +474,12 @@ int cmd_get_data_size(char* arg, int default_size) return 2; case 'l': return 4; -#ifdef MEM_SUPPORT_64BIT_DATA - case 'q': - return 8; -#endif case 's': return -2; + case 'q': + if (MEM_SUPPORT_64BIT_DATA) + return 8; + /* no break */ default: return -1; } |