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 <trini@konsulko.com>
This commit is contained in:
Tom Rini 2022-12-04 10:13:46 -05:00
parent 3cdd6302a5
commit ddc4187033
3 changed files with 3 additions and 3 deletions

View 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";

View 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;" \

View 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