[PATCH 0/4] sunxi: minor cleanups and refactoring

Andre Przywara
2022-12-14T00:24:48Z

Just a collection of patches I came up with while trying to refactor and
reorganise the Allwinner SPL code.
Patch 1/4 aims to replace Tom's patch [1], which made
CONFIG_MMC_SUNXI_SLOT a proper Kconfig variable. A closer inspection
reveals that we don't really need that at all.
Patch 2 and 3 are just random cleanups.
Patch 4 is a low hanging fruit in the effort to separate ARM specific
code from strictly Allwinner platform routines. It also removes some
#ifdef's.

Please have a look!

Cheers,
Andre

[1] https://lore.kernel.org/u-boot/20221127152536.1556469-6-trini@konsulko.com/

Andre Przywara (4):
sunxi: remove unused CONFIG_MMC_SUNXI_SLOT
sunxi: remove bogus mmc_pinmux_setup() prototype
sunxi: board: annotate #endif lines
sunxi: move arch timer setup out of board/ directory

arch/arm/mach-sunxi/Makefile | 4 +++
arch/arm/mach-sunxi/arch_timer.c | 39 +++++++++++++++++++++
arch/arm/mach-sunxi/board.c | 22 +++++++-----
arch/arm/mach-sunxi/clock_sun6i.c | 4 +--
board/sunxi/board.c | 58 +++++++------------------------
include/configs/sunxi-common.h | 3 --
scripts/config_whitelist.txt | 1 -
7 files changed, 72 insertions(+), 59 deletions(-)
create mode 100644 arch/arm/mach-sunxi/arch_timer.c

--
2.35.5