[U-Boot] [PATCH 00/12] Refactor bur board/common code

Hannes Schmelzer oe5hpm at oevsv.at
Fri Jul 6 13:41:17 UTC 2018


This patch series has the intention of preparing the move of all bur
boards to driver-model, cleaning up the over years growed code, make os
boot more flexible.

In another series we will make the move to DM with all its consequences
(adapting drivers, ....)

For doing all this there are several things todo and some decisions
regarding design were made.

decisions:
- move all boards to driver model
- no need for displaying splash/summary on linux targets
- more flexible boot process

todos:
- drop device-tree loading in common code
in future we can rely on the u-boot devicetree
- drop the device-tree based lcd initialization code
- use standard mechanism for getting mac-addresses
- new default-environment for more flexible boot



Hannes Schmelzer (12):
  board/BuR: drop devicetree loading and lcd setup for linux-targets
  board/BuR/common: drop simple-framebuffer setup
  board/BuR/common: make CONFIG_LCD optional
  board/BuR/brppt1: drop LCD-support
  board/BuR/common: remove interface Label from summary screen
  board/BuR/common: fix PMIC mpu-pll setup
  board/BuR/brppt1: drop dead code (CONFIG_SPL_OS_BOOT)
  board/BuR/common: refactor ft_board_setup(...)
  board/BuR/brppt1: implement more flexible boot process
  dts: am33xx: add u-boot, dm-spl to ocp bus
  board/BuR/brppt1: convert brppt1 boards to driver model
  board/BuR/brppt1: add makerule for generating production files

 arch/arm/dts/am335x-brppt1-mmc.dts  | 345 ++++++++++++++++++++++++++++++
 arch/arm/dts/am335x-brppt1-nand.dts | 363 ++++++++++++++++++++++++++++++++
 arch/arm/dts/am335x-brppt1-spi.dts  | 366 ++++++++++++++++++++++++++++++++
 arch/arm/dts/am33xx.dtsi            |   1 +
 board/BuR/brppt1/board.c            |  70 ++++---
 board/BuR/brppt1/config.mk          |  36 ++++
 board/BuR/common/common.c           | 407 ++++--------------------------------
 configs/brppt1_mmc_defconfig        |  52 ++++-
 configs/brppt1_nand_defconfig       |  54 ++++-
 configs/brppt1_spi_defconfig        |  57 +++--
 include/configs/brppt1.h            | 202 ++++++++----------
 include/configs/bur_am335x_common.h |  26 +--
 scripts/config_whitelist.txt        |   1 -
 13 files changed, 1418 insertions(+), 562 deletions(-)
 create mode 100644 arch/arm/dts/am335x-brppt1-mmc.dts
 create mode 100644 arch/arm/dts/am335x-brppt1-nand.dts
 create mode 100644 arch/arm/dts/am335x-brppt1-spi.dts
 create mode 100644 board/BuR/brppt1/config.mk

-- 
2.7.4



More information about the U-Boot mailing list