SPC1920: update the HPI register addresses to work with the second
authorMarkus Klotzbuecher <mk@denx.de>
Tue, 9 Jan 2007 13:57:13 +0000 (14:57 +0100)
committerMarkus Klotzbuecher <mk@pollux.denx.de>
Tue, 9 Jan 2007 13:57:13 +0000 (14:57 +0100)
generation of hardware

include/configs/spc1920.h

index dcff8a6c9e80f27c4026fc6a9dda6df8308c8fd8..8f5eace69257c25d53c9fc978cb78f748403cb0e 100644 (file)
 #define HPI_REG(x)             (*((volatile u16 *) (CFG_SPC1920_HPI_BASE + x)))
 #define HPI_HPIC_1             HPI_REG(0)
 #define HPI_HPIC_2             HPI_REG(2)
-#define HPI_HPIA_1             HPI_REG(0x2000000)
-#define HPI_HPIA_2             HPI_REG(0x2000000 + 2)
-#define HPI_HPID_INC_1         HPI_REG(0x1000000)
-#define HPI_HPID_INC_2         HPI_REG(0x1000000 + 2)
-#define HPI_HPID_NOINC_1       HPI_REG(0x3000000)
-#define HPI_HPID_NOINC_2       HPI_REG(0x3000000 + 2)
+#define HPI_HPIA_1             HPI_REG(0x2000008)
+#define HPI_HPIA_2             HPI_REG(0x2000008 + 2)
+#define HPI_HPID_INC_1         HPI_REG(0x1000004)
+#define HPI_HPID_INC_2         HPI_REG(0x1000004 + 2)
+#define HPI_HPID_NOINC_1       HPI_REG(0x300000c)
+#define HPI_HPID_NOINC_2       HPI_REG(0x300000c + 2)
 #endif /* CONFIG_SPC1920_HPI_TEST */
 
 /*