diff options
author | Tom Rini <trini@konsulko.com> | 2023-01-10 11:19:45 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-01-20 12:27:24 -0500 |
commit | 6e7df1d151a7a127caf3b62ff6dfc003fc2aefcd (patch) | |
tree | ae38e9dcf468b2e4e58293561fae87895d9b549f /cmd | |
parent | ad242344681f6a0076a6bf100aa83ac9ecbea355 (diff) | |
download | u-boot-6e7df1d151a7a127caf3b62ff6dfc003fc2aefcd.zip u-boot-6e7df1d151a7a127caf3b62ff6dfc003fc2aefcd.tar.gz u-boot-6e7df1d151a7a127caf3b62ff6dfc003fc2aefcd.tar.bz2 |
global: Finish CONFIG -> CFG migration
At this point, the remaining places where we have a symbol that is
defined as CONFIG_... are in fairly odd locations. While as much dead
code has been removed as possible, some of these locations are simply
less obvious at first. In other cases, this code is used, but was
defined in such a way as to have been missed by earlier checks. Perform
a rename of all such remaining symbols to be CFG_... rather than
CONFIG_...
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/ximg.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -27,9 +27,9 @@ #include <asm/cache.h> #include <asm/io.h> -#ifndef CONFIG_SYS_XIMG_LEN +#ifndef CFG_SYS_XIMG_LEN /* use 8MByte as default max gunzip size */ -#define CONFIG_SYS_XIMG_LEN 0x800000 +#define CFG_SYS_XIMG_LEN 0x800000 #endif static int @@ -52,7 +52,7 @@ do_imgextract(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) size_t fit_len; #endif #ifdef CONFIG_GZIP - uint unc_len = CONFIG_SYS_XIMG_LEN; + uint unc_len = CFG_SYS_XIMG_LEN; #endif uint8_t comp; |