From patchwork Mon Sep 29 10:24:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Campbell X-Patchwork-Id: 38068 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 39B95202DB for ; Mon, 29 Sep 2014 10:24:50 +0000 (UTC) Received: by mail-wg0-f72.google.com with SMTP id k14sf6375056wgh.11 for ; Mon, 29 Sep 2014 03:24:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:mime-version:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=47gY/izwLPp9ndGZWmDemLE9UN0glklpmHkUhk7gf/s=; b=lpIz9f6Xwpb15HpB4xExWi8ww7vsuDcPJV+TGjlGUU5+1Azn+82sUw+3SPfubay//z jHy8w9z4LDO4GdeVST5FVtNVd0zq1CGGrp7PxVsCFBBI0ujh/XTtVx1FrOHnTm9w+bFV MSwhdnD56OKGgyMB/r+YryFFE8IChyF0AbzaalBg8n2AJkXhcpZ/92Yabjn947QCq+65 b6+zoWUmHcjLKWL/6v51iY54uxBDhpoETO/OhvjFXmXd83zY9XIeyxu9dxXrqeI7nK5a lsMxUdCm1Kh+2ibfts8wgFJ9tK0UFDDJNQmLcvwoRVeB1D+Bvh3vOXK+McslL7RogjPl Fc7g== X-Gm-Message-State: ALoCoQlD6cdDGbybfaP6c54bJXcfavl1gn8Qu3Fv7NzqE54WoNaIl4JXjIIFonme6Fgk2d1UJUKo X-Received: by 10.180.76.230 with SMTP id n6mr8507231wiw.0.1411986289371; Mon, 29 Sep 2014 03:24:49 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.27.2 with SMTP id p2ls617289lag.10.gmail; Mon, 29 Sep 2014 03:24:48 -0700 (PDT) X-Received: by 10.152.4.194 with SMTP id m2mr38877365lam.63.1411986288891; Mon, 29 Sep 2014 03:24:48 -0700 (PDT) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx.google.com with ESMTPS id cy2si17776651lac.26.2014.09.29.03.24.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Sep 2014 03:24:48 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) client-ip=209.85.217.182; Received: by mail-lb0-f182.google.com with SMTP id z11so5900417lbi.27 for ; Mon, 29 Sep 2014 03:24:48 -0700 (PDT) X-Received: by 10.152.88.16 with SMTP id bc16mr18580678lab.56.1411986288816; Mon, 29 Sep 2014 03:24:48 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.130.169 with SMTP id of9csp147701lbb; Mon, 29 Sep 2014 03:24:48 -0700 (PDT) X-Received: by 10.181.11.133 with SMTP id ei5mr46590101wid.9.1411986288143; Mon, 29 Sep 2014 03:24:48 -0700 (PDT) Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id v13si11797082wie.98.2014.09.29.03.24.47 for ; Mon, 29 Sep 2014 03:24:48 -0700 (PDT) Received-SPF: none (google.com: u-boot-bounces@lists.denx.de does not designate permitted sender hosts) client-ip=85.214.87.163; Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 970B8A73F5; Mon, 29 Sep 2014 12:24:46 +0200 (CEST) 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 AdNmmNGtyUNa; Mon, 29 Sep 2014 12:24:46 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 843FDA73EF; Mon, 29 Sep 2014 12:24:45 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E47A0A73EF for ; Mon, 29 Sep 2014 12:24:40 +0200 (CEST) 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 XBeoAmwbRrDH for ; Mon, 29 Sep 2014 12:24:40 +0200 (CEST) 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 SMTP02.CITRIX.COM (smtp02.citrix.com [66.165.176.63]) by theia.denx.de (Postfix) with ESMTPS id 438E0A73ED for ; Mon, 29 Sep 2014 12:24:36 +0200 (CEST) X-IronPort-AV: E=Sophos;i="5.04,619,1406592000"; d="scan'208";a="177043334" Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.80) with Microsoft SMTP Server id 14.3.181.6; Mon, 29 Sep 2014 06:24:34 -0400 Received: from kazak.uk.xensource.com ([10.80.2.80] helo=zakaz.uk.xensource.com) by ukmail1.uk.xensource.com with smtp (Exim 4.69) (envelope-from ) id 1XYY89-0001LF-2G; Mon, 29 Sep 2014 11:24:34 +0100 Received: by zakaz.uk.xensource.com (sSMTP sendmail emulation); Mon, 29 Sep 2014 11:24:33 +0100 From: Ian Campbell To: , Minkyu Kang Date: Mon, 29 Sep 2014 11:24:32 +0100 Message-ID: <1411986272-30809-1-git-send-email-ijc@hellion.org.uk> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1411741537-29691-1-git-send-email-ijc@hellion.org.uk> References: <1411741537-29691-1-git-send-email-ijc@hellion.org.uk> MIME-Version: 1.0 X-DLP: MIA2 Cc: Ian Campbell Subject: [U-Boot] [PATCH] arndale: Use config_distro_bootcmd.h X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ijc@hellion.org.uk X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Ian Campbell Signed-off-by: Ian Campbell --- include/configs/arndale.h | 38 +++++++++++++++++++++++++++++--------- 1 file changed, 29 insertions(+), 9 deletions(-) diff --git a/include/configs/arndale.h b/include/configs/arndale.h index db7623d..a6630fd 100644 --- a/include/configs/arndale.h +++ b/include/configs/arndale.h @@ -66,13 +66,6 @@ /* Console configuration */ #define CONFIG_CONSOLE_MUX #define CONFIG_SYS_CONSOLE_IS_IN_ENV -#define EXYNOS_DEVICE_SETTINGS \ - "stdin=serial\0" \ - "stdout=serial\0" \ - "stderr=serial\0" - -#define CONFIG_EXTRA_ENV_SETTINGS \ - EXYNOS_DEVICE_SETTINGS /* SD/MMC configuration */ #define CONFIG_GENERIC_MMC @@ -123,8 +116,6 @@ #define CONFIG_SPL_TEXT_BASE 0x02023400 #define CONFIG_SPL_MAX_FOOTPRINT (14 * 1024) -#define CONFIG_BOOTCOMMAND "mmc read 40007000 451 2000; bootm 40007000" - /* Miscellaneous configurable options */ #define CONFIG_SYS_PROMPT "ARNDALE # " #define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */ @@ -212,6 +203,35 @@ #include +#define BOOT_TARGET_DEVICES(func) \ + func(MMC, mmc, 1) \ + func(MMC, mmc, 0) \ + func(PXE, pxe, na) \ + func(DHCP, dhcp, na) + +#include + + +/* 2GB RAM, bootm size of 256M, load scripts after that */ +#define MEM_LAYOUT_ENV_SETTINGS \ + "bootm_size=0x10000000\0" \ + "kernel_addr_r=0x42000000\0" \ + "fdt_addr_r=0x43000000\0" \ + "ramdisk_addr_r=0x43300000\0" \ + "scriptaddr=0x50000000\0" \ + "pxefile_addr_r=0x51000000\0" + +#define EXYNOS_DEVICE_SETTINGS \ + "stdin=serial\0" \ + "stdout=serial\0" \ + "stderr=serial\0" \ + "fdtfile=exynos5250-arndale.dtb\0" + +#define CONFIG_EXTRA_ENV_SETTINGS \ + EXYNOS_DEVICE_SETTINGS \ + MEM_LAYOUT_ENV_SETTINGS \ + BOOTENV + /* PMIC */ #define CONFIG_PMIC #define CONFIG_POWER_I2C