[U-Boot] [PATCH 00/29] blackfin: Add driver-model and device tree suport
Simon Glass
sjg at chromium.org
Thu Dec 15 04:27:31 CET 2016
At present the only serial driver that is not converted to driver mode is
blackfin. As I recently obtained a suitable board from a kind donor I have
decided to convert the driver over, as the unpalatable alternative would
be to remove blackfin support from U-Boot.
Blackfin's init sequence is someone non-standard. This series adjusts this
to fit more with how things are now done, adds device-tree support, a
serial driver and enables driver model on bf537-stamp.
A few CONFIG options are dropped in this series also, as these were
noticed along the way.
Future work could enhance the serial driver to support v4 hardware and
convert all boards to driver model.
Simon Glass (29):
blackfin: Drop CONFIG_SYS_MEMTEST_START/END
fdt: Allow the device tree to be set up by board init code
blackfin: Add a few useful linker symbols
blackfin: Drop the extra blank line in the link script
blackfin: Use compiler-generated symbols for BSS
blackfin: Clear the BSS in C code
blackfin: Add a memory region for pre-relocation data
blackfin: Use generic board to set the stack address
blackfin: Avoid using bd_info in print_cpuinfo()
blackfin: Avoiding using P3 in early init
blackfin: Allow cpu_init_f() to return
blackfin: Drop CONFIG_STACKBASE
tegra: Drop CONFIG_STACKBASE in favour of TEGRA_STACKBASE
sparc: Drop CONFIG_SYS_MALLOC_BASE
blackfin: Drop CONFIG_SYS_MALLOC_BASE
Drop CONFIG_SYS_MALLOC_END
blackfin: Call C code to relocate
blackfin: Don't set global_data again
blackfin: Set the RAM size separately from bd_info
blackfin: Set up bd_info later
blackfin: Copy the device tree out of BSS
blackfin: Allow use of CONFIG_OF_CONTROL
blackfin: bf537-stamp: Enable CONFIG_OF_CONTROL
dm: serial: Reset the watchdog when outputting characters
dm: serial: pxa: Drop pxa from the serial README
dm: serial: Update the serial README
dm: blackfin: Add a driver-model serial driver
blackfin: Set up the debug UART if enabled
blackfin: Enable driver-model on bf537-stamp
arch/Kconfig | 1 +
arch/blackfin/Kconfig | 9 ++
arch/blackfin/cpu/cpu.c | 69 +++++++------
arch/blackfin/cpu/start.S | 35 +++----
arch/blackfin/cpu/u-boot.lds | 24 ++++-
arch/blackfin/dts/Makefile | 18 ++++
arch/blackfin/dts/bf537-stamp.dts | 11 +++
arch/blackfin/include/asm/config.h | 12 ---
arch/blackfin/include/asm/serial1.h | 2 +
arch/blackfin/include/asm/u-boot.h | 5 +
arch/blackfin/lib/sections.c | 2 +-
cmd/bdinfo.c | 2 -
configs/bf537-stamp_defconfig | 8 ++
doc/driver-model/serial-howto.txt | 11 +--
drivers/serial/Kconfig | 8 ++
drivers/serial/serial-uclass.c | 2 +
drivers/serial/serial_bfin.c | 192 ++++++++++++++++++++++++++++++++++++
include/configs/bf537-stamp.h | 1 +
include/configs/bf609-ezkit.h | 1 -
include/configs/gr_cpci_ax2000.h | 5 +-
include/configs/gr_ep2s60.h | 5 +-
include/configs/gr_xc3s_1500.h | 5 +-
include/configs/grsim.h | 5 +-
include/configs/grsim_leon2.h | 5 +-
include/configs/openrisc-generic.h | 3 -
include/configs/s32v234evb.h | 4 -
include/configs/tegra-common.h | 2 +-
include/configs/tegra114-common.h | 2 +-
include/configs/tegra124-common.h | 2 +-
include/configs/tegra186-common.h | 2 +-
include/configs/tegra20-common.h | 2 +-
include/configs/tegra210-common.h | 2 +-
include/configs/tegra30-common.h | 2 +-
lib/fdtdec.c | 31 +++---
scripts/config_whitelist.txt | 3 -
35 files changed, 360 insertions(+), 133 deletions(-)
create mode 100644 arch/blackfin/dts/Makefile
create mode 100644 arch/blackfin/dts/bf537-stamp.dts
--
2.8.0.rc3.226.g39d4020
More information about the U-Boot
mailing list