mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-16 23:07:00 +00:00
global: Migrate CONFIG_LOWPOWER_FLAG to CFG
Perform a simple rename of CONFIG_LOWPOWER_FLAG to CFG_LOWPOWER_FLAG Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
77db07ce1c
commit
8000ac874c
2 changed files with 3 additions and 3 deletions
|
@ -73,7 +73,7 @@ static void low_power_start(void)
|
|||
|
||||
reg_val = readl(EXYNOS5420_SPARE_BASE);
|
||||
if (reg_val != CPU_RST_FLAG_VAL) {
|
||||
writel(0x0, CONFIG_LOWPOWER_FLAG);
|
||||
writel(0x0, CFG_LOWPOWER_FLAG);
|
||||
branch_bx(0x0);
|
||||
}
|
||||
|
||||
|
@ -160,7 +160,7 @@ static void secondary_cores_configure(void)
|
|||
writel(0x0, (EXYNOS_RELOCATE_CODE_BASE + 0x1C));
|
||||
|
||||
/* set lowpower flag and address */
|
||||
writel(CPU_RST_FLAG_VAL, CONFIG_LOWPOWER_FLAG);
|
||||
writel(CPU_RST_FLAG_VAL, CFG_LOWPOWER_FLAG);
|
||||
writel((uint32_t)&low_power_start, CFG_LOWPOWER_ADDR);
|
||||
writel(CPU_RST_FLAG_VAL, EXYNOS5420_SPARE_BASE);
|
||||
/* Store jump address for power down */
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
/*
|
||||
* Low Power settings
|
||||
*/
|
||||
#define CONFIG_LOWPOWER_FLAG 0x02020028
|
||||
#define CFG_LOWPOWER_FLAG 0x02020028
|
||||
#define CFG_LOWPOWER_ADDR 0x0202002C
|
||||
|
||||
#endif /* __CONFIG_EXYNOS5420_H */
|
||||
|
|
Loading…
Add table
Reference in a new issue