From patchwork Sat Apr 1 15:15:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ladislav Michl X-Patchwork-Id: 746025 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3vwMPQ2pMzz9s03 for ; Sun, 2 Apr 2017 02:15:22 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 0089AC21C48; Sat, 1 Apr 2017 15:15:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 83D19C21C42; Sat, 1 Apr 2017 15:15:07 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id B269CC21C4B; Sat, 1 Apr 2017 15:15:05 +0000 (UTC) Received: from cvs.linux-mips.org (eddie.linux-mips.org [148.251.95.138]) by lists.denx.de (Postfix) with ESMTP id 15AFEC21C60 for ; Sat, 1 Apr 2017 15:15:05 +0000 (UTC) Received: (from localhost user: 'ladis' uid#1021 fake: STDIN (ladis@eddie.linux-mips.org)) by eddie.linux-mips.org id S23990506AbdDAPPE5jP1D (ORCPT ); Sat, 1 Apr 2017 17:15:04 +0200 Date: Sat, 1 Apr 2017 17:15:04 +0200 From: Ladislav Michl To: u-boot@lists.denx.de Message-ID: <20170401151503.g5tp25ks5j726jeq@lenoch> References: <20170401151326.4d3ijtffy744rwaz@lenoch> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20170401151326.4d3ijtffy744rwaz@lenoch> User-Agent: NeoMutt/20170113 (1.7.2) Cc: Pau Pajuelo Subject: [U-Boot] [PATCH 2/7] ARM: am33xx: define BOOT_DEVICE_ONENAND X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" am33xx does not support OneNAND, but we need this define anyway to let UBI SPL code compile. Signed-off-by: Ladislav Michl Tested-by: Pau Pajuelo --- arch/arm/include/asm/arch-am33xx/spl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/arch-am33xx/spl.h b/arch/arm/include/asm/arch-am33xx/spl.h index 9df7b4ac45..4b5a48edd8 100644 --- a/arch/arm/include/asm/arch-am33xx/spl.h +++ b/arch/arm/include/asm/arch-am33xx/spl.h @@ -47,6 +47,7 @@ #define BOOT_DEVICE_UART 0x41 #define BOOT_DEVICE_USBETH 0x44 #define BOOT_DEVICE_CPGMAC 0x46 +#define BOOT_DEVICE_ONENAND 0xFF /* ROM does not support OneNAND. */ #define MMC_BOOT_DEVICES_START BOOT_DEVICE_MMC1 #define MMC_BOOT_DEVICES_END BOOT_DEVICE_MMC2