From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Date: Mon, 24 Nov 2008 14:02:14 +0100 Subject: [U-Boot] [PATCH 2/4] FDT: Enable microblaze cpu in image.c In-Reply-To: <492AA4B9.5060100@monstr.eu> References: <4eb71bb9683727631fa3c7d1a1415afe31e25364.1227524159.git.monstr@monstr.eu> <4eb71bb9683727631fa3c7d1a1415afe31e25364.1227524159.git.monstr@monstr.eu> <3ef2f793487258a2c06115525afc08e63dd3a222.1227524159.git.monstr@monstr.eu> <20081124125139.A27418361B03@gemini.denx.de> <492AA4B9.5060100@monstr.eu> Message-ID: <20081124130214.GD30647@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 13:57 Mon 24 Nov , Michal Simek wrote: > Hi Wolfgang, > > > Dear Michal, > > > >> > >> -#if defined(CONFIG_PPC) || defined(CONFIG_M68K) || defined(CONFIG_SPARC) > >> +#if defined(CONFIG_M68K) || defined(CONFIG_MICROBLAZE) || defined(CONFIG_PPC) \ > >> + || defined(CONFIG_SPARC) > >> /** > >> * boot_ramdisk_high - relocate init ramdisk > >> * @lmb: pointer to lmb handle, will be used for memory mgmt > > > > I reject this patch. > > > > I know this is not your fault - you just add to existing code. But the > > existing code is wrong, and we should not add even more bad code (and > > rather fix the current, incorrect one). > > > > The thing is that the code we are #ifdef'ing here depends on a > > *feature* (FDT boot support), and thus can be selected on a board > > level. It is *not* an architecture thing, so it is incorrect to > > enable or disable it depending on the current arch settings. > > I understand. > When will be remove this part of code? > Because without any fix all Microblaze boards can't be successfully compiled. > try my patch [PATCH V3] Fix FIT and fdt blob support to have CONFIG_OF_LIBFDT and CONFIG_FIT independant Best Regards, J.