diff options
| author | michael <[email protected]> | 2020-09-15 11:34:29 +0800 |
|---|---|---|
| committer | michael <[email protected]> | 2020-09-15 11:34:29 +0800 |
| commit | 93bcc2e0d289bc455dd9ac9ca58818ff9ec1c690 (patch) | |
| tree | 1c21c6b52c16974695b4314e02a865aa9e63599d | |
| parent | dd3677180179c310686b368a67cb801fe807b5e8 (diff) | |
unify code format
| -rw-r--r-- | bsp/ls2kdev/drivers/board.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/bsp/ls2kdev/drivers/board.h b/bsp/ls2kdev/drivers/board.h index 3c9347931c..da7d5ea2f2 100644 --- a/bsp/ls2kdev/drivers/board.h +++ b/bsp/ls2kdev/drivers/board.h @@ -24,23 +24,23 @@ extern unsigned char __bss_end; /* * General PM Configuration Register */ -#define PMCON_BASE (APB_BASE | (0x7 << 12)) +#define PMCON_BASE (APB_BASE | (0x7 << 12)) /* * Power Management1 Configuration Registers */ -#define PM1_BASE (PMCON_BASE + 0x0C) -#define PM1_STS HWREG32(PM1_BASE) -#define PM1_EN HWREG32(PM1_BASE + 0x04) -#define PM1_CNT HWREG32(PM1_BASE + 0x08) +#define PM1_BASE (PMCON_BASE + 0x0C) +#define PM1_STS HWREG32(PM1_BASE) +#define PM1_EN HWREG32(PM1_BASE + 0x04) +#define PM1_CNT HWREG32(PM1_BASE + 0x08) /* * Watch Dog Configuration Registers */ -#define WDT_BASE (PMCON_BASE + 0x30) -#define WDT_EN HWREG32(WDT_BASE) -#define WDT_SET HWREG32(WDT_BASE + 0x04) -#define WDT_TIMER HWREG32(WDT_BASE + 0x08) +#define WDT_BASE (PMCON_BASE + 0x30) +#define WDT_EN HWREG32(WDT_BASE) +#define WDT_SET HWREG32(WDT_BASE + 0x04) +#define WDT_TIMER HWREG32(WDT_BASE + 0x08) void rt_hw_board_init(void); |
