aboutsummaryrefslogtreecommitdiff
path: root/board/cobra5272
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-02 16:42:36 -0500
committerTom Rini <trini@konsulko.com>2022-12-22 10:31:48 -0500
commite52fca2236153341c495bff3c5631fcced291ffe (patch)
treedf8d823706fd61f627664aca7d10a58399254bf2 /board/cobra5272
parent829e9d223657f5779668bb7a46e902a85e09b664 (diff)
downloadu-boot-e52fca2236153341c495bff3c5631fcced291ffe.zip
u-boot-e52fca2236153341c495bff3c5631fcced291ffe.tar.gz
u-boot-e52fca2236153341c495bff3c5631fcced291ffe.tar.bz2
Convert CONFIG_MONITOR_IS_IN_RAM to Kconfig
This converts the following to Kconfig: CONFIG_MONITOR_IS_IN_RAM As part of this, reword some of the documentation slightly to reflect that this is in Kconfig and not a define now. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/cobra5272')
-rw-r--r--board/cobra5272/README27
1 files changed, 9 insertions, 18 deletions
diff --git a/board/cobra5272/README b/board/cobra5272/README
index ac62e55..11abcfa 100644
--- a/board/cobra5272/README
+++ b/board/cobra5272/README
@@ -77,21 +77,16 @@ in dir ./u-boot-x-x-x/
please first check:
- in ./include/configs/cobra5272.h
+ in ./configs/cobra5272_defconfig
- CONFIG_MONITOR_IS_IN_RAM has to be undefined, e. g. as follows:
-
- #if 0
- #define CONFIG_MONITOR_IS_IN_RAM
- /* define if monitor is started from a pre-loader */
- #endif
+ CONFIG_MONITOR_IS_IN_RAM has to be not present in the file
=> u-boot as single bootloader starting from flash
- in board/cobra5272/config.mk CONFIG_TEXT_BASE should be
+ in configs/cobra5272_defconfig CONFIG_TEXT_BASE should be
- CONFIG_TEXT_BASE = 0xffe00000
+ CONFIG_TEXT_BASE=0xffe00000
=> linking address for u-boot as single bootloader stored in flash
@@ -115,22 +110,18 @@ in dir ./u-boot-x-x-x/
host> make distclean
please modify the settings:
+ in ./configs/cobra5272_defconfig
- in ./include/configs/cobra5272.h
-
- CONFIG_MONITOR_IS_IN_RAM now has to be defined, e. g. as follows:
+ CONFIG_MONITOR_IS_IN_RAM now has to be enabled, e. g. as follows:
- #if 1
- #define CONFIG_MONITOR_IS_IN_RAM
- /*define if monitor is started from a pre-loader */
- #endif
+ CONFIG_MONITOR_IS_IN_RAM=y
=> u-boot as RAM version, chainloaded by another bootloader or using bdm cable
- in board/cobra5272/config.mk CONFIG_TEXT_BASE should be
+ in configs/cobra5272_defconfig CONFIG_TEXT_BASE should be
- CONFIG_TEXT_BASE = 0x00020000
+ CONFIG_TEXT_BASE=0x00020000
=> target linking address for RAM