From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.tricorecenter.de ([217.6.246.34] helo=root.phytec.de) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZX1hy-0008Fg-QK for barebox@lists.infradead.org; Wed, 02 Sep 2015 06:39:47 +0000 Received: from idefix.phytec.de (idefix.phytec.de [172.16.0.10]) by root.phytec.de (Postfix) with ESMTP id 48228A00259 for ; Wed, 2 Sep 2015 08:41:26 +0200 (CEST) From: Daniel Schultz Date: Wed, 2 Sep 2015 08:36:57 +0200 Message-Id: <1441175817-37597-2-git-send-email-d.schultz@phytec.de> In-Reply-To: <1441175817-37597-1-git-send-email-d.schultz@phytec.de> References: <1441175817-37597-1-git-send-email-d.schultz@phytec.de> 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] ARM: am335x: Register eMMC MLO handler To: barebox@lists.infradead.org Register the eMMC MLO handler to the barebox_update command. Signed-off-by: Daniel Schultz --- arch/arm/boards/beaglebone/board.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boards/beaglebone/board.c b/arch/arm/boards/beaglebone/board.c index 4e0e374..5717c45 100644 --- a/arch/arm/boards/beaglebone/board.c +++ b/arch/arm/boards/beaglebone/board.c @@ -38,6 +38,7 @@ #include #include #include +#include #include "beaglebone.h" @@ -92,6 +93,9 @@ static int beaglebone_devices_init(void) armlinux_set_architecture(MACH_TYPE_BEAGLEBONE); + /* Register update handler */ + am33xx_bbu_emmc_mlo_register_handler("MLO.emmc", "/dev/mmc1"); + if (IS_ENABLED(CONFIG_SHELL_NONE)) return am33xx_of_register_bootdevice(); -- 1.9.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox