]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_MISC_INIT_F et al to Kconfig
authorTom Rini <trini@konsulko.com>
Mon, 8 Nov 2021 03:59:41 +0000 (22:59 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 12 Nov 2021 19:18:17 +0000 (14:18 -0500)
This converts the following to Kconfig:
   CONFIG_MISC_INIT_F
   CONFIG_MISC_INIT_R

Signed-off-by: Tom Rini <trini@konsulko.com>
configs/kmcent2_defconfig
configs/ls1088aqds_tfa_defconfig
configs/sama5d2_icp_mmc_defconfig
configs/sama5d2_icp_qspiflash_defconfig
configs/socfpga_secu1_defconfig
include/configs/kmcent2.h
include/configs/ls1088aqds.h
include/configs/sama5d2_icp.h
include/configs/socfpga_arria5_secu1.h

index 16ec0fadcfbff5d75163d04bd50e8a233957654c..d02782831ae97fe576fb66350f9cb10d548d9e69 100644 (file)
@@ -17,6 +17,7 @@ CONFIG_OF_STDOUT_VIA_ALIAS=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_BOARD_EARLY_INIT_R=y
 CONFIG_LAST_STAGE_INIT=y
+CONFIG_MISC_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_DM=y
 CONFIG_CMD_I2C=y
index 4f0bfa6c48c17500af848a595281efccc8c1bd1b..42c29f279d797eeee44e864b1a876097fb3cf2da 100644 (file)
@@ -27,6 +27,7 @@ CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21
 # CONFIG_USE_BOOTCOMMAND is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_MISC_INIT_R=y
 CONFIG_CMD_GREPENV=y
 CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS=5
 CONFIG_CMD_MEMINFO=y
index f821dcd26273fb44b5e5f9d9c26bf13a7d1d1370..2e699a71807faffe11afefe0425203055daaaaae 100644 (file)
@@ -30,6 +30,7 @@ CONFIG_BOOTDELAY=3
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rw rootwait"
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_MISC_INIT_R=y
 CONFIG_SPL_DISPLAY_PRINT=y
 # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
 CONFIG_SPL_RAM_SUPPORT=y
index 153c9e468263c74e6ff815b8f3a00770a70df9bf..7722a5e893764f35d690705053f0697803a411d2 100644 (file)
@@ -25,6 +25,7 @@ CONFIG_BOOTDELAY=3
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="console=ttyS0,115200 earlycon earlyprintk=serial,ttyS0, ignore_loglevel root=/dev/mmcblk0p2 memtest=0 rootfstype=ext4 rw rootwait"
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_MISC_INIT_R=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_CONFIG=y
 CONFIG_CMD_BOOTZ=y
index 7bcc8899914dfb0030828467950d8434e5e65a96..db4800684211b166db6d5e31811af4b5e1560558 100644 (file)
@@ -26,6 +26,7 @@ CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
 CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_MISC_INIT_R=y
 CONFIG_SPL_LEGACY_IMAGE_CRC_CHECK=y
 # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
 # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION is not set
index 8274dd349bfc437ab26782f91a3b25baf7eb7c72..4dbd53c38774130ec16aaf9a88176af4cc3e507d 100644 (file)
 #define CONFIG_SYS_CS2_FTIM2   SYS_QRIO_FTIM2
 #define CONFIG_SYS_CS2_FTIM3   SYS_QRIO_FTIM3
 
-#define CONFIG_MISC_INIT_F
 #define CONFIG_HWCONFIG
 
 /* define to use L1 as initial stack */
index 8923e32957705a49a4bbd44b1ef2949cbf90c244..9b26fbc354e42e299983edccfae032cc6c7b01ae 100644 (file)
 unsigned long get_board_sys_clk(void);
 #endif
 
-#ifdef CONFIG_TFABOOT
-#define CONFIG_MISC_INIT_R
-#endif
-
 #if defined(CONFIG_QSPI_BOOT) || defined(CONFIG_SD_BOOT_QSPI)
 #define CONFIG_QIXIS_I2C_ACCESS
 #define SYS_NO_FLASH
index e7ccfeaef74c5f580948e3f12ba9293a8347eff1..53113f037993904d552614b564ee319fee054a67 100644 (file)
@@ -14,8 +14,6 @@
 #undef CONFIG_SYS_AT91_MAIN_CLOCK
 #define CONFIG_SYS_AT91_MAIN_CLOCK      12000000 /* from 12 MHz crystal */
 
-#define CONFIG_MISC_INIT_R
-
 /* SDRAM */
 #define CONFIG_SYS_SDRAM_BASE          0x20000000
 #define CONFIG_SYS_SDRAM_SIZE          0x20000000
index fc1d451b8f8e87186d1f9bb9097070f7c182eaf1..21e70c282a7ed9b1efe3e3cca0d5065a0381c700 100644 (file)
@@ -9,9 +9,6 @@
 #include <asm/arch/base_addr_ac5.h>
 #include <linux/stringify.h>
 
-/* Call misc_init_r */
-#define CONFIG_MISC_INIT_R
-
 #define CONFIG_HUSH_INIT_VAR
 /* Eternal oscillator */
 #define CONFIG_SYS_TIMER_RATE  40000000