[PATCH] board: pm926x: remove unused CONFIG_SYS_AT91_CPU_NAME

Eugen Hristev eugen.hristev at microchip.com
Tue Aug 24 15:02:33 CEST 2021


CONFIG_SYS_AT91_CPU_NAME looks to be unused.
Remove it and remove it from config_whitelist.txt

Signed-off-by: Eugen Hristev <eugen.hristev at microchip.com>
---
 include/configs/pm9261.h     | 2 --
 include/configs/pm9263.h     | 2 --
 scripts/config_whitelist.txt | 1 -
 3 files changed, 5 deletions(-)

diff --git a/include/configs/pm9261.h b/include/configs/pm9261.h
index 382d19a241..309eb59a6e 100644
--- a/include/configs/pm9261.h
+++ b/include/configs/pm9261.h
@@ -25,8 +25,6 @@
 #define CONFIG_SYS_AT91_SLOW_CLOCK	32768		/* slow clock xtal */
 #define CONFIG_SYS_AT91_MAIN_CLOCK	18432000
 
-#define CONFIG_SYS_AT91_CPU_NAME	"AT91SAM9261"
-
 #define CONFIG_MACH_TYPE	MACH_TYPE_PM9261
 
 /* clocks */
diff --git a/include/configs/pm9263.h b/include/configs/pm9263.h
index e825270de8..547c350884 100644
--- a/include/configs/pm9263.h
+++ b/include/configs/pm9263.h
@@ -25,8 +25,6 @@
 #define CONFIG_SYS_AT91_MAIN_CLOCK	18432000
 #define CONFIG_SYS_AT91_SLOW_CLOCK	32768		/* slow clock xtal */
 
-#define CONFIG_SYS_AT91_CPU_NAME	"AT91SAM9263"
-
 #define CONFIG_MACH_TYPE	MACH_TYPE_PM9263
 
 /* clocks */
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 042ca116e9..0781fe406b 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -1470,7 +1470,6 @@ CONFIG_SYS_AMASK4
 CONFIG_SYS_AMASK5
 CONFIG_SYS_AMASK6
 CONFIG_SYS_AMASK7
-CONFIG_SYS_AT91_CPU_NAME
 CONFIG_SYS_AT91_MAIN_CLOCK
 CONFIG_SYS_AT91_PLLA
 CONFIG_SYS_AT91_PLLB
-- 
2.25.1



More information about the U-Boot mailing list