[U-Boot] Please pull u-boot-dm
Simon Glass
sjg at chromium.org
Thu Apr 23 18:24:32 CEST 2015
Hi Tom,
This brings in core features to support PMICs (which should come
within a week so), core test fixes and most of the SPL device tree
support . I'd like to do this in two pieces since this is all somewhat
risky.
The images sizes mostly drop slightly with these patches which is a
good sign (i.e. it would indicate a problem if they increased a lot).
16: dm: Init device tree as well as driver model in SPL
blackfin: (for 34/35 boards) all -26.8 data -4.0 rodata -14.4 text -8.5
x86: (for 6/6 boards) all -24.0 bss +216.0 data -4.0 rodata
-76.0 text -160.0
avr32: (for 10/10 boards) all -3.6 data -1.6 text -2.0
sandbox: (for 1/1 boards) all -56.0 rodata -96.0 text +40.0
m68k: (for 48/48 boards) all -1.5 data -2.3 text +0.9
powerpc: (for 406/411 boards) all -81.3 bss +0.1 data -3.5
rodata -0.7 spl/u-boot-spl:all +44.7 spl/u-boot-spl:data +50.0
spl/u-boot-spl:rodata +2.2 spl/u-boot-spl:text -7.4 text -77.1
sparc: (for 5/5 boards) all +48.0 text +48.0
sh: (for 21/22 boards) all +53.1 text +53.1
nios2: (for 1/1 boards) data -4.0 text +4.0
mips: (for 24/24 boards) all +0.7 bss -3.3 data -4.3 text +8.3
arm: (for 496/496 boards) all -67.2 bss -0.4 data -0.7
rodata -16.1 spl/u-boot-spl:all +27.6 spl/u-boot-spl:bss -0.0
spl/u-boot-spl:rodata +59.1 spl/u-boot-spl:text -31.5 text -50.0
nds32: (for 3/3 boards) all +84.0 text +84.0
The following changes since commit d77447fdb122dab290fb1ad184a62456011e6e06:
serial: pl01x: fix PL010 regression (2015-04-21 10:05:42 -0400)
are available in the git repository at:
http://git.denx.de/u-boot-dm.git
for you to fetch changes up to f3d46bd658ef4df575ec26c29e472ac858723159:
dm: Init device tree as well as driver model in SPL (2015-04-23
09:05:55 -0600)
----------------------------------------------------------------
Przemyslaw Marczak (11):
dm: core: add internal functions for getting the device without probe
dm: core: Extend struct udevice by '.uclass_platdata' field.
dm: test: Add tests for device's uclass platform data
dm: test: Add tests for get/find uclass devices
dm: core: uclass: add function: uclass_find_device_by_name()
dm: core: uclass: add function: uclass_get_device_by_name()
dm: core: device: add function: dev_get_driver_ops()
dm: core: device: add function: dev_get_uclass_name()
dm: core: remove type 'static' of function uclass_get_device_tail()
dm: test: Add tests for get/find uclass's device by name
dm: core: precise comments for get/find device by name
Simon Glass (20):
dm: core: Handle recursive unbinding of uclass devices
dm: usb: Add a terminator to the string destructor list
dm: Update the README to reflect the current test output
dm: test: Don't clear global_data in dm_test_uclass_before_ready()
exynos: sandbox: ti: Add SPDX license identifiers and notes
serial: ns16550: Add an option to specify the debug UART register shift
dm: ns16550: Support non-byte register spacing with driver model
serial: ns16550: Remove unnecessary init on UART setup
dm: core: Allow sequence alias support to be removed for SPL
dm: core: Remove unbind operations when not required
dm: Add a panic_str() function to reduce code size
dm: core: Drop device removal error path when not supported
fdt: sandbox: Move setup code from board_f to fdtdec
fdt: Rename setup_fdt() and make it prepare also
Move initf_malloc() to a common place
Correct malloc_limit value for pre-relocation malloc()
fdt: Add an option to disable device tree in SPL
fdt: Allow FDT functions to be built for SPL
dm: core: Select device tree control correctly for SPL
dm: Init device tree as well as driver model in SPL
arch/arm/dts/exynos4210-pinctrl-uboot.dtsi | 2 +
arch/arm/dts/exynos4x12-pinctrl-uboot.dtsi | 2 +
arch/arm/dts/exynos5250-pinctrl-uboot.dtsi | 2 +
arch/arm/dts/exynos54xx-pinctrl-uboot.dtsi | 2 +
arch/arm/dts/s5pc100-pinctrl.dtsi | 2 +
arch/arm/dts/s5pc110-pinctrl.dtsi | 2 +
arch/sandbox/cpu/cpu.c | 41 ++++++++++++++++++
arch/sandbox/include/asm/bitops.h | 2 +
arch/sandbox/include/asm/u-boot-sandbox.h | 8 ++++
common/board_f.c | 84
++-----------------------------------
common/dlmalloc.c | 11 +++++
common/spl/spl.c | 22 ++++++++--
doc/driver-model/README.txt | 58 +++++++++++++++++++++----
drivers/core/Kconfig | 9 ++++
drivers/core/device-remove.c | 4 ++
drivers/core/device.c | 103
+++++++++++++++++++++++++++++++++------------
drivers/core/root.c | 14 ++++---
drivers/core/uclass.c | 122
++++++++++++++++++++++++++++++++++++-----------------
drivers/serial/Kconfig | 10 +++++
drivers/serial/ns16550.c | 36 +++++++++-------
drivers/serial/serial-uclass.c | 2 +-
drivers/usb/emul/sandbox_hub.c | 1 +
dts/Kconfig | 11 +++--
include/config_uncmd_spl.h | 1 +
include/dm/device.h | 38 ++++++++++++++++-
include/dm/test.h | 20 +++++++++
include/dm/uclass-internal.h | 108
++++++++++++++++++++++++++++++++++++-----------
include/dm/uclass.h | 19 +++++++++
include/fdtdec.h | 16 +++++++
include/malloc.h | 3 ++
include/vsprintf.h | 23 ++++++++++
lib/Makefile | 6 +++
lib/fdtdec.c | 39 +++++++++++++++--
lib/vsprintf.c | 23 +++++++---
test/dm/core.c | 175
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
test/dm/test-uclass.c | 11 +++++
36 files changed, 815 insertions(+), 217 deletions(-)
Regards,
Simon
More information about the U-Boot
mailing list