From patchwork Tue Nov 22 17:13:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 83458 Delivered-To: patch@linaro.org Received: by 10.182.1.168 with SMTP id 8csp2263417obn; Tue, 22 Nov 2016 09:14:59 -0800 (PST) X-Received: by 10.28.40.67 with SMTP id o64mr3198896wmo.40.1479834899786; Tue, 22 Nov 2016 09:14:59 -0800 (PST) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id h14si3521106wmg.22.2016.11.22.09.14.59; Tue, 22 Nov 2016 09:14:59 -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 96237A763B; Tue, 22 Nov 2016 18:14:19 +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 2s8IieLqRgBH; Tue, 22 Nov 2016 18:14:19 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1A725B382F; Tue, 22 Nov 2016 18:14:00 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A1CD7A75A7 for ; Tue, 22 Nov 2016 18:13:50 +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 yIm0_ILumCot for ; Tue, 22 Nov 2016 18:13:50 +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-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by theia.denx.de (Postfix) with ESMTPS id 41319A75C3 for ; Tue, 22 Nov 2016 18:13:40 +0100 (CET) Received: by mail-wm0-f42.google.com with SMTP id g23so36012464wme.1 for ; Tue, 22 Nov 2016 09:13:40 -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=XkiV8drFE4e5oL+JmqHPIRc6/Ojwp5NkRGBAI4V8rG8=; b=R3cWtnVSeXlVe6fW3tzf4+SD6gY+ox0HU7C6t5WbHdcXZ+Qjhz0LN/kXwiO+Ni+HHP OK9C70UuRHJ94l99g/ph+HAlqKrLV5WOAtBTvNPe7Kegl/qN1cIURQfWUKXE6l6PTDW2 1KlSCBB7zypK/3zXFWtzZJZ08pBYaJ/nPK+dAVeMyTjo3OFTYqOtLqXXB5+6TyFMPj1I LSv9h03deLcWwR7ZTiGv7yELxRlINf37KcFbmYhZycCgBp1B2Pepr2du5mwhaY24/c5Z O50nn3E6KBpHpftwy31bbjLO6w54bij5FGlyjI+fpJMfLQ2D8nCwGRHfbWf9FxfqXC0x 89Ng== 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=XkiV8drFE4e5oL+JmqHPIRc6/Ojwp5NkRGBAI4V8rG8=; b=gLtGbii6cXewCQyZK7FOTBtFGLpibTS+p+eGncUiA0ZYLLTt4fdITLnDoDExcGRpon I3e619yxWh3qCDNcaukQYCbPXjZhWQWkv+wuz/NMM/1P7hbWCvzfZq25hAOl+2tQKRp4 pvyFQRshs0l7FrX7B/rV3MITVe3h7DG4t0aCmtxyBGFrn0YiwLDiU4lQYhzVLt4aVYRB CmSRE3FpjEUqxE6EptC9b56Ex2N62k5yE/QBrn1MIWHjVZ9V8Bc+cAmGGC0VjFnUe6F/ ie3NKvcymTayPI7XEd1gh04PKdIM1ky4wUAHJtjHq/xIDGwlF/rkmH0qMLlHP3uNmqIa CJZQ== X-Gm-Message-State: AKaTC02u9AWiCXHKENq2Ekb3obf1ljiqoIapCXjrvve+paqmmZ0N/23BMA+7ONF3L+KIebUt X-Received: by 10.28.45.142 with SMTP id t136mr3638060wmt.110.1479834820017; Tue, 22 Nov 2016 09:13:40 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id j1sm31908898wjm.26.2016.11.22.09.13.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Nov 2016 09:13:39 -0800 (PST) From: Fabien Parent To: u-boot@lists.denx.de Date: Tue, 22 Nov 2016 18:13:33 +0100 Message-Id: <20161122171333.30192-5-fparent@baylibre.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20161122171333.30192-1-fparent@baylibre.com> References: <20161122171333.30192-1-fparent@baylibre.com> Cc: Tom Rini Subject: [U-Boot] [PATCH v2 4/4] davinci: omapl138_lcdk: add u-boot sector for mmc/sd boot 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" Set the correct CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR value in order to be able to boot from MMC/SD. The SPL is stored at sector 0x75, while u-boot will follow at sector 0xb5. Signed-off-by: Fabien Parent --- v1 -> v2 * Rebased on Sam's patches, i.e. use new Kconfig option instead of setting the value inside the config header file --- configs/omapl138_lcdk_defconfig | 1 + 1 file changed, 1 insertion(+) -- 2.10.2 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot Reviewed-by: Tom Rini diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig index bcd1acb..4a5f435 100644 --- a/configs/omapl138_lcdk_defconfig +++ b/configs/omapl138_lcdk_defconfig @@ -9,6 +9,7 @@ CONFIG_VERSION_VARIABLE=y # CONFIG_DISPLAY_CPUINFO is not set # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_SPL=y +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xb5 CONFIG_HUSH_PARSER=y CONFIG_SYS_PROMPT="U-Boot > " # CONFIG_CMD_IMLS is not set