From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] Please pull u-boot-dm
Date: Thu, 14 Jul 2016 22:02:40 -0600 [thread overview]
Message-ID: <CAPnjgZ3_ayUD3fOtFYhuDKjaYSWmmy4takCBd1mS2Dz84mTniQ@mail.gmail.com> (raw)
Hi Tom,
Here is the of-platdata implementation, including the introduction of
sandbox_spl.
The following changes since commit 3a592a1349ac3961b0f4f2db0a8d9f128225d897:
Revert "armv8: Enable CPUECTLR.SMPEN for coherency" (2016-07-14
17:36:18 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 1269625177f120d659f66b18de4b532b16c44561:
dm: Update the of-platdata README for the new features (2016-07-14
20:40:24 -0600)
----------------------------------------------------------------
Simon Glass (62):
sandbox: Don't print a warning for CONFIG_I2C_COMPAT
README: Remove CONFIG_SYS_MALLOC_F_LEN comment
spl: Drop include of i2c.h
Makefile: Allow the SPL final link rule to be overridden
sandbox: Allow chaining from SPL to U-Boot proper
sandbox: Support building an SPL image
sandbox: Correct header file order in cpu.c
sandbox: Add some missing headers in cpu.c
sandbox: Don't use PCI in SPL
sandbox: Don't include the main loop in SPL
sandbox: Add basic SPL implementation
sandbox: Don't use IDE and iotrace in SPL
sandbox: serial: Don't sync video in SPL
sandbox: Add a new sandbox_spl board
sandbox: Add a test device that uses of-platdata
dm: spl: Don't set up device tree with of-platdata
dm: Makefile: Build of-platdata before SPL
dm: core: Don't use device tree with of-platdata
dm: regmap: Add a dummy implementation for of-platdata
dm: syscon: Add support for of-platdata
dm: sandbox: Add a simple driver to test of-platdata
dm: Add a header that provides access to the of-platdata structs
dm: clk: Add support for of-platdata
dm: serial: Add support for of-platdata
dm: Don't include fdtdec functions when of-platdata is enabled
dm: Add an option to enable the of-platdata feature
dm: Add a README for of-platdata
dm: Add a library to provide simple device-tree access
dm: Add a tool to generate C code from a device tree
dm: Makefile: Build of-platdata files when the feature is enabled
dm: Add a more efficient libfdt library
Only build the libfdt python module if 'swig' is available
tiny-printf: Support assert()
dm: spl: Bind in all devices in SPL with of-platdata
dm: core: Rename DM_NAME_ALLOCED to DM_FLAG_NAME_ALLOCED
dtoc: Ignore the u-boot, dm-pre-reloc property
dm: Don't attach the device tree to SPL with of-platdata
dm: core: Expand platdata for of-platdata devices
sandbox: Don't bring in the eeprom emulator in SPL
dm: sandbox: Enable of-platdata for sandbox_spl
dm: core: Move regmap allocation into a separate function
dm: core: Add an implementation of regmap_init_mem_platdata()
dm: serial: ns16550: Update to support of-platdata
rockchip: serial: Add an of-platdata driver for rockchip
rockchip: Update the sdram-channel property to support of-platdata
rockchip: mmc: Move all DT decoding to ofdata_to_platdata()
rockchip: mmc: Update the driver to support of-platdata
rockchip: clk: Move all DT decoding to ofdata_to_platdata()
rockchip: clk: Update the rk3288 driver to support of-platdata
rockchip: pinctrl: Update the rk3288 driver to support of-platdata
rockchip: Move the MMC setup check earlier
rockchip: Don't use spl_boot_device() with of-platdata
rockchip: syscon: Update to work with of-platdata
rockchip: sdram: Move all DT decoding to ofdata_to_platdata()
rockchip: sdram: Update the driver to support of-platdata
rockchip: Use of-platdata for firefly-rk3288
test/py: Handle testing with the sandbox_spl board
test/py: Note which console produced unexpected output
test/py: Provide a way to get early console output
test/py: Start sandbox SPL when enabled
dm: Add a test for of-platdata
dm: Update the of-platdata README for the new features
Makefile | 5 +-
README | 3 -
arch/arm/dts/rk3288-firefly.dts | 3 +-
arch/arm/include/asm/arch-rockchip/sdram.h | 14 +--
arch/arm/mach-rockchip/rk3288-board-spl.c | 25 ++--
arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 130 +++++++++++++++-----
arch/arm/mach-rockchip/rk3288/syscon_rk3288.c | 38 ++++++
arch/sandbox/Kconfig | 7 +-
arch/sandbox/config.mk | 5 +
arch/sandbox/cpu/Makefile | 1 +
arch/sandbox/cpu/cpu.c | 6 +-
arch/sandbox/cpu/os.c | 51 ++++++++
arch/sandbox/cpu/spl.c | 68 +++++++++++
arch/sandbox/cpu/start.c | 2 +
arch/sandbox/cpu/u-boot-spl.lds | 24 ++++
arch/sandbox/dts/sandbox.dts | 31 +++++
arch/sandbox/include/asm/spl.h | 23 ++++
arch/sandbox/lib/Makefile | 2 +
board/sandbox/MAINTAINERS | 7 ++
common/spl/spl.c | 6 +-
configs/firefly-rk3288_defconfig | 3 +
configs/sandbox_spl_defconfig | 183 +++++++++++++++++++++++++++
doc/driver-model/of-plat.txt | 310
++++++++++++++++++++++++++++++++++++++++++++++
drivers/clk/clk-uclass.c | 22 +++-
drivers/clk/clk_fixed_rate.c | 2 +
drivers/clk/clk_rk3288.c | 33 ++++-
drivers/core/device-remove.c | 2 +-
drivers/core/device.c | 47 +++++--
drivers/core/lists.c | 2 +-
drivers/core/regmap.c | 57 +++++++--
drivers/core/root.c | 4 +-
drivers/core/syscon-uclass.c | 13 ++
drivers/misc/Makefile | 7 ++
drivers/misc/spltest_sandbox.c | 53 ++++++++
drivers/mmc/rockchip_dw_mmc.c | 59 ++++++---
drivers/pinctrl/rockchip/pinctrl_rk3288.c | 8 +-
drivers/serial/Kconfig | 9 ++
drivers/serial/Makefile | 3 +
drivers/serial/ns16550.c | 4 +-
drivers/serial/sandbox.c | 2 +
drivers/serial/serial-uclass.c | 8 +-
drivers/serial/serial_rockchip.c | 43 +++++++
dts/Kconfig | 21 ++++
include/clk.h | 4 +
include/configs/sandbox.h | 4 +
include/configs/sandbox_spl.h | 20 +++
include/dm/device.h | 6 +-
include/dm/platdata.h | 5 +
include/dt-structs.h | 19 +++
include/os.h | 25 ++++
include/regmap.h | 16 +++
include/syscon.h | 11 ++
lib/Makefile | 5 +-
lib/libfdt/libfdt.swig | 89 ++++++++++++++
lib/libfdt/setup.py | 38 ++++++
lib/libfdt/test_libfdt.py | 14 +++
lib/tiny-printf.c | 9 ++
scripts/Makefile.host | 9 +-
scripts/Makefile.spl | 47 ++++++-
test/py/conftest.py | 2 +-
test/py/tests/test_ofplatdata.py | 42 +++++++
test/py/u_boot_console_base.py | 12 +-
test/py/u_boot_console_sandbox.py | 6 +-
test/py/u_boot_spawn.py | 13 ++
tools/Makefile | 14 +++
tools/dtoc/.gitignore | 1 +
tools/dtoc/dtoc | 1 +
tools/dtoc/dtoc.py | 394
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
tools/dtoc/fdt.py | 180 +++++++++++++++++++++++++++
tools/dtoc/fdt_fallback.py | 207
+++++++++++++++++++++++++++++++
tools/dtoc/fdt_util.py | 86 +++++++++++++
71 files changed, 2495 insertions(+), 130 deletions(-)
create mode 100644 arch/sandbox/cpu/spl.c
create mode 100644 arch/sandbox/cpu/u-boot-spl.lds
create mode 100644 arch/sandbox/include/asm/spl.h
create mode 100644 configs/sandbox_spl_defconfig
create mode 100644 doc/driver-model/of-plat.txt
create mode 100644 drivers/misc/spltest_sandbox.c
create mode 100644 drivers/serial/serial_rockchip.c
create mode 100644 include/configs/sandbox_spl.h
create mode 100644 include/dt-structs.h
create mode 100644 lib/libfdt/libfdt.swig
create mode 100644 lib/libfdt/setup.py
create mode 100644 lib/libfdt/test_libfdt.py
create mode 100644 test/py/tests/test_ofplatdata.py
create mode 100644 tools/dtoc/.gitignore
create mode 120000 tools/dtoc/dtoc
create mode 100755 tools/dtoc/dtoc.py
create mode 100644 tools/dtoc/fdt.py
create mode 100644 tools/dtoc/fdt_fallback.py
create mode 100644 tools/dtoc/fdt_util.py
Regards,
Simon
next reply other threads:[~2016-07-15 4:02 UTC|newest]
Thread overview: 300+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-15 4:02 Simon Glass [this message]
2016-07-15 15:28 ` [U-Boot] Please pull u-boot-dm Stephen Warren
2016-07-15 15:46 ` Tom Rini
2016-07-15 16:08 ` Simon Glass
2016-07-15 16:13 ` Tom Rini
2016-07-15 16:22 ` Simon Glass
2016-07-15 16:29 ` Tom Rini
2016-07-15 22:41 ` Stephen Warren
2016-07-17 14:14 ` Simon Glass
2016-07-17 17:05 ` Tom Rini
2016-07-22 13:31 ` Simon Glass
2016-07-15 16:08 ` Simon Glass
2016-07-16 13:51 ` Tom Rini
-- strict thread matches above, loose matches on Subject: below --
2019-11-15 3:08 Simon Glass
2019-11-18 15:47 ` Tom Rini
2019-10-29 23:35 Simon Glass
2019-11-01 21:48 ` Tom Rini
2019-10-15 14:46 Simon Glass
2019-10-17 11:24 ` Tom Rini
2019-07-29 21:27 Simon Glass
2019-07-30 1:21 ` Tom Rini
2019-07-22 14:48 Simon Glass
2019-07-23 18:16 ` Tom Rini
2019-07-24 3:08 ` Simon Glass
2019-07-24 3:23 ` Tom Rini
2019-07-24 3:27 ` Simon Glass
2019-07-11 17:18 Simon Glass
2019-07-12 13:32 ` Tom Rini
2019-07-09 17:16 Simon Glass
2019-07-10 14:39 ` Tom Rini
2019-07-11 17:06 ` Simon Glass
2019-05-22 13:13 Simon Glass
2019-05-23 17:47 ` Tom Rini
2019-04-24 15:22 Simon Glass
2019-04-25 11:09 ` Tom Rini
2019-04-12 21:51 Simon Glass
2019-04-14 3:59 ` Tom Rini
2019-02-10 9:27 Simon Glass
2019-02-10 9:28 ` Simon Glass
2019-02-10 13:09 ` Simon Glass
2019-02-11 1:05 ` Tom Rini
2019-01-15 15:57 Simon Glass
2019-01-16 17:11 ` Tom Rini
2019-01-04 20:47 Simon Glass
2019-01-05 4:59 ` Tom Rini
2019-01-08 0:38 ` Simon Glass
2018-12-14 15:43 Simon Glass
2018-12-15 14:27 ` Tom Rini
2018-12-06 1:30 Simon Glass
2018-12-06 14:03 ` Tom Rini
2018-11-29 20:55 Simon Glass
2018-11-30 14:55 ` Tom Rini
2018-12-05 4:10 ` Keerthy
2018-12-11 1:04 ` Simon Glass
2018-12-11 4:01 ` Keerthy
2018-11-22 0:25 Simon Glass
2018-11-24 3:13 ` Tom Rini
2018-11-15 16:32 Simon Glass
2018-11-15 20:21 ` Simon Glass
2018-11-15 21:02 ` Tom Rini
2018-11-15 21:11 ` Simon Glass
2018-11-16 13:45 ` Tom Rini
2018-11-06 21:51 Simon Glass
2018-11-07 1:04 ` Bin Meng
2018-11-07 2:07 ` Simon Glass
2018-11-07 2:22 ` Bin Meng
2018-11-07 2:25 ` Simon Glass
2018-11-07 2:29 ` Bin Meng
2018-11-07 2:42 ` Simon Glass
2018-11-07 2:43 ` Tom Rini
2018-10-15 20:17 Simon Glass
2018-10-15 21:53 ` Stephen Warren
2018-10-15 22:43 ` Stephen Warren
2018-10-15 23:43 ` Bin Meng
2018-10-16 0:32 ` Tom Rini
2018-10-16 16:27 ` Stephen Warren
2018-10-16 23:01 ` Bin Meng
2018-10-17 2:33 ` Bin Meng
2018-10-17 2:40 ` Bin Meng
2018-10-17 17:14 ` Stephen Warren
2018-10-19 3:27 ` Simon Glass
2018-10-19 12:10 ` Tom Rini
2018-10-22 9:46 ` Bin Meng
2018-10-22 11:11 ` Tom Rini
2018-10-24 13:40 ` Bin Meng
2018-10-24 14:14 ` Simon Glass
2018-10-24 14:14 ` Simon Glass
2018-10-24 14:28 ` Bin Meng
2018-10-24 14:33 ` Simon Glass
2018-10-25 14:22 ` Tom Rini
2018-10-10 0:24 Simon Glass
2018-10-10 3:01 ` Simon Glass
2018-10-11 14:10 ` Tom Rini
2018-11-16 2:05 ` Simon Glass
2018-11-16 13:45 ` Tom Rini
2018-11-16 18:26 ` Simon Glass
2018-12-03 7:27 ` Kever Yang
2018-12-03 7:41 ` Simon Goldschmidt
2018-12-03 11:39 ` Simon Glass
2018-09-30 20:06 Simon Glass
2018-10-01 11:54 ` Tom Rini
2018-10-01 17:26 ` Simon Glass
2018-10-03 14:38 ` Michal Simek
2018-09-19 0:13 Simon Glass
2018-09-19 2:05 ` Bin Meng
2018-09-20 0:32 ` Tom Rini
2018-08-09 14:29 Simon Glass
2018-08-10 3:28 ` Tom Rini
2018-07-30 20:10 Simon Glass
2018-07-31 12:42 ` Tom Rini
2018-08-01 18:50 ` Simon Glass
2018-08-01 19:13 ` Tom Rini
2018-07-27 0:36 Simon Glass
2018-07-27 17:08 ` Tom Rini
2018-07-10 20:58 Simon Glass
2018-07-12 1:54 ` Tom Rini
2018-07-09 19:53 Simon Glass
2018-07-09 19:58 ` Simon Glass
2018-07-10 18:47 ` Tom Rini
2018-07-10 19:53 ` Stephen Warren
2018-07-10 20:24 ` Simon Glass
2018-07-11 22:01 ` Stephen Warren
2018-07-12 0:12 ` Simon Glass
2018-07-12 15:52 ` Stephen Warren
2018-07-12 18:17 ` Stephen Warren
2018-07-12 21:26 ` Stephen Warren
2018-07-17 4:40 ` Simon Glass
2018-07-17 15:33 ` Stephen Warren
2018-08-23 10:45 ` Simon Glass
2018-06-25 2:42 Simon Glass
2018-06-27 17:08 ` Tom Rini
2018-06-07 23:18 Simon Glass
2018-06-09 4:39 ` Tom Rini
2018-05-16 20:57 Simon Glass
2018-05-17 20:15 ` Tom Rini
2018-04-01 23:22 Simon Glass
2018-04-03 0:33 ` Tom Rini
2018-02-19 15:37 Simon Glass
2018-02-20 4:00 ` Tom Rini
2018-01-26 21:45 Simon Glass
2018-01-27 0:50 ` Tom Rini
2018-02-03 17:12 ` Simon Glass
2018-02-03 18:13 ` Tom Rini
2018-04-02 6:11 ` Simon Glass
2018-04-03 0:33 ` Tom Rini
2018-01-22 1:09 Simon Glass
2018-01-22 12:18 ` Tom Rini
2018-01-16 14:56 Simon Glass
2018-01-17 1:26 ` Tom Rini
2017-12-19 13:30 Simon Glass
2017-12-19 21:19 ` Tom Rini
2017-12-19 21:27 ` Simon Glass
2017-12-19 21:30 ` Tom Rini
2017-12-19 21:40 ` Simon Glass
2017-12-08 22:44 Simon Glass
2017-12-12 11:15 ` Felix Brack
2017-12-12 14:01 ` Tom Rini
2017-11-24 1:48 Simon Glass
2017-11-24 21:33 ` Tom Rini
2017-09-29 23:14 Simon Glass
2017-09-30 0:38 ` Tom Rini
2017-09-14 1:34 Simon Glass
2017-09-14 2:13 ` Tom Rini
2017-09-12 10:58 Simon Glass
2017-09-12 21:13 ` Tom Rini
2017-09-04 16:31 Simon Glass
2017-09-05 11:11 ` Tom Rini
2017-07-28 18:46 Simon Glass
2017-07-29 1:32 ` Tom Rini
2017-07-11 18:42 Simon Glass
2017-07-12 2:36 ` Tom Rini
2017-06-09 2:24 Simon Glass
2017-06-09 13:45 ` Tom Rini
2017-06-09 15:52 ` Dr. Philipp Tomsich
2017-06-09 18:02 ` Simon Glass
2017-06-09 19:01 ` Stephen Warren
2017-06-09 19:04 ` Simon Glass
2017-05-25 0:19 Simon Glass
2017-05-26 15:18 ` Tom Rini
2017-05-26 16:16 ` Simon Glass
2017-05-27 14:16 ` Simon Glass
2017-05-09 20:00 Simon Glass
2017-05-09 23:49 ` Tom Rini
2017-04-15 16:45 Simon Glass
2017-04-17 22:16 ` Tom Rini
2017-04-13 21:27 Simon Glass
2017-04-14 21:08 ` Tom Rini
2017-04-05 9:31 Simon Glass
2017-04-05 17:43 ` Tom Rini
2017-03-29 23:51 Simon Glass
2017-04-04 20:00 ` Tom Rini
2017-04-04 20:00 ` Tom Rini
2017-03-23 15:41 Simon Glass
2017-03-24 1:44 ` Tom Rini
2017-02-08 17:45 Simon Glass
2017-02-09 3:03 ` Tom Rini
2017-01-09 20:46 Simon Glass
2017-01-10 23:14 ` Tom Rini
2016-12-20 8:19 Simon Glass
2016-12-21 2:22 ` Tom Rini
2016-12-03 4:27 Simon Glass
2016-12-03 18:26 ` Simon Glass
2016-10-11 17:36 Simon Glass
2016-10-13 17:38 ` Tom Rini
2016-09-19 3:09 Simon Glass
2016-09-21 15:30 ` Tom Rini
2016-08-12 17:04 Simon Glass
2016-08-12 19:25 ` Simon Glass
2016-08-13 0:08 ` Tom Rini
2016-08-01 18:24 Simon Glass
2016-08-02 17:38 ` Tom Rini
2016-07-28 2:24 Simon Glass
2016-07-28 11:24 ` Tom Rini
2016-07-11 22:08 Simon Glass
2016-07-12 17:59 ` Tom Rini
2016-07-07 21:45 Simon Glass
2016-07-08 19:18 ` Tom Rini
2016-06-20 3:00 Simon Glass
2016-06-20 12:44 ` Tom Rini
2016-05-27 16:28 Simon Glass
2016-05-30 18:06 ` Tom Rini
2016-05-17 17:46 Simon Glass
2016-05-19 12:09 ` Tom Rini
2016-05-19 14:41 ` Simon Glass
2016-05-19 16:02 ` Tom Rini
2016-05-20 15:23 ` Simon Glass
2016-05-20 15:53 ` Hans de Goede
2016-05-20 17:55 ` Tom Rini
2016-05-20 19:05 ` Hans de Goede
[not found] ` <20160520191257.GA11835@excalibur.cnev.de>
2016-05-20 20:49 ` Tom Rini
2016-05-25 3:14 ` Simon Glass
2016-04-26 0:09 Simon Glass
2016-04-15 15:50 Simon Glass
2016-04-16 1:13 ` Tom Rini
2016-03-20 0:35 Simon Glass
2016-03-20 13:33 ` Tom Rini
2016-03-14 23:04 Simon Glass
2016-03-15 11:53 ` Tom Rini
2016-02-26 20:51 Simon Glass
2016-02-28 1:19 ` Tom Rini
2016-02-25 15:30 Simon Glass
2016-02-25 15:35 ` Tom Rini
2016-02-09 22:43 Simon Glass
2016-02-10 22:12 ` Tom Rini
2016-01-29 18:28 Simon Glass
2016-01-30 1:39 ` Tom Rini
2016-01-21 15:30 Simon Glass
2016-01-21 23:00 ` Tom Rini
2016-01-12 23:05 Simon Glass
2016-01-13 2:25 ` Tom Rini
2016-01-08 14:55 Simon Glass
2016-01-09 3:34 ` Tom Rini
2015-12-11 14:43 Simon Glass
2015-12-12 1:13 ` Tom Rini
2015-12-01 14:49 Simon Glass
2015-12-01 23:11 ` Tom Rini
2015-11-20 17:08 Simon Glass
2015-11-20 22:45 ` Tom Rini
2015-10-26 13:35 Simon Glass
2015-10-28 20:55 ` Tom Rini
2015-10-06 12:31 Simon Glass
2015-10-09 13:56 ` Tom Rini
2015-09-17 18:53 Simon Glass
2015-09-17 21:03 ` Tom Rini
2015-08-31 15:32 Simon Glass
2015-08-31 21:45 ` Tom Rini
2015-08-10 13:42 Simon Glass
2015-08-11 0:33 ` Tom Rini
2015-08-06 22:49 Simon Glass
2015-08-07 21:22 ` Tom Rini
2015-07-22 17:59 Simon Glass
2015-07-23 19:30 ` Tom Rini
2015-06-11 23:34 Simon Glass
2015-06-12 12:12 ` Tom Rini
2015-06-05 14:20 Simon Glass
2015-06-06 13:27 ` Tom Rini
2015-05-08 4:01 Simon Glass
2015-05-10 14:07 ` Tom Rini
2015-04-28 22:50 Simon Glass
2015-04-29 14:28 ` Tom Rini
2015-04-23 16:24 Simon Glass
2015-04-23 22:02 ` Tom Rini
2015-04-14 18:11 Simon Glass
2015-04-15 5:17 ` Simon Glass
2015-04-16 17:43 ` Tom Rini
2015-04-17 1:30 ` Simon Glass
2015-03-25 22:45 Simon Glass
2015-03-27 14:19 ` Tom Rini
2015-03-06 20:04 Simon Glass
2015-03-09 16:45 ` Tom Rini
2015-02-20 16:17 Simon Glass
2015-02-22 2:56 ` Tom Rini
2015-02-13 15:07 Simon Glass
2015-02-16 17:41 ` Tom Rini
2015-01-30 1:16 Simon Glass
2015-02-02 18:57 ` Tom Rini
2014-12-12 1:00 Simon Glass
2014-12-12 18:46 ` Tom Rini
2014-11-23 15:17 Simon Glass
2014-11-24 22:13 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPnjgZ3_ayUD3fOtFYhuDKjaYSWmmy4takCBd1mS2Dz84mTniQ@mail.gmail.com \
--to=sjg@chromium.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.