[PATCH master v2 0/3] ARM: rpi3: fix misc recent breakage

Ahmad Fatoum a.fatoum at pengutronix.de
Sun Apr 24 23:25:20 PDT 2022


barebox v2022.04.0 on the Raspberry Pi 3b is malformated, silent on the
mini UART and slow. Fix the root causes behind these issues.

This series is a bit bigger than what normally goes direct into master,
but I'd prefer it's applied directly to master, so we have the proper
fixes in v2022.05.0.

v1 -> v2:
  - remove duplicated __ARM_SETUP_STACK

Ahmad Fatoum (3):
  ARM: asm: fix miscompilation of 32-bit ENTRY_FUNCTION_WITHSTACK
  clk: add BCM2835 auxiliary peripheral clock driver
  clocksource: assign non-zero priorities to all clocksources

 arch/arm/include/asm/barebox-arm.h          | 10 +++-
 arch/arm/mach-at91/at91rm9200_time.c        |  1 +
 arch/arm/mach-davinci/time.c                |  1 +
 arch/arm/mach-ep93xx/clocksource.c          |  1 +
 arch/arm/mach-mxs/clocksource-imx23.c       |  1 +
 arch/arm/mach-mxs/clocksource-imx28.c       |  1 +
 arch/arm/mach-pxa/clocksource.c             |  1 +
 arch/arm/mach-samsung/s3c-timer.c           |  1 +
 arch/arm/mach-tegra/tegra20-timer.c         |  1 +
 arch/arm/mach-versatile/core.c              |  1 +
 arch/mips/lib/csrc-r4k.c                    |  1 +
 arch/mips/mach-xburst/csrc-jz4750.c         |  1 +
 arch/openrisc/lib/clock.c                   |  1 +
 arch/powerpc/mach-mpc5xxx/time.c            |  1 +
 arch/powerpc/mach-mpc85xx/time.c            |  1 +
 arch/sandbox/board/clock.c                  |  1 +
 drivers/clk/Makefile                        |  1 +
 drivers/clk/bcm/Makefile                    |  2 +
 drivers/clk/bcm/clk-bcm2835-aux.c           | 66 +++++++++++++++++++++
 drivers/clocksource/amba-sp804.c            |  1 +
 drivers/clocksource/arm_architected_timer.c |  1 +
 drivers/clocksource/arm_global_timer.c      |  1 +
 drivers/clocksource/arm_smp_twd.c           |  1 +
 drivers/clocksource/armv7m_systick.c        |  1 +
 drivers/clocksource/bcm2835.c               |  1 +
 drivers/clocksource/clps711x.c              |  1 +
 drivers/clocksource/digic.c                 |  1 +
 drivers/clocksource/dw_apb_timer.c          |  1 +
 drivers/clocksource/efi.c                   |  1 +
 drivers/clocksource/kvx_timer.c             |  1 +
 drivers/clocksource/mvebu.c                 |  1 +
 drivers/clocksource/nomadik.c               |  1 +
 drivers/clocksource/orion.c                 |  1 +
 drivers/clocksource/rk_timer.c              |  1 +
 drivers/clocksource/timer-atmel-pit.c       |  1 +
 drivers/clocksource/timer-imx-gpt.c         |  1 +
 drivers/clocksource/timer-ti-32k.c          |  1 +
 drivers/clocksource/timer-ti-dm.c           |  1 +
 drivers/clocksource/uemd.c                  |  1 +
 39 files changed, 112 insertions(+), 2 deletions(-)
 create mode 100644 drivers/clk/bcm/Makefile
 create mode 100644 drivers/clk/bcm/clk-bcm2835-aux.c

-- 
2.30.2




More information about the barebox mailing list