From mboxrd@z Thu Jan 1 00:00:00 1970 From: Amit Virdi Date: Mon, 26 Mar 2012 17:40:04 +0530 Subject: [U-Boot] [PATCH 08/25] SPEAr: Add configuration options for spear3xx and spear6xx boards In-Reply-To: <201203071454.08691.sr@denx.de> References: <1331121854-20494-1-git-send-email-amit.virdi@st.com> <1331121854-20494-9-git-send-email-amit.virdi@st.com> <201203071454.08691.sr@denx.de> Message-ID: <4F705C9C.1010606@st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Stefan, >> diff --git a/board/spear/spear300/config.mk >> b/board/spear/spear300/config.mk index 5848ef8..0706430 100644 >> --- a/board/spear/spear300/config.mk >> +++ b/board/spear/spear300/config.mk >> @@ -25,15 +25,4 @@ >> >> CONFIG_SYS_TEXT_BASE = 0x00700000 >> >> -ALL-y += $(obj)u-boot.img >> - >> -# Environment variables in NAND >> -ifeq ($(ENV),NAND) >> -PLATFORM_RELFLAGS += -DCONFIG_ENV_IS_IN_NAND >> -else >> -PLATFORM_RELFLAGS += -DCONFIG_ENV_IS_IN_FLASH >> -endif >> - >> -ifeq ($(CONSOLE),USB) >> -PLATFORM_RELFLAGS += -DCONFIG_SPEAR_USBTTY >> -endif >> +ALL += $(obj)u-boot.img > > Can't you just remove this config.mk file completely? CONFIG_SYS_TEXT_BASE can > be moved to the config header instead. What else is this file needed for? > Could you please explain which config header you are referring to here? Do you mean include/configs/spear..... ? For SPEAr310 and SPEAr320, config.mk is needed to make image (by specifying FLASH=PNOR during compile time) that can access CFI compliant PNOR flash. > The same comment for all other config.mk files. > Thanks Amit Virdi