> From: Tom Rini <tr...@konsulko.com> > Sent: Thursday, August 26, 2021 11:48 PM > To: u-boot@lists.denx.de > Cc: Alexey Brodkin <alexey.brod...@synopsys.com>; Anup Patel > <anup.pa...@wdc.com>; Atish Patra <atish.pa...@wdc.com>; Bin Meng > <bmeng...@gmail.com>; Daniel Schwierzeck <daniel.schwierz...@gmail.com>; Leo > Yu-Chi Liang(梁育齊) <ycli...@andestech.com>; Palmer Dabbelt > <pal...@dabbelt.com>; Paul Walmsley <paul.walms...@sifive.com>; Rick Jian-Zhi > Chen(陳建志) <r...@andestech.com>; Sean Anderson <sean...@gmail.com>; Simon > Glass <s...@chromium.org> > 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 <alexey.brod...@synopsys.com> > Cc: Anup Patel <anup.pa...@wdc.com> > Cc: Atish Patra <atish.pa...@wdc.com> > Cc: Bin Meng <bmeng...@gmail.com> > Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com> > Cc: Leo <ycli...@andestech.com> > Cc: Palmer Dabbelt <pal...@dabbelt.com> > Cc: Paul Walmsley <paul.walms...@sifive.com> > Cc: Rick Chen <r...@andestech.com> > Cc: Sean Anderson <sean...@gmail.com> > Cc: Simon Glass <s...@chromium.org> > Signed-off-by: Tom Rini <tr...@konsulko.com> > --- > 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 <r...@andestech.com>