From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Thu, 06 Sep 2007 21:09:55 -0400 Subject: [U-Boot-Users] [PATCH] add ft_cpu_setup(..)-function for mpc8260 In-Reply-To: <20070906223102.11FD9247B6@gemini.denx.de> References: <20070906223102.11FD9247B6@gemini.denx.de> Message-ID: <46E0A4E3.1030505@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk wrote: > Dear Sergei, > > in message <1189000905.2681.18.camel@p60635-ste.ids.de> you wrote: >> On proposal from Heiko Schocher: >> This patch adds ft_cpu_setup(..) - function for mpc8260. >> >> Signed-off-by: Sergej Stepanov >> -- >> >> diff -pruN --exclude='\.svn' u-boot-1.2.0-orig/cpu/mpc8260/cpu.c u-boot-1.2.0/cpu/mpc8260/cpu.c >> --- u-boot-1.2.0-orig/cpu/mpc8260/cpu.c 2007-01-07 00:13:11.000000000 +0100 >> +++ u-boot-1.2.0/cpu/mpc8260/cpu.c 2007-09-03 14:02:54.000000000 +0200 >> @@ -294,3 +294,18 @@ void watchdog_reset (void) >> #endif /* CONFIG_WATCHDOG */ >> >> /* ------------------------------------------------------------------------- */ >> + >> +#if defined(CONFIG_OF_FLAT_TREE) > > CONFIG_OF_FLAT_TREE is deprecated, as it is going to be replaced by > CONFIG_OF_LIBFDT. > > Please change your code to use the new style and resubmit. Thanks. > > Best regards, > > Wolfgang Denk ...and use Grant's 5xxx code as the model of how to do it the New Improved LIBFDT Way. On the 83xx family, I did a table-based fixup which turned out uglier than what Grant did and I intend to switch over to Grant's methodology when I get some breathing room. Best regards, gvb