From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Date: Mon, 24 Nov 2008 13:57:29 +0100 Subject: [U-Boot] [PATCH 2/4] FDT: Enable microblaze cpu in image.c In-Reply-To: <20081124125139.A27418361B03@gemini.denx.de> References: <4eb71bb9683727631fa3c7d1a1415afe31e25364.1227524159.git.monstr@monstr.eu> <4eb71bb9683727631fa3c7d1a1415afe31e25364.1227524159.git.monstr@monstr.eu> <3ef2f793487258a2c06115525afc08e63dd3a222.1227524159.git.monstr@monstr.eu> <20081124125139.A27418361B03@gemini.denx.de> Message-ID: <492AA4B9.5060100@monstr.eu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. Thanks, Michal > Best regards, > > Wolfgang Denk > -- Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854