From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Sun, 23 Nov 2014 08:17:23 -0700 Subject: [U-Boot] Please pull u-boot-dm Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Tom, There several driver model series outstanding. This request tries to bring in what I think is ready for merging. - at91 series - most of the SPL series, but as mentioned I need a revert of 1ee30aee before enabling this on Tegra (I know you are working on that) - the common parts of the I2C series. You may have seen Masahiro's suggestion to change the uclass <-> driver interface to something more like Linux. I would like to investigate this before merging the I2C series. - a few other fairly small clean-ups This leaves about 12 patches to come from the above series, which is a more manageable level. If we can sort out the I2C uclass and revert then I should be able to do this in the next week or so. One I2C is sorted out I can merge Thierry's Tegra PCI-e series which depends on it. Then there are a few remaining patches from Masahiro to integrate, and hopefully fixing up driver model to use Kconfig everywhere. That will complete the driver model work for 2015.01. -- The following changes since commit 4d70b34d7f721d8b1d4d628e68c3a44ab7a10dff: Merge branch 'master' of git://git.denx.de/u-boot-ubi (2014-11-19 23:18:29 -0500) are available in the git repository at: git://git.denx.de/u-boot-dm.git for you to fetch changes up to 17b28edb37a33d0c89089faf36e4edd7084f65fa: dm: core: remove unnecessary return condition in uclass lookup (2014-11-22 10:16:49 +0100) ---------------------------------------------------------------- Masahiro Yamada (4): dm: core: a trivial clean up dm: core: remove meaningless if conditional dm: core: remove unnecessary return condition in driver lookup dm: core: remove unnecessary return condition in uclass lookup Simon Glass (29): dm: at91: Correct text base for snapper9260 dm: at91: Move snapper9260 to generic baord dm: at91: Add driver model support for atmel GPIO driver dm: at91: Add platform data for GPIO on at91sam9260-based boards dm: at91: Refactor serial driver slightly for driver model dm: at91: Add driver model support for the serial driver dm: at91: Convert snapper9260 to use driver model dm: at91: Add myself as maintainer for snapper9260 dm: serial: Support changing the baud rate dm: tegra: Avoid using arch-specific memcpy() in SPL dm: Split the simple malloc() implementation into its own file dm: arm: spl: Allow simple malloc() in SPL dm: spl: Make simple malloc() available when enabled dm: spl: Allow driver model to be used dm: Allow device removal features to be dropped dm: Allow stdio registration to be dropped dm: Disable dm_warn() in SPL dm: tegra: Add platform data for the SPL uart dm: tegra: Add platform data for the GPIO driver dm: arm: spl: Make driver model linker lists available dm: Update documentation to include CONFIG_DM... options dm: i2c: Move error reporting into a common function dm: core: Allow access to the device's driver_id data dm: core: Add functions to find parent and OF data dm: fdt: Correct handling of aliases with embedded digits dm: Add a function to bind a device by driver name dm: spi: Correct handling of SPI chip selects in sandbox dm: spi: Use device_bind_driver() instead of our own function cros_ec: Fix uninitialised variable in cros_ec.c README | 119 +++++++++++++++++++++++++++ arch/arm/cpu/arm926ejs/at91/at91sam9260_devices.c | 14 ++++ arch/arm/cpu/u-boot-spl.lds | 7 ++ arch/arm/include/asm/arch-at91/at91sam9260.h | 4 +- arch/arm/include/asm/arch-at91/atmel_serial.h | 15 ++++ arch/arm/include/asm/arch-at91/gpio.h | 6 ++ arch/arm/lib/crt0.S | 2 +- board/bluewater/snapper9260/MAINTAINERS | 2 +- board/bluewater/snapper9260/snapper9260.c | 18 ++++- board/nvidia/common/board.c | 8 ++ common/Makefile | 3 + common/board_r.c | 3 +- common/cmd_i2c.c | 32 +++++--- common/dlmalloc.c | 19 ++--- common/malloc_simple.c | 39 +++++++++ common/spl/spl.c | 16 +++- doc/driver-model/README.txt | 44 +++++++--- drivers/core/Makefile | 3 +- drivers/core/device-remove.c | 187 ++++++++++++++++++++++++++++++++++++++++++ drivers/core/device.c | 178 +++------------------------------------- drivers/core/lists.c | 50 ++++++++---- drivers/core/root.c | 4 +- drivers/gpio/at91_gpio.c | 241 ++++++++++++++++++++++++++++++++++++++++++------------- drivers/misc/cros_ec.c | 1 + drivers/mtd/spi/sandbox.c | 4 +- drivers/serial/atmel_usart.c | 116 +++++++++++++++++++++++--- drivers/serial/serial-uclass.c | 77 +++++++++++++++++- drivers/serial/serial_tegra.c | 16 ++++ drivers/spi/spi-uclass.c | 34 +------- include/asm-generic/global_data.h | 1 + include/config_defaults.h | 6 ++ include/configs/snapper9260.h | 12 ++- include/configs/tegra-common.h | 2 + include/dm/device-internal.h | 10 +++ include/dm/device.h | 19 +++++ include/dm/lists.h | 13 +++ include/dm/util.h | 6 ++ include/malloc.h | 60 ++++++++------ include/spi.h | 14 ++-- lib/fdtdec.c | 6 +- scripts/Makefile.spl | 1 + 41 files changed, 1048 insertions(+), 364 deletions(-) create mode 100644 arch/arm/include/asm/arch-at91/atmel_serial.h create mode 100644 common/malloc_simple.c create mode 100644 drivers/core/device-remove.c Regards, Simon