mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
powerpc: P2041: Remove macro CONFIG_PPC_P2041
Replace CONFIG_PPC_P2041 with ARCH_P2041 in Kconfig and clean up existing macros. Signed-off-by: York Sun <york.sun@nxp.com>
This commit is contained in:
@ -26,7 +26,7 @@ static void check_erratum_a4849(uint32_t svr)
|
||||
void __iomem *dcsr = (void *)CONFIG_SYS_DCSRBAR + 0xb0000;
|
||||
unsigned int i;
|
||||
|
||||
#if defined(CONFIG_PPC_P2041) || defined(CONFIG_PPC_P3041)
|
||||
#if defined(CONFIG_ARCH_P2041) || defined(CONFIG_PPC_P3041)
|
||||
static const uint8_t offsets[] = {
|
||||
0x50, 0x54, 0x58, 0x90, 0x94, 0x98
|
||||
};
|
||||
@ -45,7 +45,7 @@ static void check_erratum_a4849(uint32_t svr)
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(CONFIG_PPC_P2041) || defined(CONFIG_PPC_P3041)
|
||||
#if defined(CONFIG_ARCH_P2041) || defined(CONFIG_PPC_P3041)
|
||||
x108 = 0x12;
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user