summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2022-12-04 10:13:46 -0500
committerTom Rini <[email protected]>2022-12-23 10:15:12 -0500
commitddc418703353f00215962bc083523784a1c01c32 (patch)
tree3997328877ad2d4ba0660a908251df454d5babc7
parent3cdd6302a5c6cc2f6b59b845f6f1fc31061b1dd2 (diff)
global: Migrate CONFIG_SET_DFU_ALT_BUF_LEN to CFG
Perform a simple rename of CONFIG_SET_DFU_ALT_BUF_LEN to CFG_SET_DFU_ALT_BUF_LEN Signed-off-by: Tom Rini <[email protected]>
-rw-r--r--board/samsung/common/misc.c2
-rw-r--r--include/configs/odroid.h2
-rw-r--r--include/configs/odroid_xu3.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/board/samsung/common/misc.c b/board/samsung/common/misc.c
index 9c0ec29c937..5ffa216e2e5 100644
--- a/board/samsung/common/misc.c
+++ b/board/samsung/common/misc.c
@@ -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";
diff --git a/include/configs/odroid.h b/include/configs/odroid.h
index 3ac13a65d63..560a23c23ef 100644
--- a/include/configs/odroid.h
+++ b/include/configs/odroid.h
@@ -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;" \
diff --git a/include/configs/odroid_xu3.h b/include/configs/odroid_xu3.h
index 7304851d0f3..58b5ee6ea0a 100644
--- a/include/configs/odroid_xu3.h
+++ b/include/configs/odroid_xu3.h
@@ -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