[U-Boot] Please pull u-boot-dm
Simon Glass
sjg at chromium.org
Tue Jul 11 18:42:31 UTC 2017
Hi Tom,
This includes SCSI DM conversion, livetree updates for tegra (although many
patches will come later due to testing problems), ofnode tidy-up patches,
dtoc and moveconfig improvements.
I am having trouble with timeouts with travis-ci but buildman is clean.
The following changes since commit 6b26aaef083957b75bcd69aa65bd6ffcf9245bb3:
pipe3: Fix broken dependency (2017-07-10 14:26:05 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-dm.git
for you to fetch changes up to 8c9eaadaaad888e0cd77512553d0d02d476b4dde:
dm: ofnode: use fdt32_t for DT property value to fix sparse warning
(2017-07-11 10:08:20 -0600)
----------------------------------------------------------------
Alison Chaiken (2):
sandbox: README: fix partition command invocation
cmd gpt: test in sandbox
Kever Yang (1):
rockchip: dts: rk3328: add aliases for mmc controller
Masahiro Yamada (7):
dm: include <dm/util.h> from drivers/core/util.c
dm: ofnode: use ofnode_read_bool() to check property existence
dm: ofnode: simplify ofnode_read_prop()
dm: ofnode: rename ofnode_read_prop() to ofnode_get_property()
dm: ofnode: simplify ofnode_read_bool()
dm: include <dm/util.h> from driver/core/dump.c
dm: ofnode: use fdt32_t for DT property value to fix sparse warning
Simon Glass (76):
dm: core: Clarify uclass_first/next_device() comments
dm: core: Test uclass_first/next_device() on probe failure
dm: core: Add uclass_first/next_device_check()
moveconfig: Support providing a path to the defconfig files
moveconfig: Allow reading the defconfig list from stdin
moveconfig: Tidy up the documentation and add hints
moveconfig: Add a constant for auto.conf
moveconfig: Support building a simple config database
moveconfig: Support looking for implied CONFIG options
dtoc: Support multiple compatible strings in a node
Convert CONFIG_SCSI to Kconfig
scsi: Drop sym53c8xx driver
scsi: Drop scsi_print_error()
Convert CONFIG_CMD_SATA to Kconfig
Kconfig: Add CONFIG_SATA to enable SATA
sata: Move drivers into new drivers/ata directory
scsi: Move drivers into new drivers/scsi directory
dm: scsi: Rearrange header file for driver model
dm: scsi: Rename struct SCSI_cmd_block to struct scsi_cmd
dm: scsi: Drop the ccb typedef
dm: scsi: Use the uclass platform data
dm: ahci: Rename struct ahci_probe_ent
dm: sata: Move ataid into struct ahci_uc_priv
dm: ahci: Refactor to avoid static variables
dm: scsi: Indent the confusing #ifdefs
dm: ahci: Move common code for starting ports into a function
dm: ahci: Unwind the confusing init code
dm: ahci: Drop use of probe_ent
dm: scsi: Add operations
dm: scsi: Add a device pointer to scan_exec(), scsi_bus_reset()
dm: scsi: Document and rename the scsi_scan() parameter
dm: ahci: Create a local version of two SCSI functions
dm: scsi: Add operations for SCSI devices
dm: scsi: Adjust return value of scsi_exec()
dm: scsi: Split out the bus scanning code
dm: ahci: Add a driver for SCSI on AHCI
dm: scsi: Drop scsi_init() when driver model is used
x86: Move link to use driver model for SCSI
display_options: Refactor to allow obtaining the banner
Allow displaying the U-Boot banner on a video display
test: Add a test for snprintf() and the banner/version
console: Use map_sysmem() for the pre-relocation console
sandbox: Enable more console options
sandbox: Drop special case console code for sandbox
moveconfig: Allow piping in 'git show --stat' output
moveconfig: Allow control of which implying configs are shown
moveconfig: Allow automatic location and adding of 'imply'
dtoc: Use self._options instead of the global options
dtoc: Add a comment at the top
dtoc: Split out the main class into its own file
dtoc: Fix pylint warnings
dtoc: Don't handle properties with / in them
dtoc: Pass include_disabled explicitly
dtoc: Move static functions out of the class
dtoc: Move the main logic into the dtb_platdata file
dtoc: Add a comment about string replace in conv_name_to_c()
sandbox: Stop printing platdata at the start of SPL
dtoc: Add tests
binman: Put our local modules ahead of system modules
dm: core: Add ofnode_read_string_count()
dm: core: Add dev_read_resource() to read device resources
dm: core: Add dev_read_enabled() to check if a device is enabled
dm: core: Add functions to obtain node's address/size cells
tegra: video: Time the LCD init
tegra: nyan-big: Enable the debug UART
dm: Fix error handling when unflattening the DT
tegra: nyan-big: Enable bootstage
dm: video: Sync display on backspace
dm: video: Update pwm_backlight to support livetree
video: simple-panel: Add a little more debugging
tegra: Fix up include file ordering
dm: serial: ns16550: Convert to livetree
dm: serial: Separate out the core serial-device finding code
dm: serial: Add livetree support
tegra: Show a debug message if the LCD PMIC fails to start
tegra: fdt: Ensure that the console UART is enabled
Tom Rini (1):
fdt: Check for NULL return from fdt_getprop in 'fdt set'
README | 6 -
api/api_storage.c | 2 +-
arch/Kconfig | 2 +
arch/arm/Kconfig | 10 +
arch/arm/cpu/armv7/ls102xa/Kconfig | 1 +
arch/arm/cpu/armv7/ls102xa/ls102xa_sata.c | 2 +-
arch/arm/cpu/armv7/mx6/Kconfig | 4 +
arch/arm/cpu/armv7/mx6/clock.c | 6 +-
arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 2 +
arch/arm/cpu/armv8/fsl-layerscape/soc.c | 4 +-
arch/arm/dts/rk3328.dtsi | 3 +
arch/arm/dts/tegra114-dalmore.dts | 4 +
arch/arm/dts/tegra124-cei-tk1-som.dts | 4 +
arch/arm/dts/tegra124-jetson-tk1.dts | 4 +
arch/arm/dts/tegra124-venice2.dts | 4 +
arch/arm/dts/tegra186-p2771-0000.dtsi | 4 +
arch/arm/dts/tegra20-colibri.dts | 4 +
arch/arm/dts/tegra20-harmony.dts | 4 +
arch/arm/dts/tegra20-trimslice.dts | 4 +
arch/arm/dts/tegra210-e2220-1170.dts | 4 +
arch/arm/dts/tegra210-p2371-0000.dts | 4 +
arch/arm/dts/tegra210-p2371-2180.dts | 4 +
arch/arm/dts/tegra210-p2571.dts | 4 +
arch/arm/dts/tegra30-apalis.dts | 4 +
arch/arm/dts/tegra30-beaver.dts | 4 +
arch/arm/dts/tegra30-cardhu.dts | 4 +
arch/arm/dts/tegra30-colibri.dts | 4 +
arch/arm/dts/tegra30-tec-ng.dts | 4 +
arch/arm/imx-common/Makefile | 2 +-
arch/arm/imx-common/cpu.c | 2 +-
arch/arm/include/asm/arch-ls102xa/config.h | 1 -
arch/arm/mach-mvebu/Kconfig | 4 +
arch/arm/mach-omap2/omap5/Kconfig | 2 +
arch/arm/mach-omap2/sata.c | 4 +-
arch/arm/mach-tegra/board2.c | 26 +-
arch/arm/mach-tegra/clock.c | 4 +-
arch/powerpc/cpu/mpc83xx/Kconfig | 1 +
arch/powerpc/cpu/mpc85xx/Kconfig | 46 ++++
arch/powerpc/cpu/mpc85xx/cpu_init.c | 4 +-
arch/powerpc/cpu/mpc86xx/Kconfig | 1 +
arch/sandbox/cpu/spl.c | 11 -
arch/sandbox/dts/sandbox.dts | 1 +
arch/sandbox/dts/test.dts | 19 ++
arch/x86/cpu/ivybridge/sata.c | 22 +-
board/advantech/dms-ba16/dms-ba16.c | 2 +-
board/bachmann/ot1200/ot1200.c | 2 +-
board/boundary/nitrogen6x/nitrogen6x.c | 2 +-
board/congatec/Kconfig | 1 +
board/congatec/cgtqmx6eval/cgtqmx6eval.c | 2 +-
board/dfi/Kconfig | 1 +
board/gateworks/gw_ventana/gw_ventana.c | 2 +-
board/highbank/ahci.c | 2 +-
board/highbank/highbank.c | 2 +-
board/kosagi/novena/novena.c | 2 +-
board/sandbox/README.sandbox | 2 +-
board/toradex/apalis_imx6/apalis_imx6.c | 2 +-
board/toradex/colibri_imx6/colibri_imx6.c | 2 +-
board/udoo/udoo.c | 2 +-
board/wandboard/wandboard.c | 2 +-
cmd/Kconfig | 13 +
cmd/fdt.c | 4 +
cmd/scsi.c | 6 +-
cmd/version.c | 4 +-
common/Kconfig | 2 +-
common/Makefile | 5 -
common/board_r.c | 1 +
common/console.c | 41 +--
common/spl/spl_sata.c | 2 +-
common/splash_source.c | 2 +-
common/usb_storage.c | 44 ++--
configs/A10-OLinuXino-Lime_defconfig | 1 +
configs/A20-OLinuXino-Lime2_defconfig | 1 +
configs/A20-OLinuXino-Lime_defconfig | 1 +
configs/A20-OLinuXino_MICRO_defconfig | 1 +
configs/A20-Olimex-SOM-EVB_defconfig | 1 +
configs/Bananapi_M2_Ultra_defconfig | 1 +
configs/Bananapi_defconfig | 1 +
configs/Bananapro_defconfig | 1 +
configs/Cubieboard2_defconfig | 1 +
configs/Cubieboard_defconfig | 1 +
configs/Cubietruck_defconfig | 1 +
configs/Itead_Ibox_A20_defconfig | 1 +
configs/Lamobo_R1_defconfig | 1 +
configs/Linksprite_pcDuino3_Nano_defconfig | 1 +
configs/Linksprite_pcDuino3_defconfig | 1 +
configs/MPC8315ERDB_defconfig | 1 +
configs/MPC8349ITX_LOWBOOT_defconfig | 1 +
configs/MPC8349ITX_defconfig | 1 +
configs/MPC837XERDB_defconfig | 1 +
configs/MPC8544DS_defconfig | 1 +
configs/MPC8610HPCD_defconfig | 1 +
configs/Marsboard_A10_defconfig | 1 +
configs/Mele_A1000_defconfig | 1 +
configs/Mele_M5_defconfig | 1 +
configs/Orangepi_defconfig | 1 +
configs/Orangepi_mini_defconfig | 1 +
configs/Wits_Pro_A20_DKT_defconfig | 1 +
configs/bayleybay_defconfig | 1 +
configs/cgtqmx6eval_defconfig | 1 +
configs/chromebook_link64_defconfig | 3 +
configs/chromebook_link_defconfig | 3 +
configs/chromebook_samus_defconfig | 1 +
configs/chromebox_panther_defconfig | 3 +
configs/cm_fx6_defconfig | 1 +
configs/cm_t54_defconfig | 1 +
configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig | 1 +
configs/controlcenterd_36BIT_SDCARD_defconfig | 1 +
configs/controlcenterdc_defconfig | 1 +
configs/cougarcanyon2_defconfig | 1 +
configs/crownbay_defconfig | 1 +
configs/db-88f6820-gp_defconfig | 1 +
configs/db-mv784mp-gp_defconfig | 1 +
configs/highbank_defconfig | 1 +
configs/ls1012aqds_qspi_defconfig | 1 +
configs/ls2081ardb_defconfig | 1 +
configs/m53evk_defconfig | 1 +
configs/minnowmax_defconfig | 1 +
configs/mx53loco_defconfig | 1 +
configs/mx6qsabrelite_defconfig | 1 +
configs/nitrogen6q2g_defconfig | 1 +
configs/nitrogen6q_defconfig | 1 +
configs/novena_defconfig | 1 +
configs/nyan-big_defconfig | 9 +
configs/omap5_uevm_defconfig | 1 +
configs/sandbox_defconfig | 2 +
configs/som-db5800-som-6867_defconfig | 1 +
configs/tbs2910_defconfig | 1 +
configs/udoo_defconfig | 1 +
configs/wandboard_defconfig | 1 +
configs/xilinx_zynqmp_ep_defconfig | 1 +
configs/xilinx_zynqmp_zcu102_defconfig | 1 +
configs/xilinx_zynqmp_zcu102_revB_defconfig | 1 +
doc/README.gpt | 10 +
doc/driver-model/of-plat.txt | 5 +
drivers/Kconfig | 4 +
drivers/Makefile | 4 +-
drivers/ata/Kconfig | 62 +++++
drivers/ata/Makefile | 22 ++
drivers/{block => ata}/ahci-uclass.c | 0
drivers/{block => ata}/ahci.c | 395
++++++++++++++++++-----------
drivers/{block => ata}/dwc_ahci.c | 10 +-
drivers/{block => ata}/dwc_ahsata.c | 74 +++---
drivers/{block => ata}/dwc_ahsata.h | 0
drivers/{block => ata}/fsl_sata.c | 0
drivers/{block => ata}/fsl_sata.h | 0
drivers/{block => ata}/libata.c | 0
drivers/{block => ata}/mvsata_ide.c | 0
drivers/{block => ata}/mxc_ata.c | 0
{common => drivers/ata}/sata.c | 0
drivers/{block => ata}/sata_ceva.c | 9 +-
drivers/{block => ata}/sata_dwc.c | 0
drivers/{block => ata}/sata_dwc.h | 0
drivers/{block => ata}/sata_mv.c | 0
drivers/{block => ata}/sata_sandbox.c | 0
drivers/{block => ata}/sata_sil.c | 0
drivers/{block => ata}/sata_sil.h | 0
drivers/{block => ata}/sata_sil3114.c | 0
drivers/{block => ata}/sata_sil3114.h | 0
drivers/block/Kconfig | 41 ---
drivers/block/Makefile | 17 +-
drivers/block/scsi-uclass.c | 27 --
drivers/block/sym53c8xx.c | 851
---------------------------------------------------------------
drivers/core/Makefile | 2 +-
drivers/core/dump.c | 1 +
drivers/core/lists.c | 3 +-
drivers/core/of_access.c | 24 ++
drivers/core/ofnode.c | 72 +++---
drivers/core/read.c | 23 +-
drivers/core/read_extra.c | 37 +++
drivers/core/regmap.c | 4 +-
drivers/core/uclass.c | 30 ++-
drivers/core/util.c | 5 +
drivers/misc/cros_ec_sandbox.c | 2 +-
drivers/pci/pci-uclass.c | 8 +-
drivers/pinctrl/pinctrl-uclass.c | 2 +-
drivers/scsi/Kconfig | 17 ++
drivers/scsi/Makefile | 20 ++
drivers/{block => scsi}/sandbox_scsi.c | 9 +-
drivers/scsi/scsi-uclass.c | 40 +++
{common => drivers/scsi}/scsi.c | 147 ++++++-----
drivers/serial/ns16550.c | 15 +-
drivers/serial/serial-uclass.c | 92 ++++---
drivers/usb/emul/sandbox_flash.c | 2 +-
drivers/video/pwm_backlight.c | 22 +-
drivers/video/simple_panel.c | 2 +
drivers/video/tegra124/display.c | 2 +
drivers/video/vidconsole-uclass.c | 1 +
fs/fat/fat.c | 2 +-
include/ahci.h | 57 ++++-
include/config_cmd_all.h | 1 -
include/config_distro_bootcmd.h | 6 +-
include/config_fallbacks.h | 2 +-
include/configs/MPC8315ERDB.h | 1 -
include/configs/MPC8349ITX.h | 4 -
include/configs/MPC837XEMDS.h | 1 -
include/configs/MPC837XERDB.h | 1 -
include/configs/MPC8536DS.h | 1 -
include/configs/MPC8544DS.h | 1 -
include/configs/MPC8572DS.h | 1 -
include/configs/MPC8610HPCD.h | 1 -
include/configs/MPC8641HPCN.h | 1 -
include/configs/P1010RDB.h | 1 -
include/configs/P1022DS.h | 1 -
include/configs/P2041RDB.h | 1 -
include/configs/P4080DS.h | 1 -
include/configs/T102xQDS.h | 1 -
include/configs/T1040QDS.h | 1 -
include/configs/T104xRDB.h | 1 -
include/configs/T208xQDS.h | 1 -
include/configs/T208xRDB.h | 1 -
include/configs/T4240QDS.h | 1 -
include/configs/T4240RDB.h | 2 -
include/configs/UCP1020.h | 1 -
include/configs/advantech_dms-ba16.h | 1 -
include/configs/am57xx_evm.h | 1 -
include/configs/apalis_imx6.h | 4 -
include/configs/cgtqmx6eval.h | 1 -
include/configs/cm_fx6.h | 1 -
include/configs/cm_t54.h | 1 -
include/configs/controlcenterd.h | 1 -
include/configs/controlcenterdc.h | 1 -
include/configs/corenet_ds.h | 1 -
include/configs/cyrus.h | 1 -
include/configs/db-88f6820-gp.h | 1 -
include/configs/db-mv784mp-gp.h | 1 -
include/configs/dra7xx_evm.h | 1 -
include/configs/efi-x86.h | 1 -
include/configs/galileo.h | 1 -
include/configs/gw_ventana.h | 1 -
include/configs/highbank.h | 1 -
include/configs/ls1012aqds.h | 1 -
include/configs/ls1012ardb.h | 1 -
include/configs/ls1043aqds.h | 1 -
include/configs/ls1046aqds.h | 1 -
include/configs/ls1046ardb.h | 1 -
include/configs/ls2080aqds.h | 1 -
include/configs/ls2080ardb.h | 1 -
include/configs/m53evk.h | 1 -
include/configs/mvebu_armada-37xx.h | 1 -
include/configs/mvebu_armada-8k.h | 1 -
include/configs/mx53loco.h | 1 -
include/configs/nitrogen6x.h | 4 -
include/configs/novena.h | 1 -
include/configs/omap5_uevm.h | 1 -
include/configs/ot1200.h | 4 -
include/configs/p1_p2_rdb_pc.h | 1 -
include/configs/p1_twr.h | 1 -
include/configs/qemu-x86.h | 1 -
include/configs/sandbox.h | 3 +-
include/configs/sunxi-common.h | 1 -
include/configs/t4qds.h | 1 -
include/configs/tbs2910.h | 1 -
include/configs/theadorable.h | 1 -
include/configs/udoo.h | 1 -
include/configs/wandboard.h | 1 -
include/configs/x86-common.h | 1 -
include/configs/xilinx_zynqmp.h | 1 -
include/console.h | 12 +
include/display_options.h | 19 ++
include/dm/of_access.h | 38 +++
include/dm/ofnode.h | 36 ++-
include/dm/read.h | 64 ++++-
include/dm/uclass-id.h | 1 +
include/dm/uclass.h | 44 +++-
include/scsi.h | 85 +++++--
lib/display_options.c | 36 ++-
lib/of_live.c | 7 +-
scripts/config_whitelist.txt | 4 -
test/Makefile | 1 +
test/dm/test-fdt.c | 152 ++++++++++++
test/print_ut.c | 83 +++++++
test/py/tests/test_ofplatdata.py | 30 +--
tools/binman/binman.py | 9 +-
tools/dtoc/dtb_platdata.py | 456
++++++++++++++++++++++++++++++++++
tools/dtoc/dtoc.py | 452
++++-----------------------------
tools/dtoc/dtoc_test.dts | 12 +
tools/dtoc/dtoc_test_aliases.dts | 18 ++
tools/dtoc/dtoc_test_empty.dts | 12 +
tools/dtoc/dtoc_test_phandle.dts | 23 ++
tools/dtoc/dtoc_test_simple.dts | 48 ++++
tools/dtoc/test_dtoc.py | 271
++++++++++++++++++++
tools/moveconfig.py | 604
+++++++++++++++++++++++++++++++++++++++++++--
282 files changed, 3281 insertions(+), 1986 deletions(-)
create mode 100644 drivers/ata/Kconfig
create mode 100644 drivers/ata/Makefile
rename drivers/{block => ata}/ahci-uclass.c (100%)
rename drivers/{block => ata}/ahci.c (74%)
rename drivers/{block => ata}/dwc_ahci.c (92%)
rename drivers/{block => ata}/dwc_ahsata.c (92%)
rename drivers/{block => ata}/dwc_ahsata.h (100%)
rename drivers/{block => ata}/fsl_sata.c (100%)
rename drivers/{block => ata}/fsl_sata.h (100%)
rename drivers/{block => ata}/libata.c (100%)
rename drivers/{block => ata}/mvsata_ide.c (100%)
rename drivers/{block => ata}/mxc_ata.c (100%)
rename {common => drivers/ata}/sata.c (100%)
rename drivers/{block => ata}/sata_ceva.c (95%)
rename drivers/{block => ata}/sata_dwc.c (100%)
rename drivers/{block => ata}/sata_dwc.h (100%)
rename drivers/{block => ata}/sata_mv.c (100%)
rename drivers/{block => ata}/sata_sandbox.c (100%)
rename drivers/{block => ata}/sata_sil.c (100%)
rename drivers/{block => ata}/sata_sil.h (100%)
rename drivers/{block => ata}/sata_sil3114.c (100%)
rename drivers/{block => ata}/sata_sil3114.h (100%)
delete mode 100644 drivers/block/scsi-uclass.c
delete mode 100644 drivers/block/sym53c8xx.c
create mode 100644 drivers/core/read_extra.c
create mode 100644 drivers/scsi/Kconfig
create mode 100644 drivers/scsi/Makefile
rename drivers/{block => scsi}/sandbox_scsi.c (75%)
create mode 100644 drivers/scsi/scsi-uclass.c
rename {common => drivers/scsi}/scsi.c (86%)
create mode 100644 test/print_ut.c
create mode 100644 tools/dtoc/dtb_platdata.py
create mode 100644 tools/dtoc/dtoc_test.dts
create mode 100644 tools/dtoc/dtoc_test_aliases.dts
create mode 100644 tools/dtoc/dtoc_test_empty.dts
create mode 100644 tools/dtoc/dtoc_test_phandle.dts
create mode 100644 tools/dtoc/dtoc_test_simple.dts
create mode 100644 tools/dtoc/test_dtoc.py
Regards,
Simon
More information about the U-Boot
mailing list