From patchwork Tue Dec 6 13:48:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 86838 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp2022841qgi; Tue, 6 Dec 2016 05:49:33 -0800 (PST) X-Received: by 10.194.133.169 with SMTP id pd9mr53057675wjb.199.1481032172915; Tue, 06 Dec 2016 05:49:32 -0800 (PST) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id c5si19751948wjx.186.2016.12.06.05.49.32; Tue, 06 Dec 2016 05:49:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C4B6AA75AC; Tue, 6 Dec 2016 14:49:10 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HDCPe4YRb_4f; Tue, 6 Dec 2016 14:49:10 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 07B78A7599; Tue, 6 Dec 2016 14:49:00 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1A798A75AB for ; Tue, 6 Dec 2016 14:48:54 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yQGn4rnBDeb7 for ; Tue, 6 Dec 2016 14:48:53 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by theia.denx.de (Postfix) with ESMTPS id 16638A7573 for ; Tue, 6 Dec 2016 14:48:50 +0100 (CET) Received: by mail-wm0-f46.google.com with SMTP id t79so126249945wmt.0 for ; Tue, 06 Dec 2016 05:48:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=oIbx5ImMD/CUIbk7yyPVzlAosCirbpiYa8GDXT+sxyA=; b=Asw5xjRwqgHNa4ltaJE/GYXtZsfyIygZ0AI8JNOS98dwvPVoIZDDDUtsgREEzs5x89 KTFLZ3abhI0eDe6r4F8C/2QL/ImlOt+ns9BK/YbcTtwQZ0bok5lf1SzhGJic88n33FcL 35sAIXkY4344yVW1IxQqvUclCT2pMdZdK2gkEGF7HsGudwV+A9IyFoKviIkBzfVUAFAk O4i4I72afMGm4hSK7m2srjZc59sd6zCS+GABUodRCJdW4ECrAYTnKxx0QRNE6XbdCPff R0q7D0rkKxu615YSjMD9ux1WZuh8iNhriyT0+jMvoBTTqnQbdlo2kOi+WSnERc5VT9Se OB8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=oIbx5ImMD/CUIbk7yyPVzlAosCirbpiYa8GDXT+sxyA=; b=bQW8D3/CuTZSQWz7jmj+cv26FGqRHBVq/IBQd7cZX5GhovyP6994fz1ipIBuRfqMdk H78oTZJYFYUOV+K5i+O3KropwLbskHHexf0OOS7PwRzYFIVgg3YLNm4Hj2HwGX/Wih2z cHyNL76ALRwzGd/4wupErFPB9Z9LTVsmepNdfuWjEvR9zZFUQXBW+8MAZMULbczyvX90 Rbt3gtZvbbCPt2GQpNwsiAT4G6tnBlr43Jo7R4dGApU2a4BfWXf2B++LT9Rp+9jGgs4w oDpSGxTjbrLF7GbdA2FiuILcvCkXOb1vzK6GnBaVzlA8/QyP0QmbhgHl04+FLLyftVIM VR6g== X-Gm-Message-State: AKaTC01fP4iRSIGq/5fIFAkPtHHhJeveW8plM7TpCmmEhrs+Lidhd5CCFGa9qieIruGXxk8D X-Received: by 10.28.6.203 with SMTP id 194mr2732666wmg.16.1481032129559; Tue, 06 Dec 2016 05:48:49 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id c81sm4084080wmf.22.2016.12.06.05.48.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Dec 2016 05:48:48 -0800 (PST) From: Fabien Parent To: u-boot@lists.denx.de Date: Tue, 6 Dec 2016 14:48:30 +0100 Message-Id: <20161206134830.22130-4-fparent@baylibre.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20161206134830.22130-1-fparent@baylibre.com> References: <20161206134830.22130-1-fparent@baylibre.com> Cc: Tom Rini Subject: [U-Boot] [PATCH 3/3] davinci: omapl138_lcdk: use new CONFIG_SPL_*_LOAD Kconfig options X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Instead of defining ourself the config options in the config header, let's use the new Kconfig options for it. Signed-off-by: Fabien Parent --- configs/omapl138_lcdk_defconfig | 1 + include/configs/omapl138_lcdk.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) -- 2.11.0 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig index 52681c92d0..7199d90ae9 100644 --- a/configs/omapl138_lcdk_defconfig +++ b/configs/omapl138_lcdk_defconfig @@ -11,6 +11,7 @@ CONFIG_VERSION_VARIABLE=y # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_SPL=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xb5 +CONFIG_SPL_SELECT_BOOT_MEDIA=y CONFIG_HUSH_PARSER=y CONFIG_SYS_PROMPT="U-Boot > " # CONFIG_CMD_IMLS is not set diff --git a/include/configs/omapl138_lcdk.h b/include/configs/omapl138_lcdk.h index 7c2f4141c9..f0b786f394 100644 --- a/include/configs/omapl138_lcdk.h +++ b/include/configs/omapl138_lcdk.h @@ -138,7 +138,6 @@ #define CONFIG_ENV_SPI_MAX_HZ CONFIG_SF_DEFAULT_SPEED #ifdef CONFIG_USE_SPIFLASH -#define CONFIG_SPL_SPI_LOAD #define CONFIG_SYS_SPI_U_BOOT_OFFS 0x8000 #define CONFIG_SYS_SPI_U_BOOT_SIZE 0x30000 #endif @@ -198,7 +197,6 @@ #define CONFIG_SPL_NAND_DRIVERS #define CONFIG_SPL_NAND_ECC #define CONFIG_SPL_NAND_SIMPLE -#define CONFIG_SPL_NAND_LOAD #endif #ifdef CONFIG_SYS_USE_NOR