]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
global: Migrate CONFIG_SET_DFU_ALT_BUF_LEN to CFG
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:13:46 +0000 (10:13 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 23 Dec 2022 15:15:12 +0000 (10:15 -0500)
Perform a simple rename of CONFIG_SET_DFU_ALT_BUF_LEN to CFG_SET_DFU_ALT_BUF_LEN

Signed-off-by: Tom Rini <trini@konsulko.com>
board/samsung/common/misc.c
include/configs/odroid.h
include/configs/odroid_xu3.h

index 9c0ec29c937b93fa166939bfd74761da485386c1..5ffa216e2e5dbe3f3351cb5f52115c5742353b4f 100644 (file)
@@ -41,7 +41,7 @@ DECLARE_GLOBAL_DATA_PTR;
 #ifdef CONFIG_SET_DFU_ALT_INFO
 void set_dfu_alt_info(char *interface, char *devstr)
 {
-       size_t buf_size = CONFIG_SET_DFU_ALT_BUF_LEN;
+       size_t buf_size = CFG_SET_DFU_ALT_BUF_LEN;
        ALLOC_CACHE_ALIGN_BUFFER(char, buf, buf_size);
        char *alt_info = "Settings not found!";
        char *status = "error!\n";
index 3ac13a65d63f41b2bc83771ae58c4a91b13790f2..560a23c23efb3c378381fc06932f735d744429ed 100644 (file)
@@ -37,7 +37,7 @@
        ""PARTS_BOOT" part 0 1;" \
        ""PARTS_ROOT" part 0 2\0" \
 
-#define CONFIG_SET_DFU_ALT_BUF_LEN     (SZ_1K)
+#define CFG_SET_DFU_ALT_BUF_LEN        (SZ_1K)
 
 #define CFG_DFU_ALT_BOOT_EMMC \
        "u-boot raw 0x3e 0x800 mmcpart 1;" \
index 7304851d0f331d3f5ba2cc918ac19bd6285d3161..58b5ee6ea0a9e92887442a8dab1f2bceb61d7157 100644 (file)
@@ -49,7 +49,7 @@
        "params.bin raw 0x1880 0x20\0"
 
 /* Enable: board/samsung/common/misc.c to use set_dfu_alt_info() */
-#define CONFIG_SET_DFU_ALT_BUF_LEN     (SZ_1K)
+#define CFG_SET_DFU_ALT_BUF_LEN        (SZ_1K)
 
 /* Set soc_rev, soc_id, board_rev, board_name, fdtfile */
 #define CFG_ODROID_REV_AIN             9