public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/4] sunxi: minor cleanups and refactoring
@ 2022-12-14  0:22 Andre Przywara
  2022-12-14  0:22 ` [PATCH 1/4] sunxi: remove unused CONFIG_MMC_SUNXI_SLOT Andre Przywara
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Andre Przywara @ 2022-12-14  0:22 UTC (permalink / raw)
  To: Jagan Teki; +Cc: Samuel Holland, Tom Rini, u-boot, linux-sunxi

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-01-04  1:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-14  0:22 [PATCH 0/4] sunxi: minor cleanups and refactoring Andre Przywara
2022-12-14  0:22 ` [PATCH 1/4] sunxi: remove unused CONFIG_MMC_SUNXI_SLOT Andre Przywara
2022-12-14  5:45   ` Samuel Holland
2022-12-14  0:22 ` [PATCH 2/4] sunxi: remove bogus mmc_pinmux_setup() prototype Andre Przywara
2022-12-14  5:46   ` Samuel Holland
2022-12-14  0:22 ` [PATCH 3/4] sunxi: board: annotate #endif lines Andre Przywara
2022-12-14  5:49   ` Samuel Holland
2022-12-14  0:22 ` [PATCH 4/4] sunxi: move arch timer setup out of board/ directory Andre Przywara
2022-12-14  6:14   ` Samuel Holland
2023-01-04  1:13     ` Andre Przywara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox