From patchwork Tue May 7 18:24:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 360 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id D01443F066 for ; Tue, 7 May 2019 20:24:56 +0200 (CEST) Received: by mail-pf1-f199.google.com with SMTP id d21sf10774337pfr.3 for ; Tue, 07 May 2019 11:24:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1557253495; cv=pass; d=google.com; s=arc-20160816; b=MuRi68ZcOAhH6/QD/aHd89OgRUnKKnyH60PAOUwH5AFnZmdhdLqnM2oYmAu7waj/BE QHx/mNZv5XwNu8Xx2GtU1F8eaYIZHAl9e9J54eiQbfsHpB3iJlDmntp5SrhAdxCa86Cc 93kV9wvP00iauRzf0tuhoYgov/iWB88m/R0AYrKudmhXsTaEPsxHml1nryi3gl/XdUg0 bTiNGD5vWq0/QiQIli1JSqdXosQNKFyQYP9JhgiEuKyb3P52MKcNIOfEHgbkd8nSuo/m k/yG+f8UEzqRDaYaFBtgQ5+rO6H03baNl0gSFxAXYgGrFG1Hm+1eP7XQQb5GQvNjKJgJ 6cug== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=qPb1dGfmzSWfVxSDAEX/E6idP3rrSkUHIfM7bhg3CLI=; b=0aLQ1KivWB+Op38kBddeD8LDXbIbEw4Hf0vTDpyuSlCNHiTUkQeXpAoCorW6OIa9Y4 rFk9RJ1BHMJQobCInlGWBDRuiobs9vrgV14BhXV8s5urdwGHj6Jw5y2IiYtf6F1OEtMO QmL+xR3QdVO4mhpVcPUO44SklkVr8WXzJpbMWbdS9fTKuPjh7ivJrIFw02ZxXH4Hok2F J//fiX5qQ1HKghVAd+iF4Ep4I9yRVzj93tybADVwIXcGB72PbfcNYmpe0m87tqWtldBB 12wnh7H4AoYE0F1oKnIn77a9pEZm+aU4xn9fqtQGcQOr2GiO+HW7OINJPZSlJkloEeiN Kj7A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bUSd9W3b; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=qPb1dGfmzSWfVxSDAEX/E6idP3rrSkUHIfM7bhg3CLI=; b=PwZPAZ2R7kMw3RQnJC9o7YUaJvFOD1zo/abb9P9KID0ZQtYd4vSkXHQ/IpDyjiA16Q vCcFcEIec4+iTTTss26bqb5e7a+q9rZMpuFlCyLBqbIQ91GlcADMmY73KrQGphR1b4AK koMsdNN9fSLmGXg6bL56/fwBvU6+AHdPdu7wQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=qPb1dGfmzSWfVxSDAEX/E6idP3rrSkUHIfM7bhg3CLI=; b=lml+JlqDDbA+I7OnlSDwAl2CeUm2ssTfL2k76yakJHPCW4sxra92ErMQocT/6d01Ef jmxonYSYC+23uR0muWFdt3Xz6QDZFEqb4lwV167uB64bwNx+P1QX8TYfOYkbu5nQsCaR 0s6Wn13r7XOhnIVkYPKLtSKvB0x5ZfSgwTxyFW1lTFn9PzHyAUZAB4SipZz4tS0QMj8c cYiTxknMOv9KXwHEqtk4+NuGgqzYtbSaNyrtnoXz8uhcAxyxvPXCyoe0ecWg7nMHLbti wtcSxqV+h4TVr4j7WOtZCm9O8Nik0jGdYFp9RBHAh7xHKvicgKNs5XVJCwXl85J+yVIH np9A== X-Gm-Message-State: APjAAAXFXu8CeQ4NUJHE0QeU9bIK97/PYkN5F7rX6636isoH/X5uFgtt f4wwcyZ5aQnY85Uw6K62HempdtGb X-Google-Smtp-Source: APXvYqypZG4aTjuUBSdrgRla4CMphTj8IL1CFNbOEADO7aAua1/mYVgYqns2ECy+bVZld/IzjLJ8ew== X-Received: by 2002:a65:4c86:: with SMTP id m6mr15752871pgt.75.1557253495586; Tue, 07 May 2019 11:24:55 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:528f:: with SMTP id g137ls4681038pfb.16.gmail; Tue, 07 May 2019 11:24:55 -0700 (PDT) X-Received: by 2002:a62:75d8:: with SMTP id q207mr2461261pfc.35.1557253495233; Tue, 07 May 2019 11:24:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557253495; cv=none; d=google.com; s=arc-20160816; b=VoO6kxl3O87hQ+pciOnil6irWsasYtGmXL2A9XZbcP6+7zhjxxDfM/eTLGkY4INcfu JVS+Qe/lb1kUJ2U2WUqew3iFTNFhhOxqD5ltdOdJUzIeI7952Gn0GwLyWyZFbio0s8vO HZ4YqxeW3HzSqU9D7CC53YAddpyKNDlYkKke/r7+gvucYIf7WyB9Vu9xUgShvRfIg4T+ +gqoDkyOlF2W0lEU/wd8/iE6gP1mTDC64Z1R9SNfZ2Cy6X5Y+LE6xRZcLbbB9H0xGERH AC6C3dtkWuNjeDLfkRaoQtAKArOLGsIDXnfOxJmyyIIj4dHNzxQSgCsg7HMZv5fOr9N9 /D/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=sXXUtaXlTBtdjWF6a79eQ7FCAv/jNGu73buyT5ITPC8=; b=mpK0e5iSoXQJjePMNiHKztrHy0/JDGi8WsloI9bvmh8UDE5QtaM18+d0yW7yJoLmoE q9FStQI5fW2SVABh/fY2PnYOwHCJEKVMK4Op2bWjc7vR5cmqklVEpfNQv/SGqYQY1fX0 isld8IuJZuKzyrgRKa+0UH1sL0Bl9u5dju++BaN7JciB/PRrc+i/83Pb1zUDthysfLA6 lliyzOZatvx/uchCBSrGmU3UhPWxhyTO+BFNwD+RtGTWuza7A1r2gmjnqKQJAPzOjxjy 5azmgToHUfBHr15ibLagcWP/PEPcYrd1QSthZxYMm5/PO0TqtQewezZdcUTBnwWforaJ 6p/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bUSd9W3b; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id 22sor16204615pfo.32.2019.05.07.11.24.55 for (Google Transport Security); Tue, 07 May 2019 11:24:55 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a63:6f0b:: with SMTP id k11mr17200247pgc.342.1557253494940; Tue, 07 May 2019 11:24:54 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id b63sm28968884pfj.54.2019.05.07.11.24.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 May 2019 11:24:54 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang Cc: linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Jagan Teki Subject: [PATCH] rockchip: rk3399: orangepi: Add SPL_TEXT_BASE Date: Tue, 7 May 2019 23:54:40 +0530 Message-Id: <20190507182440.4501-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bUSd9W3b; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , CONFIG_SPL_TEXT_BASE was available in configs/rk3399_common.h when the OrangePI rk3399 board supported during first version patch. But, later below change which move this config into Kconfig and same has been merged in mainline tree. "configs: move CONFIG_SPL_TEXT_BASE to Kconfig" (sha1: f89d6133eef2e068f9c33853b6584d7fcbfa9d2e) Unfortunately, the maintainer applied the initial version patch, instead of looking for next version changes. Fix it by adding SPL_TEXT_BASE in orangepi-rk3399 defconfig. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- configs/orangepi-rk3399_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/orangepi-rk3399_defconfig b/configs/orangepi-rk3399_defconfig index cdccf221b5..ba13976cc6 100644 --- a/configs/orangepi-rk3399_defconfig +++ b/configs/orangepi-rk3399_defconfig @@ -17,6 +17,7 @@ CONFIG_SPL_FIT_GENERATOR="arch/arm/mach-rockchip/make_fit_atf.py" CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-orangepi.dtb" # CONFIG_DISPLAY_CPUINFO is not set CONFIG_DISPLAY_BOARDINFO_LATE=y +CONFIG_SPL_TEXT_BASE=0xff8c2000 CONFIG_SPL_STACK_R=y CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x4000 CONFIG_SPL_ATF=y