From: Paul Gortmaker <paul.gortmaker@windriver•com>
To: linuxppc-embedded@ozlabs•org
Cc: p_gortmaker@yahoo•com
Subject: [PATCH 2.6.16rc2] EST8260 has bogus bd_info
Date: Thu, 16 Feb 2006 14:14:43 -0500 [thread overview]
Message-ID: <20060216191442.GE28338@windriver.com> (raw)
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 */
reply other threads:[~2006-02-16 20:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060216191442.GE28338@windriver.com \
--to=paul.gortmaker@windriver$(echo .)com \
--cc=linuxppc-embedded@ozlabs$(echo .)org \
--cc=p_gortmaker@yahoo$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox