[U-Boot] [PATCH v4 0/5] Clean out SPL and enable driver model

Simon Glass sjg at chromium.org
Tue Feb 10 22:35:08 CET 2015


This series includes a few more patches aimed at getting rid of gdata, the
parallel global_data structure introduced on some ARM boards.

It also collects together the other patches which have been sent previously,
so that everything is in one place.

I would like get this agreed and applied to u-boot-dm this week if possible
so that we will at last have driver model available in SPL.

This series is available at u-boot-dm/spl-working.

Changes in v4:
- Squash the gdata revert patch into this one
- Allow gdata to survive unless CONFIG_DM is defined, for now
- Rebase on top of dm/master
- Adjust README to mention that lowlevel_init() should have no stack
- Add new patch to make the export interface support CONFIG_SYS_MALLOC_SIMPLE

Changes in v3:
- Drop extra blank line

Changes in v2:
- Remove gdata definition from ARM spl header file also
- Rebase on top of the SPI series
- Move docs to top-level README file and expand them to cover U-Boot proper
- Add Kconfig settings

Simon Glass (5):
  arm: Reduce the scope of lowlevel_init()
  arm: spl: Avoid setting up a duplicate global data structure
  dm: tegra: Enable driver model in SPL and adjust the GPIO driver
  arm: spl: Allow board_init_r() to run with a larger stack
  Make export interface support CONFIG_SYS_MALLOC_SIMPLE

 Kconfig                                 | 18 +++++++++
 README                                  | 69 +++++++++++++++++++++++++++++++++
 arch/arm/cpu/armv7/lowlevel_init.S      | 23 ++++++-----
 arch/arm/cpu/armv7/tegra-common/Kconfig | 15 ++++---
 arch/arm/include/asm/spl.h              |  2 +
 arch/arm/lib/crt0.S                     | 13 +++++--
 arch/arm/lib/spl.c                      |  4 ++
 board/nvidia/seaboard/seaboard.c        |  4 +-
 common/spl/spl.c                        | 35 +++++++++++++++++
 drivers/gpio/Makefile                   |  4 ++
 drivers/gpio/tegra_gpio.c               | 27 ++++++-------
 include/_exports.h                      |  2 +
 include/configs/tegra-common.h          |  6 ---
 include/exports.h                       |  2 +
 14 files changed, 180 insertions(+), 44 deletions(-)

-- 
2.2.0.rc0.207.ga3a616c



More information about the U-Boot mailing list