]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
atmel: Remove CONFIG_AT91SAM9G45EKES
authorTom Rini <trini@konsulko.com>
Sat, 12 Mar 2022 04:07:33 +0000 (23:07 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 18 Mar 2022 16:48:17 +0000 (12:48 -0400)
This symbol is used only once, and in comparison with an unset symbol,
so drop it.

Cc: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c
include/configs/at91sam9m10g45ek.h

index 8cb2808e058afa63085449f864b7669a25708b0d..b1462b3e3ebd81ad66956d0694956c67c2d15fc5 100644 (file)
@@ -267,11 +267,7 @@ int board_early_init_f(void)
 int board_init(void)
 {
        /* arch number of AT91SAM9M10G45EK-Board */
-#ifdef CONFIG_AT91SAM9M10G45EK
        gd->bd->bi_arch_number = MACH_TYPE_AT91SAM9M10G45EK;
-#elif defined CONFIG_AT91SAM9G45EKES
-       gd->bd->bi_arch_number = MACH_TYPE_AT91SAM9G45EKES;
-#endif
 
        /* adress of boot parameters */
        gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
index a6f0844443d0972eaae977a27617aa182a24eef8..2616ca68eb5fd892aaae24a5735c76eb888cdecb 100644 (file)
@@ -16,8 +16,6 @@
 #define CONFIG_SYS_AT91_SLOW_CLOCK      32768
 #define CONFIG_SYS_AT91_MAIN_CLOCK      12000000 /* from 12 MHz crystal */
 
-#define CONFIG_AT91SAM9M10G45EK
-
 /* general purpose I/O */
 #define CONFIG_ATMEL_LEGACY            /* required until (g)pio is fixed */