From patchwork Thu Feb 26 17:27:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 444024 X-Patchwork-Delegate: yamada.m@jp.panasonic.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id C0AE914008F for ; Fri, 27 Feb 2015 04:31:57 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="verification failed; unprotected key" header.d=gmail.com header.i=@gmail.com header.b=nTJ4Kp7G; dkim-adsp=unknown (unprotected policy); dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 89C284B6C6; Thu, 26 Feb 2015 18:30:33 +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 kHvZTrZ3Vkpj; Thu, 26 Feb 2015 18:30:33 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4FBE34B75D; Thu, 26 Feb 2015 18:30:20 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 85DBE4B6C6 for ; Thu, 26 Feb 2015 18:28:40 +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 1hLMCBJhtxC9 for ; Thu, 26 Feb 2015 18:28:40 +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-pd0-f177.google.com (mail-pd0-f177.google.com [209.85.192.177]) by theia.denx.de (Postfix) with ESMTPS id 7F79C4B656 for ; Thu, 26 Feb 2015 18:28:19 +0100 (CET) Received: by pdev10 with SMTP id v10so14437751pde.7 for ; Thu, 26 Feb 2015 09:28:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=UmZ1u85N7nLmINpHmHfjpHYU8l7J/96Vvvn9OqIipe8=; b=nTJ4Kp7GoA/l6Ndq0a+w9F2i2y8thwIbyKDRVmor72koIPqugTSVeY6FCcLRj8n3AI bwQCpzPUNbmDxLv1njS4HjytDwpPRMqEGN6IgiBv5p9PGlasnunXbFKUhS6ZGEwk5PrU 2DIBGyEE1b3DBa4/elCo86J+f8VjhDKsjYs6WTODR7YQm14QhCGJttMTSkwCZh7oWdb7 6XzkhCRUIo439JyyXu1RAmtBD/yu5A6gS0I8+DZqgxwOv0lT6lFLNWRhT2aRLRi5p+jb +amRrzgJeO9CzOWwW8kA5Yg3NsZ2vJgtCJcZU89rSN8GVhP+YB6TqUnGWr93kCy3jdlb J1Jw== X-Received: by 10.70.93.97 with SMTP id ct1mr16842753pdb.71.1424971698246; Thu, 26 Feb 2015 09:28:18 -0800 (PST) Received: from oscar.sesame (112.136.111.193.er.eaccess.ne.jp. [112.136.111.193]) by mx.google.com with ESMTPSA id rr9sm1581960pbc.39.2015.02.26.09.28.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 Feb 2015 09:28:17 -0800 (PST) From: Masahiro Yamada To: u-boot@lists.denx.de Date: Fri, 27 Feb 2015 02:27:07 +0900 Message-Id: <1424971627-7874-27-git-send-email-yamada.m@jp.panasonic.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1424971627-7874-1-git-send-email-yamada.m@jp.panasonic.com> References: <1424971627-7874-1-git-send-email-yamada.m@jp.panasonic.com> Subject: [U-Boot] [PATCH v5 26/26] ARM: UniPhier: move CONFIG_SYS_TEXT_BASE to Kconfig 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" Signed-off-by: Masahiro Yamada --- Changes in v5: - Newly added Changes in v4: None Changes in v3: None Changes in v2: None Kconfig | 2 +- arch/arm/mach-uniphier/Kconfig | 3 +++ include/configs/uniphier.h | 2 -- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Kconfig b/Kconfig index 91a0618..e259aaa 100644 --- a/Kconfig +++ b/Kconfig @@ -142,7 +142,7 @@ config SYS_EXTRA_OPTIONS new boards should not use this option. config SYS_TEXT_BASE - depends on SPARC || ARC + depends on SPARC || ARC || ARCH_UNIPHIER hex "Text Base" help TODO: Move CONFIG_SYS_TEXT_BASE for all the architecture diff --git a/arch/arm/mach-uniphier/Kconfig b/arch/arm/mach-uniphier/Kconfig index 8335685..dd6120b 100644 --- a/arch/arm/mach-uniphier/Kconfig +++ b/arch/arm/mach-uniphier/Kconfig @@ -48,6 +48,9 @@ config DCC_MICRO_SUPPORT_CARD endchoice +config SYS_TEXT_BASE + default 0x84000000 + config SYS_MALLOC_F default y diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h index df89d14..9f5f9aa 100644 --- a/include/configs/uniphier.h +++ b/include/configs/uniphier.h @@ -266,8 +266,6 @@ #define CONFIG_SYS_SDRAM_SIZE (CONFIG_SDRAM0_SIZE) #endif -#define CONFIG_SYS_TEXT_BASE 0x84000000 - #if defined(CONFIG_MACH_PH1_LD4) || defined(CONFIG_MACH_PH1_SLD8) #define CONFIG_SPL_TEXT_BASE 0x00040000 #endif