Commit 38ccd2fd authored by Markus Klotzbuecher's avatar Markus Klotzbuecher Committed by Markus Klotzbuecher
Browse files

SPC1920: update the HPI register addresses to work with the second

generation of hardware 
parent 5921e531
......@@ -383,12 +383,12 @@
#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 */
/*
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment