summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
Diffstat (limited to 'boot')
-rw-r--r--boot/Kconfig2
-rw-r--r--boot/image-board.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/boot/Kconfig b/boot/Kconfig
index 4a001bcee8..668270cc66 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -654,7 +654,7 @@ config SYS_MONITOR_BASE
default TEXT_BASE
help
The physical start address of boot monitor code (which is the same as
- CONFIG_TEXT_BASE when linking) and the same as CONFIG_SYS_FLASH_BASE
+ CONFIG_TEXT_BASE when linking) and the same as CFG_SYS_FLASH_BASE
when booting from flash.
config SPL_SYS_MONITOR_BASE
diff --git a/boot/image-board.c b/boot/image-board.c
index 8813be544b..0fd63291d3 100644
--- a/boot/image-board.c
+++ b/boot/image-board.c
@@ -161,8 +161,8 @@ phys_size_t env_get_bootm_mapsize(void)
return tmp;
}
-#if defined(CONFIG_SYS_BOOTMAPSZ)
- return CONFIG_SYS_BOOTMAPSZ;
+#if defined(CFG_SYS_BOOTMAPSZ)
+ return CFG_SYS_BOOTMAPSZ;
#else
return env_get_bootm_size();
#endif