Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 253D4C4338F for ; Sun, 25 Jul 2021 23:34:31 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9AD2560E77 for ; Sun, 25 Jul 2021 23:34:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9AD2560E77 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=yifangu.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 12F0D82C18; Mon, 26 Jul 2021 01:34:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=yifangu.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 0B64C83230; Mon, 26 Jul 2021 01:17:13 +0200 (CEST) Received: from mail-qk1-f181.google.com (mail-qk1-f181.google.com [209.85.222.181]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2A98F8324C for ; Mon, 26 Jul 2021 01:16:53 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=yifangu.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=gyf304@gmail.com Received: by mail-qk1-f181.google.com with SMTP id az7so7212070qkb.5 for ; Sun, 25 Jul 2021 16:16:53 -0700 (PDT) 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=AfsLzoSNO0PIG6iBps3o63zvaZFb0iauPJD2K1xyhr8=; b=nV+w3z9Nj0tfA9DlKtF3V8Nq2UvEBwNyV7xoInRlsyl18kPMEgLi8kA8WfvvXLDREF 6tUtZaVeb41w9/dhK5Q/+tlPzOjdjg3hd+x0yKZ4OdjEj9dBFoe9Pw5s8q8L9+qqaL/m Ki1AoMjtQTi4l493k0mx/2XH4dcQZFUnMOL0ipz7k8C8HmlryvSeIplGjNGAqfEdoutS 3H2+zO/mKCLusTknDCkoEJLl/VPc2tzoY67ur0034gTEJl9e248nXnrIiAhH1sWsUPHA aeN6E+Jg1VxJpgd+e1To8wJsftvVuDxfldkBgzjNM2IepjzF5y6y9MyftT8LdsAKrhrM 8pEg== X-Gm-Message-State: AOAM530dJQ39met6Z9/roLpkW+7nq/7RcdeI2jo+uuDK0s6u+8cTm4bJ 3G3JJ7w7RPrOikoyM/Zsz9Xhvj+9M6NS37at X-Google-Smtp-Source: ABdhPJyK3Ce5rlZRJADEuTpYwj8/OBe430ca2L0w4ktY+Wyy4V8ypE5Cyra8e5AbaCZMtY91Y92h2A== X-Received: by 2002:a05:620a:11b4:: with SMTP id c20mr11446391qkk.493.1627255011852; Sun, 25 Jul 2021 16:16:51 -0700 (PDT) Received: from yifangu-Virtual-Machine.mshome.net (pool-100-6-159-43.pitbpa.fios.verizon.net. [100.6.159.43]) by smtp.gmail.com with ESMTPSA id u184sm17754694qkd.53.2021.07.25.16.16.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Jul 2021 16:16:51 -0700 (PDT) From: Yifan Gu To: u-boot@lists.denx.de Cc: Yifan Gu , Jagan Teki , Andre Przywara , Icenowy Zheng , George Hilliard Subject: [PATCH 24/27] sunxi: suniv: set SYS_TEXT_BASE default Date: Sun, 25 Jul 2021 19:16:33 -0400 Message-Id: <20210725231636.879913-25-me@yifangu.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210725231636.879913-1-me@yifangu.com> References: <20210725231636.879913-1-me@yifangu.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Mon, 26 Jul 2021 01:32:10 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean suniv ddr memory starts at 0x8000000. Set SYS_TEXT_BASE accordingly so SPL can copy U-Boot proper to DRAM. Signed-off-by: Yifan Gu --- common/Kconfig.boot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/Kconfig.boot b/common/Kconfig.boot index 642dd9bcfb..23c6db286a 100644 --- a/common/Kconfig.boot +++ b/common/Kconfig.boot @@ -360,9 +360,10 @@ config SYS_TEXT_BASE depends on HAVE_SYS_TEXT_BASE default 0x0 if POSITION_INDEPENDENT default 0x80800000 if ARCH_OMAP2PLUS || ARCH_K3 - default 0x4a000000 if ARCH_SUNXI && !MACH_SUN9I && !MACH_SUN8I_V3S + default 0x4a000000 if ARCH_SUNXI && !MACH_SUN9I && !MACH_SUN8I_V3S && !MACH_SUNIV default 0x2a000000 if ARCH_SUNXI && MACH_SUN9I default 0x42e00000 if ARCH_SUNXI && MACH_SUN8I_V3S + default 0x81c00000 if ARCH_SUNXI && MACH_SUNIV hex "Text Base" help The address in memory that U-Boot will be running from, initially. -- 2.25.1