summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/cpm_8260.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2002-11-21 23:11:29 +0000
committerwdenk <wdenk>2002-11-21 23:11:29 +0000
commitea909b7604306a400ee3abf57e2fa7b2dde5dde1 (patch)
treef23f5653250d0440fe81b098037814a401fc9cc9 /include/asm-ppc/cpm_8260.h
parentb2184c314de0af9788ce505b413030d2114cfa4a (diff)
downloadbootable_bootloader_goldelico_gta04-ea909b7604306a400ee3abf57e2fa7b2dde5dde1.zip
bootable_bootloader_goldelico_gta04-ea909b7604306a400ee3abf57e2fa7b2dde5dde1.tar.gz
bootable_bootloader_goldelico_gta04-ea909b7604306a400ee3abf57e2fa7b2dde5dde1.tar.bz2
* Added support for both PCMCIA slots (at the same time!) on MPC8xx
* Patch by Rod Boyce, 21 Nov 2002: fix PCMCIA on MBX8xx board * Patch by Pierre Aubert , 21 Nov 2002 Add CFG_CPM_POST_WORD_ADDR to make the offset of the bootmode word in DPRAM configurable
Diffstat (limited to 'include/asm-ppc/cpm_8260.h')
-rw-r--r--include/asm-ppc/cpm_8260.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-ppc/cpm_8260.h b/include/asm-ppc/cpm_8260.h
index 2145180..bf2e2a2 100644
--- a/include/asm-ppc/cpm_8260.h
+++ b/include/asm-ppc/cpm_8260.h
@@ -136,7 +136,11 @@ typedef struct cpm_buf_desc {
/* Parameter RAM offsets from the base.
*/
+#ifndef CFG_CPM_POST_WORD_ADDR
#define CPM_POST_WORD_ADDR 0x80FC /* steal a long at the end of SCC1 */
+#else
+#define CPM_POST_WORD_ADDR CFG_CPM_POST_WORD_ADDR
+#endif
#define PROFF_SCC1 ((uint)0x8000)
#define PROFF_SCC2 ((uint)0x8100)
#define PROFF_SCC3 ((uint)0x8200)