From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cr2jH-0005EY-GT for barebox@lists.infradead.org; Thu, 23 Mar 2017 13:24:43 +0000 Received: by mail-pg0-x244.google.com with SMTP id 81so28193796pgh.3 for ; Thu, 23 Mar 2017 06:24:19 -0700 (PDT) From: Andrey Smirnov Date: Thu, 23 Mar 2017 06:23:49 -0700 Message-Id: <20170323132358.8539-6-andrew.smirnov@gmail.com> In-Reply-To: <20170323132358.8539-1-andrew.smirnov@gmail.com> References: <20170323132358.8539-1-andrew.smirnov@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 05/14] at91sam9x5ek: Remove at91sam9x5ek_mem_init() To: barebox@lists.infradead.org Cc: Andrey Smirnov RAM device is created based on OF data now, so there's no need to call this function. Signed-off-by: Andrey Smirnov --- 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 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox