diff options
Diffstat (limited to 'include/system-constants.h')
| -rw-r--r-- | include/system-constants.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/system-constants.h b/include/system-constants.h index e09fc418a47..908bf16d0b4 100644 --- a/include/system-constants.h +++ b/include/system-constants.h @@ -37,7 +37,7 @@ IF_ENABLED_INT(CONFIG_SPL_SYS_MALLOC, CONFIG_SPL_SYS_MALLOC_SIZE) /* deal with an optional value */ -#ifdef CONFIG_SPL_OS_BOOT +#if IS_ENABLED(CONFIG_SPL_OS_BOOT_ARGS) #define SPL_PAYLOAD_ARGS_ADDR CONFIG_SPL_PAYLOAD_ARGS_ADDR #else #define SPL_PAYLOAD_ARGS_ADDR 0 |
