]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
tqma6: Remove empty function tqma6_iomuxc_spi()
authorMax Merchel <Max.Merchel@ew.tq-group.com>
Mon, 24 Nov 2025 07:55:23 +0000 (08:55 +0100)
committerFabio Estevam <festevam@nabladev.com>
Sat, 29 Nov 2025 20:06:43 +0000 (17:06 -0300)
The function `tqma6_iomuxc_spi()` was removed in the commit
"tqma6: Remove non-DM board code".
The original function was overwritten with an empty function in the
WRU4 baseboard and should also have been removed.
Therefore, the function and its call are being removed.

Fixes: 93552cc442de ("tqma6: Remove non-DM board code")
Signed-off-by: Max Merchel <Max.Merchel@ew.tq-group.com>
board/tq/tqma6/tqma6.c
board/tq/tqma6/tqma6_wru4.c

index 40369f03e72a6070bc40ae62374cdd267771b142..a7317b9e761a9803512b052f0d68615b5231972f 100644 (file)
@@ -48,9 +48,6 @@ int board_init(void)
        /* address of boot parameters */
        gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
 
-#ifndef CONFIG_DM_SPI
-       tqma6_iomuxc_spi();
-#endif
        tqma6_bb_board_init();
 
        return 0;
index 21c710188e091928cf3e169a8ae46482677d7d80..aa53212e0e87201b934d3b4ad7f7fa6d30c82c27 100644 (file)
@@ -254,11 +254,6 @@ static void gpio_init(void)
                gpio_direction_output(GPIO_UART3_PWRON, 0);
 }
 
-void tqma6_iomuxc_spi(void)
-{
-       /* No SPI on this baseboard */
-}
-
 int tqma6_bb_board_early_init_f(void)
 {
        setup_iomuxc_uart4();