From 26680b9f3a874c0f7010cb239db0c6fa76d9a400 Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Sat, 13 Apr 2019 20:35:23 +1200 Subject: sysreset: select DM_GPIO instead of GPIO CONFIG_GPIO does not exist. sysreset_gpio.c uses the DM gpio APIs so the correct option to select is DM_GPIO. Reported-by: Robert P. J. Day Signed-off-by: Chris Packham Reviewed-by: Simon Glass --- drivers/sysreset/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/sysreset/Kconfig b/drivers/sysreset/Kconfig index d456f0ce36b..30aed2c4c15 100644 --- a/drivers/sysreset/Kconfig +++ b/drivers/sysreset/Kconfig @@ -35,7 +35,7 @@ if SYSRESET config SYSRESET_GPIO bool "Enable support for GPIO reset driver" - select GPIO + select DM_GPIO help Reset support via GPIO pin connected reset logic. This is used for example on Microblaze where reset logic can be controlled via GPIO -- cgit v1.3.1 From b8de00c6712b40e3f6ef85fa1c3a06e8d3efa254 Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Sat, 13 Apr 2019 20:35:24 +1200 Subject: Remove whitelist entry for CONFIG_GPIO CONFIG_GPIO does not exist. There is one hit for it in tegra_gpio.c but it is a variable name. Signed-off-by: Chris Packham Reviewed-by: Simon Glass --- scripts/config_whitelist.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 995811ce993..67e27e4ee90 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -708,7 +708,6 @@ CONFIG_GLOBAL_TIMER CONFIG_GMII CONFIG_GOOD_SESH4 CONFIG_GPCNTRL -CONFIG_GPIO CONFIG_GPIO_ENABLE_SPI_FLASH CONFIG_GPIO_LED_INVERTED_TABLE CONFIG_GPIO_LED_STUBS -- cgit v1.3.1 From 2b841dba5ccea242fce12d5a3142042138c5a23a Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Sat, 13 Apr 2019 21:13:56 +1200 Subject: cmd: ubifs: Remove select for non-existent option There is no 'config CRC32', remove the select that was attempting to use it. Reported-by: Robert P. J. Day Signed-off-by: Chris Packham Reviewed-by: Heiko Schocher --- cmd/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmd/Kconfig b/cmd/Kconfig index 4e11e0f404c..fd1beb06849 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1933,7 +1933,6 @@ endmenu config CMD_UBI tristate "Enable UBI - Unsorted block images commands" - select CRC32 select MTD_UBI help UBI is a software layer above MTD layer which admits use of LVM-like @@ -1949,7 +1948,6 @@ config CMD_UBIFS tristate "Enable UBIFS - Unsorted block images filesystem commands" depends on CMD_UBI default y if CMD_UBI - select CRC32 select LZO help UBIFS is a file system for flash devices which works on top of UBI. -- cgit v1.3.1 From 661bbc50d3274ddc86245b8cd4a552956ccaffdf Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Sat, 13 Apr 2019 21:13:57 +1200 Subject: mtd: ubi: Remove select for non existent option There is no 'config CRC32' remove the select that was attempting to use it. Reported-by: Robert P. J. Day Signed-off-by: Chris Packham Reviewed-by: Heiko Schocher --- drivers/mtd/ubi/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mtd/ubi/Kconfig b/drivers/mtd/ubi/Kconfig index cf847833562..2b17eae9470 100644 --- a/drivers/mtd/ubi/Kconfig +++ b/drivers/mtd/ubi/Kconfig @@ -9,7 +9,6 @@ config CONFIG_UBI_SILENCE_MSG config MTD_UBI bool "Enable UBI - Unsorted block images" - select CRC32 select RBTREE select MTD_PARTITIONS help -- cgit v1.3.1 From 4ad2c8953d456814ac33e26b6a3193dc4002ac4b Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Sat, 13 Apr 2019 21:13:58 +1200 Subject: Remove #define CONFIG_CRC32 There is no check for CONFIG_CRC32 so the #define in image.h does nothing. Remove it. Reported-by: Robert P. J. Day Signed-off-by: Chris Packham Reviewed-by: Stefano Babic Reviewed-by: Heiko Schocher --- include/image.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/image.h b/include/image.h index 54f2b58ac52..bfe4e0b5e7a 100644 --- a/include/image.h +++ b/include/image.h @@ -68,7 +68,6 @@ struct fdt_region; # define IMAGE_ENABLE_SHA1 1 # endif # else -# define CONFIG_CRC32 /* FIT images need CRC32 support */ # define IMAGE_ENABLE_CRC32 1 # define IMAGE_ENABLE_MD5 1 # define IMAGE_ENABLE_SHA1 1 -- cgit v1.3.1 From 48372a5af600b1b828d6e7affe3aaa74c78e8731 Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Sat, 13 Apr 2019 21:13:59 +1200 Subject: Remove whitelist entry for CONFIG_CRC32 There are no longer any references to this in the code so this can be removed. Signed-off-by: Chris Packham Reviewed-by: Heiko Schocher --- scripts/config_whitelist.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 67e27e4ee90..93f56434687 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -288,7 +288,6 @@ CONFIG_CPU_SH7780 CONFIG_CPU_TYPE_R CONFIG_CPU_VR41XX CONFIG_CQSPI_REF_CLK -CONFIG_CRC32 CONFIG_CS8900_BUS16 CONFIG_CS8900_BUS32 CONFIG_CSF_SIZE -- cgit v1.3.1