> From: Tom Rini <[email protected]> > Sent: Thursday, August 26, 2021 11:48 PM > To: [email protected] > Cc: Alexey Brodkin <[email protected]>; Anup Patel > <[email protected]>; Atish Patra <[email protected]>; Bin Meng > <[email protected]>; Daniel Schwierzeck <[email protected]>; Leo > Yu-Chi Liang(梁育齊) <[email protected]>; Palmer Dabbelt > <[email protected]>; Paul Walmsley <[email protected]>; Rick Jian-Zhi > Chen(陳建志) <[email protected]>; Sean Anderson <[email protected]>; Simon > Glass <[email protected]> > Subject: [PATCH] Finish converting CONFIG_SYS_CACHELINE_SIZE to Kconfig > > We move the SYS_CACHE_SHIFT_N options from arch/arm/Kconfig to arch/Kconfig, > and introduce SYS_CACHE_SHIFT_4 to provide a size of 16. > Introduce select statements for other architectures based on current usage. > For MIPS, we take the existing arch-specific symbol and migrate to the > generic symbol. This lets us remove a little bit of otherwise unused code. > > Cc: Alexey Brodkin <[email protected]> > Cc: Anup Patel <[email protected]> > Cc: Atish Patra <[email protected]> > Cc: Bin Meng <[email protected]> > Cc: Daniel Schwierzeck <[email protected]> > Cc: Leo <[email protected]> > Cc: Palmer Dabbelt <[email protected]> > Cc: Paul Walmsley <[email protected]> > Cc: Rick Chen <[email protected]> > Cc: Sean Anderson <[email protected]> > Cc: Simon Glass <[email protected]> > Signed-off-by: Tom Rini <[email protected]> > --- > I'm Cc'ing a bunch of RISC-V folks since that's where I'm least confident and > just put it per-board for now. > --- > arch/Kconfig | 25 +++++++++++++++++++++++++ > arch/arc/include/asm/cache.h | 3 --- > arch/arm/Kconfig | 15 --------------- > arch/mips/Kconfig | 26 +++----------------------- > arch/mips/include/asm/cache.h | 12 +----------- > arch/mips/mach-bmips/Kconfig | 20 ++++++++++---------- > arch/mips/mach-mtmips/Kconfig | 4 ++-- > arch/mips/mach-pic32/Kconfig | 2 +- > arch/powerpc/cpu/mpc83xx/Kconfig | 6 ++++++ > arch/powerpc/cpu/mpc85xx/Kconfig | 15 +++++++++++++++ > arch/powerpc/cpu/mpc8xx/Kconfig | 2 ++ > arch/powerpc/include/asm/cache.h | 7 ------- > arch/riscv/Kconfig | 2 ++
Reviewed-by: Rick Chen <[email protected]>

