mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
Convert CONFIG_SYS_BOOTPARAMS_LEN to Kconfig
This converts the following to Kconfig: CONFIG_SYS_BOOTPARAMS_LEN Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -457,7 +457,7 @@ static int initr_env(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_SYS_BOOTPARAMS_LEN
|
||||
#ifdef CONFIG_SYS_MALLOC_BOOTPARAMS
|
||||
static int initr_malloc_bootparams(void)
|
||||
{
|
||||
gd->bd->bi_boot_params = (ulong)malloc(CONFIG_SYS_BOOTPARAMS_LEN);
|
||||
@@ -713,7 +713,7 @@ static init_fnc_t init_sequence_r[] = {
|
||||
initr_pvblock,
|
||||
#endif
|
||||
initr_env,
|
||||
#ifdef CONFIG_SYS_BOOTPARAMS_LEN
|
||||
#ifdef CONFIG_SYS_MALLOC_BOOTPARAMS
|
||||
initr_malloc_bootparams,
|
||||
#endif
|
||||
INIT_FUNC_WATCHDOG_RESET
|
||||
|
Reference in New Issue
Block a user