From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reinhard Meyer Date: Tue, 21 Sep 2010 16:36:47 +0200 Subject: [U-Boot] AT91: problems master vs. next In-Reply-To: <4C98BEC7.9090500@emk-elektronik.de> References: <4C98A78D.7070407@emk-elektronik.de> <4C98BA84.9040104@free.fr> <4C98BEC7.9090500@emk-elektronik.de> Message-ID: <4C98C2FF.3020103@emk-elektronik.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Reinhard Meyer schrieb: > Therefore I strongly suggest that all extras (PIC) needed solely for relocation > should be switchable OFF by a configuration option. Who does need that > relocation in the first place? For years ARM did work without it; why now > blowing up the code? Sorry, to be precise: the option CONFIG_SYS_ARM_WITHOUT_RELOC should stay as a permanent feature. However, when I compile with that option defined in my board-config.h I get the following warnings for EVERY file: /home/reinhard/embedded/u-boot/include/configs/top9000_9xe.h:74:1: warning: "CONFIG_SYS_ARM_WITHOUT_RELOC" redefined : warning: this is the location of the previous definition In file included from /home/reinhard/embedded/u-boot/include/config.h:4, from /home/reinhard/embedded/u-boot/include/common.h:37, from stmicro.c:30: because of that recursion: +ifdef CONFIG_SYS_ARM_WITHOUT_RELOC +PLATFORM_CPPFLAGS += -DCONFIG_SYS_ARM_WITHOUT_RELOC +endif The code size changes from 223592 to 229792 which is more acceptable, but I still does crash (I will look into that soon). Reinhard