]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc/board: add present2 register definition for QIXIS
authorShengzhou Liu <Shengzhou.Liu@freescale.com>
Sun, 7 Oct 2012 20:21:02 +0000 (20:21 +0000)
committerAndy Fleming <afleming@freescale.com>
Mon, 22 Oct 2012 19:31:14 +0000 (14:31 -0500)
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>
board/freescale/common/qixis.c
board/freescale/common/qixis.h

index e336b32806ee25ca8fee0f06cb28986312cfaf3e..c92902a92edc2b327304d92f2e67ef0f33239ba4 100644 (file)
@@ -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
 
index 83a3b693f67adfe31af640f1feca66613a6355e8..b98b18065569ee3f1e58413f5c1c0d5e9f21205c 100644 (file)
@@ -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;