All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.6.16rc2] EST8260 has bogus bd_info
@ 2006-02-16 19:14 Paul Gortmaker
  0 siblings, 0 replies; only message in thread
From: Paul Gortmaker @ 2006-02-16 19:14 UTC (permalink / raw)
  To: linuxppc-embedded; +Cc: p_gortmaker

I managed to rescue an old EST8260 board from a life as a doorstop, and
after sticking u-boot on it, I was getting nothing but a silent death.
I eventually discovered it wouldn't boot because est8260.h had its own 
personal copy of an ancient bd_info struct that doesn't match any U-boot
from this century.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>


--- linux-2.6.16rc2-orig/arch/ppc/platforms/est8260.h	2006-01-02 22:21:10.000000000 -0500
+++ linux-2.6.16rc2/arch/ppc/platforms/est8260.h	2006-02-16 12:04:02.000000000 -0500
@@ -6,30 +6,15 @@
 #ifndef __EST8260_PLATFORM
 #define __EST8260_PLATFORM
 
+#include <linux/config.h>
+#include <asm/ppcboot.h>
+
 #define CPM_MAP_ADDR		((uint)0xf0000000)
 
 #define BOOTROM_RESTART_ADDR	((uint)0xff000104)
 
 /* For our show_cpuinfo hooks. */
-#define CPUINFO_VENDOR		"EST Corporation"
-#define CPUINFO_MACHINE		"SBC8260 PowerPC"
-
-/* A Board Information structure that is given to a program when
- * prom starts it up.
- */
-typedef struct bd_info {
-	unsigned int	bi_memstart;	/* Memory start address */
-	unsigned int	bi_memsize;	/* Memory (end) size in bytes */
-	unsigned int	bi_intfreq;	/* Internal Freq, in Hz */
-	unsigned int	bi_busfreq;	/* Bus Freq, in MHz */
-	unsigned int	bi_cpmfreq;	/* CPM Freq, in MHz */
-	unsigned int	bi_brgfreq;	/* BRG Freq, in MHz */
-	unsigned int	bi_vco;		/* VCO Out from PLL */
-	unsigned int	bi_baudrate;	/* Default console baud rate */
-	unsigned int	bi_immr;	/* IMMR when called from boot rom */
-	unsigned char	bi_enetaddr[6];
-} bd_t;
-
-extern bd_t m8xx_board_info;
+#define CPUINFO_VENDOR		"Wind River"
+#define CPUINFO_MACHINE		"EST SBC8260 PowerPC"
 
 #endif 	/* __EST8260_PLATFORM */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-16 20:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-16 19:14 [PATCH 2.6.16rc2] EST8260 has bogus bd_info Paul Gortmaker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.