From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.x-arc.de ([217.6.246.34] helo=root.phytec.de) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VCTey-0006Ca-Vv for barebox@lists.infradead.org; Thu, 22 Aug 2013 12:06:43 +0000 From: Shravan Kumar Date: Thu, 22 Aug 2013 14:05:37 +0200 Message-Id: <1377173137-27320-2-git-send-email-shravan.k@phytec.in> In-Reply-To: <1377173137-27320-1-git-send-email-shravan.k@phytec.in> References: <1377173137-27320-1-git-send-email-shravan.k@phytec.in> 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 2/2] PCM051: Added barebox update SPI NOR MLO handler To: barebox@lists.infradead.org Cc: shravan From: shravan Signed-off-by: shravan --- arch/arm/boards/pcm051/board.c | 3 +++ arch/arm/configs/pcm051_defconfig | 1 + 2 files changed, 4 insertions(+) diff --git a/arch/arm/boards/pcm051/board.c b/arch/arm/boards/pcm051/board.c index 35a3a25..8ce3953 100644 --- a/arch/arm/boards/pcm051/board.c +++ b/arch/arm/boards/pcm051/board.c @@ -39,6 +39,7 @@ #include #include #include +#include #include "mux.h" @@ -209,6 +210,8 @@ static int pcm051_devices_init(void) armlinux_set_bootparams((void *)(AM33XX_DRAM_ADDR_SPACE_START + 0x100)); armlinux_set_architecture(MACH_TYPE_PCM051); + omap_bbu_spi_nor_mlo_register_handler("MLO.spi", "/dev/m25p0.xload"); + return 0; } device_initcall(pcm051_devices_init); diff --git a/arch/arm/configs/pcm051_defconfig b/arch/arm/configs/pcm051_defconfig index 0bc7c90..13ddf07 100644 --- a/arch/arm/configs/pcm051_defconfig +++ b/arch/arm/configs/pcm051_defconfig @@ -1,5 +1,6 @@ CONFIG_ARCH_OMAP=y CONFIG_ARCH_AM33XX=y +CONFIG_BAREBOX_UPDATE_OMAP_SPI_NOR_MLO=y CONFIG_MACH_PCM051=y CONFIG_OMAP_UART1=y CONFIG_AEABI=y -- 1.7.9.5 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox