diff options
| author | Tom Rini <[email protected]> | 2026-03-25 13:00:24 -0600 |
|---|---|---|
| committer | Eugen Hristev <[email protected]> | 2026-05-01 10:00:13 +0300 |
| commit | 301bad079b15bdcdae1dc7c3f4f7b30cff15ba84 (patch) | |
| tree | 83d6b93229123f9c7b572f22295e8d14485845fc /board | |
| parent | 9f61fd5b80a43ae20ba115e3a2933d47d720ab82 (diff) | |
arm: at91: Drop unnecessary BOARD_EARLY_INIT_F usage
All of these platforms enable CONFIG_BOARD_EARLY_INIT_F and then have a
do-nothing board_early_init_f function. Change to not enabling the
option and so not needing an empty function.
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'board')
23 files changed, 0 insertions, 147 deletions
diff --git a/board/atmel/at91sam9260ek/at91sam9260ek.c b/board/atmel/at91sam9260ek/at91sam9260ek.c index 48aec652c4a..07fbafba433 100644 --- a/board/atmel/at91sam9260ek/at91sam9260ek.c +++ b/board/atmel/at91sam9260ek/at91sam9260ek.c @@ -71,13 +71,6 @@ void board_debug_uart_init(void) } #endif -#ifdef CONFIG_BOARD_EARLY_INIT_F -int board_early_init_f(void) -{ - return 0; -} -#endif - int board_init(void) { /* adress of boot parameters */ diff --git a/board/atmel/at91sam9261ek/at91sam9261ek.c b/board/atmel/at91sam9261ek/at91sam9261ek.c index 5d7a18379fa..eb5d98ad566 100644 --- a/board/atmel/at91sam9261ek/at91sam9261ek.c +++ b/board/atmel/at91sam9261ek/at91sam9261ek.c @@ -139,13 +139,6 @@ void board_debug_uart_init(void) } #endif -#ifdef CONFIG_BOARD_EARLY_INIT_F -int board_early_init_f(void) -{ - return 0; -} -#endif - int board_init(void) { #ifdef CONFIG_AT91SAM9G10EK diff --git a/board/atmel/at91sam9263ek/at91sam9263ek.c b/board/atmel/at91sam9263ek/at91sam9263ek.c index 2b0b01798ea..3b272e3ffa1 100644 --- a/board/atmel/at91sam9263ek/at91sam9263ek.c +++ b/board/atmel/at91sam9263ek/at91sam9263ek.c @@ -83,13 +83,6 @@ void board_debug_uart_init(void) } #endif -#ifdef CONFIG_BOARD_EARLY_INIT_F -int board_early_init_f(void) -{ - return 0; -} -#endif - int board_init(void) { /* arch number of AT91SAM9263EK-Board */ diff --git a/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c b/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c index d94904366ed..d07b5196bc3 100644 --- a/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c +++ b/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c @@ -155,13 +155,6 @@ void board_debug_uart_init(void) } #endif -#ifdef CONFIG_BOARD_EARLY_INIT_F -int board_early_init_f(void) -{ - return 0; -} -#endif - int board_init(void) { /* arch number of AT91SAM9M10G45EK-Board */ diff --git a/board/atmel/at91sam9n12ek/at91sam9n12ek.c b/board/atmel/at91sam9n12ek/at91sam9n12ek.c index 2cddc2175ac..6105e51c9ec 100644 --- a/board/atmel/at91sam9n12ek/at91sam9n12ek.c +++ b/board/atmel/at91sam9n12ek/at91sam9n12ek.c @@ -89,13 +89,6 @@ void board_debug_uart_init(void) } #endif -#ifdef CONFIG_BOARD_EARLY_INIT_F -int board_early_init_f(void) -{ - return 0; -} -#endif - int board_init(void) { /* adress of boot parameters */ diff --git a/board/atmel/at91sam9rlek/at91sam9rlek.c b/board/atmel/at91sam9rlek/at91sam9rlek.c index 214e917381e..d21dfea50f3 100644 --- a/board/atmel/at91sam9rlek/at91sam9rlek.c +++ b/board/atmel/at91sam9rlek/at91sam9rlek.c @@ -81,13 +81,6 @@ void board_debug_uart_init(void) } #endif -#ifdef CONFIG_BOARD_EARLY_INIT_F -int board_early_init_f(void) -{ - return 0; -} -#endif - int board_init(void) { /* arch number of AT91SAM9RLEK-Board */ diff --git a/board/atmel/at91sam9x5ek/at91sam9x5ek.c b/board/atmel/at91sam9x5ek/at91sam9x5ek.c index 3f41fb1c983..0cbb50a0621 100644 --- a/board/atmel/at91sam9x5ek/at91sam9x5ek.c +++ b/board/atmel/at91sam9x5ek/at91sam9x5ek.c @@ -102,13 +102,6 @@ void board_debug_uart_init(void) } #endif -#ifdef CONFIG_BOARD_EARLY_INIT_F -int board_early_init_f(void) -{ - return 0; -} -#endif - int board_init(void) { /* arch number of AT91SAM9X5EK-Board */ diff --git a/board/atmel/sam9x60_curiosity/sam9x60_curiosity.c b/board/atmel/sam9x60_curiosity/sam9x60_curiosity.c index 3393478e4c8..43797d625e9 100644 --- a/board/atmel/sam9x60_curiosity/sam9x60_curiosity.c +++ b/board/atmel/sam9x60_curiosity/sam9x60_curiosity.c @@ -51,11 +51,6 @@ void board_debug_uart_init(void) } #endif -int board_early_init_f(void) -{ - return 0; -} - #define MAC24AA_MAC_OFFSET 0xfa #ifdef CONFIG_MISC_INIT_R diff --git a/board/atmel/sam9x60ek/sam9x60ek.c b/board/atmel/sam9x60ek/sam9x60ek.c index 2e5073f02b3..64354e5b5fc 100644 --- a/board/atmel/sam9x60ek/sam9x60ek.c +++ b/board/atmel/sam9x60ek/sam9x60ek.c @@ -49,13 +49,6 @@ void board_debug_uart_init(void) } #endif -#ifdef CONFIG_BOARD_EARLY_INIT_F -int board_early_init_f(void) -{ - return 0; -} -#endif - #define MAC24AA_MAC_OFFSET 0xfa #ifdef CONFIG_MISC_INIT_R diff --git a/board/atmel/sam9x75_curiosity/sam9x75_curiosity.c b/board/atmel/sam9x75_curiosity/sam9x75_curiosity.c index 4e7c5667e21..364b6a3e24b 100644 --- a/board/atmel/sam9x75_curiosity/sam9x75_curiosity.c +++ b/board/atmel/sam9x75_curiosity/sam9x75_curiosity.c @@ -42,11 +42,6 @@ void board_debug_uart_init(void) } #endif -int board_early_init_f(void) -{ - return 0; -} - int board_init(void) { /* address of boot parameters */ diff --git a/board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c b/board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c index bf54fc33df4..858061bf9f9 100644 --- a/board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c +++ b/board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c @@ -61,13 +61,6 @@ void board_debug_uart_init(void) } #endif -#ifdef CONFIG_BOARD_EARLY_INIT_F -int board_early_init_f(void) -{ - return 0; -} -#endif - int board_init(void) { /* address of boot parameters */ diff --git a/board/atmel/sama5d27_wlsom1_ek/sama5d27_wlsom1_ek.c b/board/atmel/sama5d27_wlsom1_ek/sama5d27_wlsom1_ek.c index 897fab58eba..19341d325bd 100644 --- a/board/atmel/sama5d27_wlsom1_ek/sama5d27_wlsom1_ek.c +++ b/board/atmel/sama5d27_wlsom1_ek/sama5d27_wlsom1_ek.c @@ -55,13 +55,6 @@ void board_debug_uart_init(void) } #endif -#ifdef CONFIG_BOARD_EARLY_INIT_F -int board_early_init_f(void) -{ - return 0; -} -#endif - int board_init(void) { /* address of boot parameters */ diff --git a/board/atmel/sama5d2_icp/sama5d2_icp.c b/board/atmel/sama5d2_icp/sama5d2_icp.c index 113bd2feb62..d159ad6f4ca 100644 --- a/board/atmel/sama5d2_icp/sama5d2_icp.c +++ b/board/atmel/sama5d2_icp/sama5d2_icp.c @@ -46,11 +46,6 @@ void board_debug_uart_init(void) } #endif -int board_early_init_f(void) -{ - return 0; -} - int board_init(void) { /* address of boot parameters */ diff --git a/board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c b/board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c index 438829df82d..29fa88ff411 100644 --- a/board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c +++ b/board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c @@ -105,13 +105,6 @@ void board_debug_uart_init(void) } #endif -#ifdef CONFIG_BOARD_EARLY_INIT_F -int board_early_init_f(void) -{ - return 0; -} -#endif - int board_init(void) { /* address of boot parameters */ diff --git a/board/atmel/sama5d2_xplained/sama5d2_xplained.c b/board/atmel/sama5d2_xplained/sama5d2_xplained.c index eca5b2bf107..c0862f58606 100644 --- a/board/atmel/sama5d2_xplained/sama5d2_xplained.c +++ b/board/atmel/sama5d2_xplained/sama5d2_xplained.c @@ -60,13 +60,6 @@ void board_debug_uart_init(void) } #endif -#ifdef CONFIG_BOARD_EARLY_INIT_F -int board_early_init_f(void) -{ - return 0; -} -#endif - int board_init(void) { /* address of boot parameters */ diff --git a/board/atmel/sama5d3_xplained/sama5d3_xplained.c b/board/atmel/sama5d3_xplained/sama5d3_xplained.c index 7a813c19ff2..e12f2883cec 100644 --- a/board/atmel/sama5d3_xplained/sama5d3_xplained.c +++ b/board/atmel/sama5d3_xplained/sama5d3_xplained.c @@ -84,13 +84,6 @@ int board_late_init(void) } #endif -#ifdef CONFIG_BOARD_EARLY_INIT_F -int board_early_init_f(void) -{ - return 0; -} -#endif - int board_init(void) { /* adress of boot parameters */ diff --git a/board/atmel/sama5d3xek/sama5d3xek.c b/board/atmel/sama5d3xek/sama5d3xek.c index 555a8c0970b..405c9c50321 100644 --- a/board/atmel/sama5d3xek/sama5d3xek.c +++ b/board/atmel/sama5d3xek/sama5d3xek.c @@ -137,13 +137,6 @@ void board_debug_uart_init(void) } #endif -#ifdef CONFIG_BOARD_EARLY_INIT_F -int board_early_init_f(void) -{ - return 0; -} -#endif - int board_init(void) { /* adress of boot parameters */ diff --git a/board/atmel/sama5d4_xplained/sama5d4_xplained.c b/board/atmel/sama5d4_xplained/sama5d4_xplained.c index e296b0466aa..5894e7a654d 100644 --- a/board/atmel/sama5d4_xplained/sama5d4_xplained.c +++ b/board/atmel/sama5d4_xplained/sama5d4_xplained.c @@ -99,13 +99,6 @@ void board_debug_uart_init(void) } #endif -#ifdef CONFIG_BOARD_EARLY_INIT_F -int board_early_init_f(void) -{ - return 0; -} -#endif - #define AT24MAC_MAC_OFFSET 0x9a #ifdef CONFIG_MISC_INIT_R diff --git a/board/atmel/sama5d4ek/sama5d4ek.c b/board/atmel/sama5d4ek/sama5d4ek.c index e820605d3b9..7418369c5ba 100644 --- a/board/atmel/sama5d4ek/sama5d4ek.c +++ b/board/atmel/sama5d4ek/sama5d4ek.c @@ -97,13 +97,6 @@ void board_debug_uart_init(void) } #endif -#ifdef CONFIG_BOARD_EARLY_INIT_F -int board_early_init_f(void) -{ - return 0; -} -#endif - int board_init(void) { /* adress of boot parameters */ diff --git a/board/atmel/sama7d65_curiosity/sama7d65_curiosity.c b/board/atmel/sama7d65_curiosity/sama7d65_curiosity.c index 713b1b9d959..764c8f035c9 100644 --- a/board/atmel/sama7d65_curiosity/sama7d65_curiosity.c +++ b/board/atmel/sama7d65_curiosity/sama7d65_curiosity.c @@ -49,11 +49,6 @@ void board_debug_uart_init(void) } #endif -int board_early_init_f(void) -{ - return 0; -} - int board_init(void) { /* address of boot parameters */ diff --git a/board/atmel/sama7g5ek/sama7g5ek.c b/board/atmel/sama7g5ek/sama7g5ek.c index c07115a2119..5409ed2375d 100644 --- a/board/atmel/sama7g5ek/sama7g5ek.c +++ b/board/atmel/sama7g5ek/sama7g5ek.c @@ -46,11 +46,6 @@ void board_debug_uart_init(void) } #endif -int board_early_init_f(void) -{ - return 0; -} - #define MAC24AA_MAC_OFFSET 0xfa #if (IS_ENABLED(CONFIG_MISC_INIT_R)) diff --git a/board/ronetix/pm9261/pm9261.c b/board/ronetix/pm9261/pm9261.c index ee578749bce..1f78654b685 100644 --- a/board/ronetix/pm9261/pm9261.c +++ b/board/ronetix/pm9261/pm9261.c @@ -76,11 +76,6 @@ static void pm9261_nand_hw_init(void) } #endif -int board_early_init_f(void) -{ - return 0; -} - int board_init(void) { /* arch number of PM9261-Board */ diff --git a/board/ronetix/pm9263/pm9263.c b/board/ronetix/pm9263/pm9263.c index 8125f064cf1..cc58e0f3a38 100644 --- a/board/ronetix/pm9263/pm9263.c +++ b/board/ronetix/pm9263/pm9263.c @@ -70,11 +70,6 @@ static void pm9263_nand_hw_init(void) } #endif -int board_early_init_f(void) -{ - return 0; -} - int board_init(void) { /* arch number of PM9263 Board */ |
