mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-30 00:20:44 +09:00
kconfig: move CONFIG_CMD_CRC32 to Kconfig
Since CONFIG_CMD_CRC32 is defined in config_cmd_defaults.h, it is enabled for all the boards except the ones undefining it explicitly: kwb tseries_mmc tseries_nand tseries_spi vct_platinum_onenand_small vct_platinum_small vct_platinumavc_onenand_small vct_platinumavc_small vct_premium_onenand_small vct_premium_small The default value of this config option should be "y" and "# CONFIG_CMD_CRC32 is not set" should be added for those exceptions. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
dba1697057
commit
ca05ee9d43
@ -7,4 +7,10 @@ config CMD_BOOTM
|
|||||||
help
|
help
|
||||||
Boot an application image from the memory.
|
Boot an application image from the memory.
|
||||||
|
|
||||||
|
config CMD_CRC32
|
||||||
|
bool "Enable crc32 command"
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
Compute CRC32.
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
@ -2,3 +2,4 @@ CONFIG_SPL=y
|
|||||||
CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1"
|
CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1"
|
||||||
+S:CONFIG_ARM=y
|
+S:CONFIG_ARM=y
|
||||||
+S:CONFIG_TARGET_KWB=y
|
+S:CONFIG_TARGET_KWB=y
|
||||||
|
# CONFIG_CMD_CRC32 is not set
|
||||||
|
@ -2,3 +2,4 @@ CONFIG_SPL=y
|
|||||||
CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,EMMC_BOOT"
|
CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,EMMC_BOOT"
|
||||||
+S:CONFIG_ARM=y
|
+S:CONFIG_ARM=y
|
||||||
+S:CONFIG_TARGET_TSERIES=y
|
+S:CONFIG_TARGET_TSERIES=y
|
||||||
|
# CONFIG_CMD_CRC32 is not set
|
||||||
|
@ -2,3 +2,4 @@ CONFIG_SPL=y
|
|||||||
CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,NAND"
|
CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,NAND"
|
||||||
+S:CONFIG_ARM=y
|
+S:CONFIG_ARM=y
|
||||||
+S:CONFIG_TARGET_TSERIES=y
|
+S:CONFIG_TARGET_TSERIES=y
|
||||||
|
# CONFIG_CMD_CRC32 is not set
|
||||||
|
@ -2,3 +2,4 @@ CONFIG_SPL=y
|
|||||||
CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,SPI_BOOT,EMMC_BOOT"
|
CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,SPI_BOOT,EMMC_BOOT"
|
||||||
+S:CONFIG_ARM=y
|
+S:CONFIG_ARM=y
|
||||||
+S:CONFIG_TARGET_TSERIES=y
|
+S:CONFIG_TARGET_TSERIES=y
|
||||||
|
# CONFIG_CMD_CRC32 is not set
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
CONFIG_SYS_EXTRA_OPTIONS="VCT_PLATINUM,VCT_ONENAND,VCT_SMALL_IMAGE"
|
CONFIG_SYS_EXTRA_OPTIONS="VCT_PLATINUM,VCT_ONENAND,VCT_SMALL_IMAGE"
|
||||||
CONFIG_MIPS=y
|
CONFIG_MIPS=y
|
||||||
CONFIG_TARGET_VCT=y
|
CONFIG_TARGET_VCT=y
|
||||||
|
# CONFIG_CMD_CRC32 is not set
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
CONFIG_SYS_EXTRA_OPTIONS="VCT_PLATINUM,VCT_SMALL_IMAGE"
|
CONFIG_SYS_EXTRA_OPTIONS="VCT_PLATINUM,VCT_SMALL_IMAGE"
|
||||||
CONFIG_MIPS=y
|
CONFIG_MIPS=y
|
||||||
CONFIG_TARGET_VCT=y
|
CONFIG_TARGET_VCT=y
|
||||||
|
# CONFIG_CMD_CRC32 is not set
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
CONFIG_SYS_EXTRA_OPTIONS="VCT_PLATINUMAVC,VCT_ONENAND,VCT_SMALL_IMAGE"
|
CONFIG_SYS_EXTRA_OPTIONS="VCT_PLATINUMAVC,VCT_ONENAND,VCT_SMALL_IMAGE"
|
||||||
CONFIG_MIPS=y
|
CONFIG_MIPS=y
|
||||||
CONFIG_TARGET_VCT=y
|
CONFIG_TARGET_VCT=y
|
||||||
|
# CONFIG_CMD_CRC32 is not set
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
CONFIG_SYS_EXTRA_OPTIONS="VCT_PLATINUMAVC,VCT_SMALL_IMAGE"
|
CONFIG_SYS_EXTRA_OPTIONS="VCT_PLATINUMAVC,VCT_SMALL_IMAGE"
|
||||||
CONFIG_MIPS=y
|
CONFIG_MIPS=y
|
||||||
CONFIG_TARGET_VCT=y
|
CONFIG_TARGET_VCT=y
|
||||||
|
# CONFIG_CMD_CRC32 is not set
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
CONFIG_SYS_EXTRA_OPTIONS="VCT_PREMIUM,VCT_ONENAND,VCT_SMALL_IMAGE"
|
CONFIG_SYS_EXTRA_OPTIONS="VCT_PREMIUM,VCT_ONENAND,VCT_SMALL_IMAGE"
|
||||||
CONFIG_MIPS=y
|
CONFIG_MIPS=y
|
||||||
CONFIG_TARGET_VCT=y
|
CONFIG_TARGET_VCT=y
|
||||||
|
# CONFIG_CMD_CRC32 is not set
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
CONFIG_SYS_EXTRA_OPTIONS="VCT_PREMIUM,VCT_SMALL_IMAGE"
|
CONFIG_SYS_EXTRA_OPTIONS="VCT_PREMIUM,VCT_SMALL_IMAGE"
|
||||||
CONFIG_MIPS=y
|
CONFIG_MIPS=y
|
||||||
CONFIG_TARGET_VCT=y
|
CONFIG_TARGET_VCT=y
|
||||||
|
# CONFIG_CMD_CRC32 is not set
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
#ifndef _CONFIG_CMD_DEFAULTS_H_
|
#ifndef _CONFIG_CMD_DEFAULTS_H_
|
||||||
#define _CONFIG_CMD_DEFAULTS_H_
|
#define _CONFIG_CMD_DEFAULTS_H_
|
||||||
|
|
||||||
#define CONFIG_CMD_CRC32 1
|
|
||||||
#define CONFIG_CMD_EXPORTENV 1
|
#define CONFIG_CMD_EXPORTENV 1
|
||||||
#define CONFIG_CMD_GO 1
|
#define CONFIG_CMD_GO 1
|
||||||
#define CONFIG_CMD_IMPORTENV 1
|
#define CONFIG_CMD_IMPORTENV 1
|
||||||
|
@ -151,7 +151,6 @@
|
|||||||
#undef CONFIG_CMD_NFS
|
#undef CONFIG_CMD_NFS
|
||||||
#undef CONFIG_CMD_SETGETDCR
|
#undef CONFIG_CMD_SETGETDCR
|
||||||
#undef CONFIG_CMD_XIMG
|
#undef CONFIG_CMD_XIMG
|
||||||
#undef CONFIG_CMD_CRC32
|
|
||||||
/* define command we need always */
|
/* define command we need always */
|
||||||
#define CONFIG_CMD_ECHO
|
#define CONFIG_CMD_ECHO
|
||||||
#define CONFIG_CMD_SOURCE
|
#define CONFIG_CMD_SOURCE
|
||||||
|
@ -89,7 +89,6 @@
|
|||||||
#undef CONFIG_BOOTM_RTEMS
|
#undef CONFIG_BOOTM_RTEMS
|
||||||
#undef CONFIG_GZIP
|
#undef CONFIG_GZIP
|
||||||
#undef CONFIG_ZLIB
|
#undef CONFIG_ZLIB
|
||||||
#undef CONFIG_CMD_CRC32
|
|
||||||
|
|
||||||
/* USB configuration */
|
/* USB configuration */
|
||||||
#define CONFIG_USB_MUSB_DSPS
|
#define CONFIG_USB_MUSB_DSPS
|
||||||
|
@ -296,7 +296,6 @@ int vct_gpio_get(int pin);
|
|||||||
#undef CONFIG_CMD_BEDBUG
|
#undef CONFIG_CMD_BEDBUG
|
||||||
#undef CONFIG_CMD_CACHE
|
#undef CONFIG_CMD_CACHE
|
||||||
#undef CONFIG_CMD_CONSOLE
|
#undef CONFIG_CMD_CONSOLE
|
||||||
#undef CONFIG_CMD_CRC32
|
|
||||||
#undef CONFIG_CMD_DHCP
|
#undef CONFIG_CMD_DHCP
|
||||||
#undef CONFIG_CMD_EEPROM
|
#undef CONFIG_CMD_EEPROM
|
||||||
#undef CONFIG_CMD_EEPROM
|
#undef CONFIG_CMD_EEPROM
|
||||||
|
Loading…
Reference in New Issue
Block a user