public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@arm.com>
To: Jagan Teki <jagan@amarulasolutions.com>
Cc: Samuel Holland <samuel@sholland.org>,
	Tom Rini <trini@konsulko.com>,
	u-boot@lists.denx.de, linux-sunxi@lists.linux.dev
Subject: [PATCH 0/4] sunxi: minor cleanups and refactoring
Date: Wed, 14 Dec 2022 00:22:40 +0000	[thread overview]
Message-ID: <20221214002244.31479-1-andre.przywara@arm.com> (raw)

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


             reply	other threads:[~2022-12-14  0:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-14  0:22 Andre Przywara [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221214002244.31479-1-andre.przywara@arm.com \
    --to=andre.przywara@arm.com \
    --cc=jagan@amarulasolutions.com \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=samuel@sholland.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox