[PATCH 05/14] at91sam9x5ek: Remove at91sam9x5ek_mem_init()
Andrey Smirnov
andrew.smirnov at gmail.com
Thu Mar 23 06:23:49 PDT 2017
RAM device is created based on OF data now, so there's no need to call
this function.
Signed-off-by: Andrey Smirnov <andrew.smirnov at gmail.com>
---
arch/arm/boards/at91sam9x5ek/init.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/arch/arm/boards/at91sam9x5ek/init.c b/arch/arm/boards/at91sam9x5ek/init.c
index 796ae84..068897a 100644
--- a/arch/arm/boards/at91sam9x5ek/init.c
+++ b/arch/arm/boards/at91sam9x5ek/init.c
@@ -286,14 +286,6 @@ static void __init ek_add_led(void)
led_set_trigger(LED_TRIGGER_HEARTBEAT, &leds[1].led);
}
-static int at91sam9x5ek_mem_init(void)
-{
- at91_add_device_sdram(0);
-
- return 0;
-}
-mem_initcall(at91sam9x5ek_mem_init);
-
static void ek_add_device_w1(void)
{
at91_set_gpio_input(w1_pdata.pin, 0);
--
2.9.3
More information about the barebox
mailing list