Fix CONFIG_440_GX define usage.

This commit is contained in:
Marian Balakowicz 2006-06-30 18:35:04 +02:00
parent 971a5dd11a
commit bba6837732
3 changed files with 6 additions and 7 deletions

View file

@ -2,6 +2,8 @@
Changes since U-Boot 1.1.4:
======================================================================
* Fix CONFIG_440_GX define usage.
* Remove autogenerated bmp_logo.h file.
* VoiceBlue update: use new MTD flash partitioning methods, use more

View file

@ -1468,7 +1468,7 @@ trap_init:
cmplw 0, r7, r8
blt 4b
#if !defined(CONFIG_440_GX) && !defined(CONFIG_440SPE)
#if !defined(CONFIG_440GX) && !defined(CONFIG_440SPE)
addi r7,r0,0x1000 /* set ME bit (Machine Exceptions) */
oris r7,r7,0x0002 /* set CE bit (Critical Exceptions) */
mtmsr r7 /* change MSR */

View file

@ -214,14 +214,14 @@
#define mem_dlycal 0x0084 /* delay line calibration register */
#define mem_eccesr 0x0098 /* ECC error status */
#ifdef CONFIG_440_GX
#ifdef CONFIG_440GX
#define sdr_amp 0x0240
#define sdr_xpllc 0x01c1
#define sdr_xplld 0x01c2
#define sdr_xcr 0x01c0
#define sdr_sdstp2 0x4001
#define sdr_sdstp3 0x4003
#endif /* CONFIG_440_GX */
#endif /* CONFIG_440GX */
#ifdef CONFIG_440SPE
#undef sdr_sdstp2
@ -759,9 +759,6 @@
#define SDRAM_BXCF_M_BE_ENABLE 0x00000001 /* Memory Bank Enable */
#endif /* CONFIG_440SPE */
#ifndef CONFIG_440_GX
#endif /* not CONFIG_440SPE */
/*-----------------------------------------------------------------------------
| External Bus Controller
+----------------------------------------------------------------------------*/
@ -1626,7 +1623,7 @@
#define UICB0_ALL (UICB0_UIC0CI | UICB0_UIC0NCI | UICB0_UIC1CI | \
UICB0_UIC1NCI | UICB0_UIC2CI | UICB0_UIC2NCI)
#endif /* CONFIG_440_GX */
#endif /* CONFIG_440GX */
/*---------------------------------------------------------------------------+
| Universal interrupt controller interrupts
+---------------------------------------------------------------------------*/