summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/immap_85xx.h
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2007-08-15 20:03:34 -0500
committerWolfgang Denk <wd@denx.de>2007-08-16 12:12:51 +0200
commitb96c83d4ae475a70ef2635cd0e748174c44c8601 (patch)
treeef1782f96eb6f75e8a7ebaeea5b72f89fc07c8ce /include/asm-ppc/immap_85xx.h
parent3a79013e2adda53332dfd0b511066a805e929a9d (diff)
downloadbootable_bootloader_goldelico_gta04-b96c83d4ae475a70ef2635cd0e748174c44c8601.zip
bootable_bootloader_goldelico_gta04-b96c83d4ae475a70ef2635cd0e748174c44c8601.tar.gz
bootable_bootloader_goldelico_gta04-b96c83d4ae475a70ef2635cd0e748174c44c8601.tar.bz2
Fix numerous bugs in the 8568 UEC support
Actually, fixed a large bug in the UEC for *all* platforms. How did this ever work? uec_init() did not follow the spec for eth_init(), and returned 0 on success. Switch it to return the link like tsec_init() (and 0 on error) The immap for the 8568 was defined based on MPC8568, rather than CONFIG_MPC8568 CONFIG_QE was off CONFIG_ETHPRIME was set to "Freescale GETH". Now is "FSL UEC0" Fixed a comment about the ranges for CONFIG_ETHPRIME if TSEC_ENET is enabled Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'include/asm-ppc/immap_85xx.h')
-rw-r--r--include/asm-ppc/immap_85xx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ppc/immap_85xx.h b/include/asm-ppc/immap_85xx.h
index 3d4816f..496fc72 100644
--- a/include/asm-ppc/immap_85xx.h
+++ b/include/asm-ppc/immap_85xx.h
@@ -1596,7 +1596,7 @@ typedef struct ccsr_gur {
uint svr; /* 0xe00a4 - System version register */
char res10a[8];
uint rstcr; /* 0xe00b0 - Reset control register */
-#ifdef MPC8568
+#ifdef CONFIG_MPC8568
char res10b[76];
par_io_t qe_par_io[7]; /* 0xe0100 - 0xe01bf */
char res10c[3136];