[U-Boot] [PATCH v2 00/10] Various fixes and improvements

Simon Glass sjg at chromium.org
Sun Nov 18 15:14:25 UTC 2018


This series collects together a large number of small patches that I have
been fiddling with for a while. At lot of them relate to SPL and TPL and
updating Chromium OS verified boot to work on U-Boot.

Unfortunately one patch (RTC) in the original series had a subtle failure
which requires a bit of fiddling to fix. This v2 series includes this.

Changes in v2:
- Rebase to master
- Correct definition of log() when logging is disabled
- Leave the misc uclass alone since it stops sandbox_spl working
- Drop patches previously applied
- Add new patches to support the RTC change

Simon Glass (10):
  malloc_simple: Add logging of allocations
  spl: misc: Allow misc drivers in SPL and TPL
  power: pmic: Correct debug/error output
  test: Add a 'make qcheck' target for quicker testing
  dm: core: Export uclass_find_device_by_phandle()
  dm: core: Add a few more specific child-finding functions
  dm: core: Put UCLASS_SIMPLE_BUS in order
  dm: sandbox: i2c: Add a new 'emulation parent' uclass
  dm: sandbox: i2c: Use new emulator parent uclass
  rtc: Allow child drivers

 Makefile                             |  6 ++-
 arch/sandbox/dts/sandbox.dts         | 25 ++++++---
 arch/sandbox/dts/sandbox_pmic.dtsi   | 71 ++++++++++++-------------
 arch/sandbox/dts/test.dts            | 30 +++++++----
 common/malloc_simple.c               | 58 +++++++++++++--------
 drivers/core/device.c                | 34 ++++++++++++
 drivers/core/uclass.c                |  6 +--
 drivers/i2c/i2c-emul-uclass.c        | 77 ++++++++++++++++++++++++++++
 drivers/i2c/sandbox_i2c.c            | 20 +-------
 drivers/misc/Kconfig                 | 72 ++++++++++++++++++++++++++
 drivers/misc/Makefile                |  8 +--
 drivers/power/pmic/act8846.c         |  2 +-
 drivers/power/pmic/as3722.c          | 14 ++---
 drivers/power/pmic/as3722_gpio.c     | 11 ++--
 drivers/power/pmic/i2c_pmic_emul.c   |  2 +-
 drivers/power/pmic/lp873x.c          |  6 +--
 drivers/power/pmic/lp87565.c         |  6 +--
 drivers/power/pmic/max77686.c        |  8 +--
 drivers/power/pmic/max8997.c         |  4 +-
 drivers/power/pmic/max8998.c         |  4 +-
 drivers/power/pmic/mc34708.c         |  4 +-
 drivers/power/pmic/palmas.c          |  8 +--
 drivers/power/pmic/pfuze100.c        |  6 +--
 drivers/power/pmic/rk8xx.c           |  6 +--
 drivers/power/pmic/rn5t567.c         |  4 +-
 drivers/power/pmic/s2mps11.c         |  8 +--
 drivers/power/pmic/s5m8767.c         |  6 +--
 drivers/power/pmic/sandbox.c         |  4 +-
 drivers/power/pmic/stpmu1.c          |  2 +-
 drivers/power/pmic/tps65090.c        |  8 +--
 drivers/rtc/rtc-uclass.c             |  1 +
 include/dm/device.h                  | 25 +++++++++
 include/dm/uclass-id.h               |  3 +-
 include/dm/uclass-internal.h         | 17 ++++++
 include/i2c.h                        | 21 ++++++++
 include/log.h                        |  2 +-
 include/malloc.h                     |  1 +
 test/README                          |  6 ++-
 test/dm/i2c.c                        |  2 +-
 test/dm/rtc.c                        |  9 ++--
 test/dm/test-fdt.c                   | 47 +++++++++++++++++
 test/py/tests/test_fs/test_basic.py  |  1 +
 test/py/tests/test_fs/test_ext.py    |  1 +
 test/py/tests/test_fs/test_mkdir.py  |  1 +
 test/py/tests/test_fs/test_unlink.py |  1 +
 test/run                             | 10 +++-
 46 files changed, 502 insertions(+), 166 deletions(-)

-- 
2.19.1.1215.g8438c0b245-goog



More information about the U-Boot mailing list