
On Thu, May 24, 2018 at 9:24 AM Thomas Fitzsimmons fitzsim@fitzsim.org wrote:
Add support for Broadcom BCM7445
Changes for v2:
- Reorganize Kconfig to create ARCH_BCMSTB
- Use generic bcmstb SoC name wherever possible
- Eliminate crt0.S changes by moving relocation logic to bcmstb.c
- Use debug() macro where appropriate
- Read bcmstb_spi register base addresses from prior stage device tree, where possible
- Read bcmstb_sdhci register base address from prior stage DT
- Make timer register addresses configurable
- Fix BOLT typos
- Eliminate CONFIG_BCMSTB_ACCOMMODATE_STBLINUX by keeping FIT initramfs and device tree binary in-place
- Add README.bcm7xxx
- Read memory configuration from prior stage device tree
- Add CONFIG_OF_PRIOR_STAGE support in spi-uclass.c
- Fix issues reported by checkpatch.pl
- Fix issues reported by sparse
- Update some comments and formatting
- Add a MAINTAINERS file
Thomas Fitzsimmons (1): board: arm: Add support for Broadcom BCM7445
arch/arm/Kconfig | 12 + arch/arm/Makefile | 1 + arch/arm/mach-bcmstb/Kconfig | 64 ++++ arch/arm/mach-bcmstb/Makefile | 9 + arch/arm/mach-bcmstb/include/mach/gpio.h | 12 + arch/arm/mach-bcmstb/include/mach/hardware.h | 12 + arch/arm/mach-bcmstb/include/mach/prior_stage.h | 31 ++ arch/arm/mach-bcmstb/include/mach/sdhci.h | 16 + arch/arm/mach-bcmstb/include/mach/timer.h | 14 + arch/arm/mach-bcmstb/lowlevel_init.S | 22 ++ board/broadcom/bcmstb/MAINTAINERS | 6 + board/broadcom/bcmstb/Makefile | 9 + board/broadcom/bcmstb/bcmstb.c | 192 +++++++++++ configs/bcm7445_defconfig | 27 ++ doc/README.bcm7xxx | 147 ++++++++ drivers/mmc/Kconfig | 11 + drivers/mmc/Makefile | 1 + drivers/mmc/bcmstb_sdhci.c | 68 ++++ drivers/spi/Kconfig | 7 + drivers/spi/Makefile | 1 + drivers/spi/bcmstb_spi.c | 440 ++++++++++++++++++++++++ drivers/spi/spi-uclass.c | 2 +- dts/Kconfig | 7 + include/configs/bcmstb.h | 189 ++++++++++ include/fdtdec.h | 4 + lib/fdtdec.c | 4 + 26 files changed, 1307 insertions(+), 1 deletion(-) create mode 100644 arch/arm/mach-bcmstb/Kconfig create mode 100644 arch/arm/mach-bcmstb/Makefile create mode 100644 arch/arm/mach-bcmstb/include/mach/gpio.h create mode 100644 arch/arm/mach-bcmstb/include/mach/hardware.h create mode 100644 arch/arm/mach-bcmstb/include/mach/prior_stage.h create mode 100644 arch/arm/mach-bcmstb/include/mach/sdhci.h create mode 100644 arch/arm/mach-bcmstb/include/mach/timer.h create mode 100644 arch/arm/mach-bcmstb/lowlevel_init.S create mode 100644 board/broadcom/bcmstb/MAINTAINERS create mode 100644 board/broadcom/bcmstb/Makefile create mode 100644 board/broadcom/bcmstb/bcmstb.c create mode 100644 configs/bcm7445_defconfig create mode 100644 doc/README.bcm7xxx create mode 100644 drivers/mmc/bcmstb_sdhci.c create mode 100644 drivers/spi/bcmstb_spi.c create mode 100644 include/configs/bcmstb.h
I am tracing an issue that lead me to this commit, a huge single commit that changes everywhere. We should not have such a commit merged, sigh.
Regards, Bin