
* Patch by Thomas Lange 07 Oct 2004: - Use cached initrd sdram address for au1x00 cpu:s
Patch makes u-boot work with linux 2.4.25 from AMD/MontaVista for dbau1x00 boards.
/Thomas
Index: lib_mips/mips_linux.c =================================================================== RCS file: /cvsroot/u-boot/u-boot/lib_mips/mips_linux.c,v retrieving revision 1.4 diff -p -u -r1.4 mips_linux.c --- lib_mips/mips_linux.c 7 Dec 2003 18:32:39 -0000 1.4 +++ lib_mips/mips_linux.c 7 Oct 2004 12:12:59 -0000 @@ -198,7 +198,11 @@ void do_bootm_linux (cmd_tbl_t * cmdtp,
linux_env_set ("memsize", env_buf);
+#ifdef CONFIG_AU1X00 + sprintf (env_buf, "0x%08X", (uint) initrd_start); +#else sprintf (env_buf, "0x%08X", (uint) UNCACHED_SDRAM (initrd_start)); +#endif linux_env_set ("initrd_start", env_buf);
sprintf (env_buf, "0x%X", (uint) (initrd_end - initrd_start));