From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Date: Tue, 18 Nov 2008 10:34:37 +0100 Subject: [U-Boot] [PATCH 1/2] bootm: fix BOOTM_STATE_FDT subcommand usage In-Reply-To: <20081118085547.736A1832E89D@gemini.denx.de> References: <20081118002708.GD20874@game.jcrosoft.org> <1226968111-965-1-git-send-email-plagnioj@jcrosoft.com> <20081118085547.736A1832E89D@gemini.denx.de> Message-ID: <20081118093437.GL20874@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 09:55 Tue 18 Nov , Wolfgang Denk wrote: > Dear Jean-Christophe PLAGNIOL-VILLARD, > > In message <1226968111-965-1-git-send-email-plagnioj@jcrosoft.com> you wrote: > > boot_relocate_fdt can only be used on PPC, M68K and SPARC > > > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > > --- > > common/cmd_bootm.c | 2 ++ > > 1 files changed, 2 insertions(+), 0 deletions(-) > > > > diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c > > index a8f85e9..22e8b30 100644 > > --- a/common/cmd_bootm.c > > +++ b/common/cmd_bootm.c > > @@ -499,6 +499,7 @@ int do_bootm_subcommand (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) > > break; > > #endif > > #ifdef CONFIG_OF_LIBFDT > > +#if defined(CONFIG_PPC) || defined(CONFIG_M68K) || defined(CONFIG_SPARC) > > This change seems wrong to me. There are PPC systems which do not use > the device tree - why should we enable this code for these? thats already the case by the ifdef CONFIG_OF_LIBFDT Best Regards, J.