summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShengzhou Liu <Shengzhou.Liu@freescale.com>2012-10-07 20:21:02 +0000
committerAndy Fleming <afleming@freescale.com>2012-10-22 14:31:14 -0500
commite4de13e38a24601e057c63f129bc80e127c91f9f (patch)
treebf92e8650b5859dc9159e8b2c90f9c8c2be79cbe
parent4905443f1ce7fc6159b7690e1f9e460dc6c6356d (diff)
downloadu-boot-imx-e4de13e38a24601e057c63f129bc80e127c91f9f.zip
u-boot-imx-e4de13e38a24601e057c63f129bc80e127c91f9f.tar.gz
u-boot-imx-e4de13e38a24601e057c63f129bc80e127c91f9f.tar.bz2
powerpc/board: add present2 register definition for QIXIS
According to new QIXIS system definition, update QIXIS registers set to add present2 register instead of obsolete ctl_sys2. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
-rw-r--r--board/freescale/common/qixis.c2
-rw-r--r--board/freescale/common/qixis.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/common/qixis.c b/board/freescale/common/qixis.c
index e336b32..c92902a 100644
--- a/board/freescale/common/qixis.c
+++ b/board/freescale/common/qixis.c
@@ -85,11 +85,11 @@ static void qixis_dump_regs(void)
printf("ctl_sys = %02x\n", QIXIS_READ(ctl_sys));
printf("rcw_ctl = %02x\n", QIXIS_READ(rcw_ctl));
printf("present = %02x\n", QIXIS_READ(present));
+ printf("present2 = %02x\n", QIXIS_READ(present2));
printf("clk_spd = %02x\n", QIXIS_READ(clk_spd));
printf("stat_dut = %02x\n", QIXIS_READ(stat_dut));
printf("stat_sys = %02x\n", QIXIS_READ(stat_sys));
printf("stat_alrm = %02x\n", QIXIS_READ(stat_alrm));
- printf("ctl_sys2 = %02x\n", QIXIS_READ(ctl_sys2));
}
#endif
diff --git a/board/freescale/common/qixis.h b/board/freescale/common/qixis.h
index 83a3b69..b98b180 100644
--- a/board/freescale/common/qixis.h
+++ b/board/freescale/common/qixis.h
@@ -26,7 +26,7 @@ struct qixis {
u8 stat_sys;
u8 stat_alrm;
u8 present;
- u8 ctl_sys2;
+ u8 present2; /* Presence Status Register 2,0x0c */
u8 rcw_ctl;
u8 ctl_led;
u8 i2cblk;