File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -24,23 +24,23 @@ extern unsigned char __bss_end;
2424/*
2525 * General PM Configuration Register
2626 */
27- #define PMCON_BASE (APB_BASE | (0x7 << 12))
27+ #define PMCON_BASE (APB_BASE | (0x7 << 12))
2828
2929/*
3030 * Power Management1 Configuration Registers
3131 */
32- #define PM1_BASE (PMCON_BASE + 0x0C)
33- #define PM1_STS HWREG32(PM1_BASE)
34- #define PM1_EN HWREG32(PM1_BASE + 0x04)
35- #define PM1_CNT HWREG32(PM1_BASE + 0x08)
32+ #define PM1_BASE (PMCON_BASE + 0x0C)
33+ #define PM1_STS HWREG32(PM1_BASE)
34+ #define PM1_EN HWREG32(PM1_BASE + 0x04)
35+ #define PM1_CNT HWREG32(PM1_BASE + 0x08)
3636
3737/*
3838 * Watch Dog Configuration Registers
3939 */
40- #define WDT_BASE (PMCON_BASE + 0x30)
41- #define WDT_EN HWREG32(WDT_BASE)
42- #define WDT_SET HWREG32(WDT_BASE + 0x04)
43- #define WDT_TIMER HWREG32(WDT_BASE + 0x08)
40+ #define WDT_BASE (PMCON_BASE + 0x30)
41+ #define WDT_EN HWREG32(WDT_BASE)
42+ #define WDT_SET HWREG32(WDT_BASE + 0x04)
43+ #define WDT_TIMER HWREG32(WDT_BASE + 0x08)
4444
4545
4646void rt_hw_board_init (void );
You can’t perform that action at this time.
0 commit comments