Commit 15dc63d646bd73f473141653db9a20a71aaaeced
Committed by
Tom Rini
1 parent
5d47099fea
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
Convert CONFIG_CMD_SAVES to Kconfig
This converts the following to Kconfig: CONFIG_CMD_SAVES Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Showing 21 changed files with 16 additions and 73 deletions Side-by-side Diff
- README
- arch/arm/Kconfig
- cmd/Kconfig
- configs/ethernut5_defconfig
- configs/microblaze-generic_defconfig
- configs/x600_defconfig
- configs/xtfpga_defconfig
- include/config_cmd_all.h
- include/configs/calimain.h
- include/configs/da850evm.h
- include/configs/ea20.h
- include/configs/ethernut5.h
- include/configs/ipam390.h
- include/configs/legoev3.h
- include/configs/microblaze-generic.h
- include/configs/omapl138_lcdk.h
- include/configs/spear-common.h
- include/configs/ti_armv7_keystone2.h
- include/configs/x600.h
- include/configs/xtfpga.h
- scripts/config_whitelist.txt
README
... | ... | @@ -815,7 +815,6 @@ |
815 | 815 | CONFIG_CMD_PING * send ICMP ECHO_REQUEST to network |
816 | 816 | host |
817 | 817 | CONFIG_CMD_RUN run command in env variable |
818 | - CONFIG_CMD_SAVES * save S record dump | |
819 | 818 | CONFIG_CMD_SDRAM * print SDRAM configuration information |
820 | 819 | (requires CONFIG_CMD_I2C) |
821 | 820 | CONFIG_CMD_SF * Read/write/erase SPI NOR flash |
arch/arm/Kconfig
... | ... | @@ -308,6 +308,7 @@ |
308 | 308 | config ARCH_DAVINCI |
309 | 309 | bool "TI DaVinci" |
310 | 310 | select CPU_ARM926EJS |
311 | + imply CMD_SAVES | |
311 | 312 | help |
312 | 313 | Support for TI's DaVinci platform. |
313 | 314 | |
314 | 315 | |
315 | 316 | |
316 | 317 | |
... | ... | @@ -409,21 +410,25 @@ |
409 | 410 | bool "Support spear300" |
410 | 411 | select CPU_ARM926EJS |
411 | 412 | select BOARD_EARLY_INIT_F |
413 | + imply CMD_SAVES | |
412 | 414 | |
413 | 415 | config TARGET_SPEAR310 |
414 | 416 | bool "Support spear310" |
415 | 417 | select CPU_ARM926EJS |
416 | 418 | select BOARD_EARLY_INIT_F |
419 | + imply CMD_SAVES | |
417 | 420 | |
418 | 421 | config TARGET_SPEAR320 |
419 | 422 | bool "Support spear320" |
420 | 423 | select CPU_ARM926EJS |
421 | 424 | select BOARD_EARLY_INIT_F |
425 | + imply CMD_SAVES | |
422 | 426 | |
423 | 427 | config TARGET_SPEAR600 |
424 | 428 | bool "Support spear600" |
425 | 429 | select CPU_ARM926EJS |
426 | 430 | select BOARD_EARLY_INIT_F |
431 | + imply CMD_SAVES | |
427 | 432 | |
428 | 433 | config TARGET_STV0991 |
429 | 434 | bool "Support stv0991" |
... | ... | @@ -575,6 +580,7 @@ |
575 | 580 | select CMD_POWEROFF |
576 | 581 | imply CMD_MTDPARTS |
577 | 582 | imply FIT |
583 | + imply CMD_SAVES | |
578 | 584 | |
579 | 585 | config ARCH_OMAP2PLUS |
580 | 586 | bool "TI OMAP2+" |
cmd/Kconfig
... | ... | @@ -779,6 +779,12 @@ |
779 | 779 | Attachment, where AT refers to an IBM AT (Advanced Technology) |
780 | 780 | computer released in 1984. |
781 | 781 | |
782 | +config CMD_SAVES | |
783 | + bool "saves - Save a file over serial in S-Record format" | |
784 | + help | |
785 | + Provides a way to save a binary file using the Motorola S-Record | |
786 | + format over the serial line. | |
787 | + | |
782 | 788 | config CMD_SF |
783 | 789 | bool "sf" |
784 | 790 | help |
configs/ethernut5_defconfig
configs/microblaze-generic_defconfig
configs/x600_defconfig
configs/xtfpga_defconfig
include/config_cmd_all.h
... | ... | @@ -13,7 +13,6 @@ |
13 | 13 | * Alphabetical list of all possible commands. |
14 | 14 | */ |
15 | 15 | |
16 | -#define CONFIG_CMD_SAVES /* save S record dump */ | |
17 | 16 | #define CONFIG_CMD_SDRAM /* SDRAM DIMM SPD info printout */ |
18 | 17 | #define CONFIG_CMD_TERMINAL /* built-in Serial Terminal */ |
19 | 18 | #define CONFIG_CMD_UNIVERSE /* Tundra Universe Support */ |
include/configs/calimain.h
... | ... | @@ -294,14 +294,6 @@ |
294 | 294 | "echo Product: $product; " \ |
295 | 295 | "gpio c 1; gpio c 2;" |
296 | 296 | |
297 | -/* | |
298 | - * U-Boot commands | |
299 | - */ | |
300 | -#define CONFIG_CMD_SAVES | |
301 | - | |
302 | -#ifndef CONFIG_DRIVER_TI_EMAC | |
303 | -#endif | |
304 | - | |
305 | 297 | /* additions for new relocation code, must added to all boards */ |
306 | 298 | #define CONFIG_SYS_SDRAM_BASE 0xc0000000 |
307 | 299 | /* initial stack pointer in internal SRAM */ |
include/configs/da850evm.h
... | ... | @@ -263,11 +263,6 @@ |
263 | 263 | "mem=32M console=ttyS2,115200n8 root=/dev/mtdblock2 rw noinitrd ip=dhcp" |
264 | 264 | #define CONFIG_EXTRA_ENV_SETTINGS "hwconfig=dsp:wake=yes" |
265 | 265 | |
266 | -/* | |
267 | - * U-Boot commands | |
268 | - */ | |
269 | -#define CONFIG_CMD_SAVES | |
270 | - | |
271 | 266 | #ifdef CONFIG_CMD_BDI |
272 | 267 | #define CONFIG_CLOCKS |
273 | 268 | #endif |
include/configs/ea20.h
include/configs/ethernut5.h
include/configs/ipam390.h
include/configs/legoev3.h
include/configs/microblaze-generic.h
... | ... | @@ -160,24 +160,6 @@ |
160 | 160 | #define CONFIG_BOOTP_GATEWAY |
161 | 161 | #define CONFIG_BOOTP_HOSTNAME |
162 | 162 | |
163 | -/* | |
164 | - * Command line configuration. | |
165 | - */ | |
166 | - | |
167 | -#if defined(FLASH) | |
168 | -# if !defined(RAMENV) | |
169 | -# define CONFIG_CMD_SAVES | |
170 | -# endif | |
171 | - | |
172 | -#else | |
173 | -#if defined(SPIFLASH) | |
174 | - | |
175 | -# if !defined(RAMENV) | |
176 | -# define CONFIG_CMD_SAVES | |
177 | -# endif | |
178 | -#endif | |
179 | -#endif | |
180 | - | |
181 | 163 | #if defined(CONFIG_CMD_JFFS2) |
182 | 164 | # define CONFIG_MTD_PARTITIONS |
183 | 165 | #endif |
include/configs/omapl138_lcdk.h
include/configs/spear-common.h
include/configs/ti_armv7_keystone2.h
... | ... | @@ -197,9 +197,6 @@ |
197 | 197 | #define CONFIG_DEV_USB_PHY_BASE KS2_DEV_USB_PHY_BASE |
198 | 198 | #define CONFIG_USB_PHY_CFG_BASE KS2_USB_PHY_CFG_BASE |
199 | 199 | |
200 | -/* U-Boot command configuration */ | |
201 | -#define CONFIG_CMD_SAVES | |
202 | - | |
203 | 200 | /* U-Boot general configuration */ |
204 | 201 | #define CONFIG_MISC_INIT_R |
205 | 202 | #define CONFIG_MX_CYCLIC |
include/configs/x600.h
include/configs/xtfpga.h
... | ... | @@ -123,12 +123,6 @@ |
123 | 123 | /* Boot Argument Buffer Size */ |
124 | 124 | #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE |
125 | 125 | |
126 | -/*=================*/ | |
127 | -/* U-Boot commands */ | |
128 | -/*=================*/ | |
129 | - | |
130 | -#define CONFIG_CMD_SAVES | |
131 | - | |
132 | 126 | /*==============================*/ |
133 | 127 | /* U-Boot autoboot configuration */ |
134 | 128 | /*==============================*/ |