Skip to content

dm: Preparation for enhanced of-platdata (part B)

Simon Glass u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20pinctrl: Drop post_bind() method when not neededdrivers/pinctrl/pinctrl-uclass.c+3 -10 replies
2/20sysreset: Use a shorter error with SPLdrivers/sysreset/sysreset-uclass.c+8 -40 replies
3/20arc: m68k: nds32: nios2: sh: xtensa: Add empty spl.h headerarch/arc/include/asm/spl.h arch/m68k/include/asm/spl.h arch/nds32/include/asm/spl.h +3 more+0 -00 replies
4/20timer: Use a shorter error in TPLlib/time.c+8 -20 replies
5/20test: Use a simple variable to record removed deviceinclude/dm/test.h test/dm/bus.c+6 -100 replies
6/20test: Move some test drivers into their own filedrivers/misc/Kconfig drivers/misc/Makefile drivers/misc/test_drv.c +4 more+271 -2210 replies
7/20dtoc: Make _output_list a top-level functiontools/dtoc/dtb_platdata.py+40 -400 replies
8/20dtoc: Output the device in a separate functiontools/dtoc/dtb_platdata.py+22 -110 replies
9/20dtoc: Output the struct values in a separate functiontools/dtoc/dtb_platdata.py+34 -160 replies
10/20dtoc: Convert _drivers to a dicttools/dtoc/dtb_platdata.py+17 -40 replies
11/20dtoc: Scan drivers for available informationtools/dtoc/dtb_platdata.py+161 -100 replies
12/20dtoc: Allow use of the of_match_ptr() macrotools/dtoc/dtb_platdata.py+3 -20 replies
13/20x86: apl: Use const for driver operationsarch/x86/cpu/apollolake/pmc.c arch/x86/cpu/intel_common/p2sb.c+2 -20 replies
14/20x86: Move call64 into its own sectionarch/x86/cpu/i386/call64.S+1 -00 replies
15/20x86: coral: Move fsp-m settings to a subnodearch/x86/cpu/apollolake/fsp_m.c arch/x86/dts/chromebook_coral.dts+9 -10 replies
16/20x86: apl: Update hostbridge to remove unwanted TPL codearch/x86/cpu/apollolake/hostbridge.c+9 -50 replies
17/20x86: apl: Reduce size for TPLarch/x86/cpu/apollolake/lpc.c arch/x86/cpu/apollolake/pch.c arch/x86/cpu/apollolake/pmc.c +10 more+44 -160 replies
18/20x86: pinctrl: Drop unlikely error messages from TPLdrivers/pinctrl/intel/pinctrl.c+8 -30 replies
19/20x86: tpl: Remove unwanted devicetree stringarch/x86/lib/tpl.c+3 -10 replies
20/20x86: Fix header gaurd in asm/pmu.harch/x86/include/asm/pmu.h+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/20] dm: Preparation for enhanced of-platdata (part B)

This series includes some refactoring of the dtoc tool and some changes to a few drivers (particularly on x86) to reduce TPL size.

It is available at u-boot-dm/prep-working

Simon Glass (20):
pinctrl: Drop post_bind() method when not needed
sysreset: Use a shorter error with SPL
arc: m68k: nds32: nios2: sh: xtensa: Add empty spl.h header
timer: Use a shorter error in TPL
test: Use a simple variable to record removed device
test: Move some test drivers into their own file
dtoc: Make _output_list a top-level function
dtoc: Output the device in a separate function
dtoc: Output the struct values in a separate function
dtoc: Convert _drivers to a dict
dtoc: Scan drivers for available information
dtoc: Allow use of the of_match_ptr() macro
x86: apl: Use const for driver operations
x86: Move call64 into its own section
x86: coral: Move fsp-m settings to a subnode
x86: apl: Update hostbridge to remove unwanted TPL code
x86: apl: Reduce size for TPL
x86: pinctrl: Drop unlikely error messages from TPL
x86: tpl: Remove unwanted devicetree string
x86: Fix header gaurd in asm/pmu.h

 arch/arc/include/asm/spl.h               |   0
 arch/m68k/include/asm/spl.h              |   0
 arch/nds32/include/asm/spl.h             |   0
 arch/nios2/include/asm/spl.h             |   0
 arch/sh/include/asm/spl.h                |   0
 arch/x86/cpu/apollolake/fsp_m.c          |   5 +-
 arch/x86/cpu/apollolake/hostbridge.c     |  14 +-
 arch/x86/cpu/apollolake/lpc.c            |  13 +-
 arch/x86/cpu/apollolake/pch.c            |   4 +-
 arch/x86/cpu/apollolake/pmc.c            |   6 +-
 arch/x86/cpu/apollolake/uart.c           |   4 +-
 arch/x86/cpu/i386/call64.S               |   1 +
 arch/x86/cpu/intel_common/Makefile       |   2 +-
 arch/x86/cpu/intel_common/itss.c         |   4 +-
 arch/x86/cpu/intel_common/p2sb.c         |   6 +-
 arch/x86/cpu/turbo.c                     |   5 +
 arch/x86/dts/chromebook_coral.dts        |   5 +
 arch/x86/include/asm/pmu.h               |   6 +-
 arch/x86/lib/tpl.c                       |   4 +-
 arch/xtensa/include/asm/spl.h            |   0
 board/google/chromebook_coral/coral.c    |   4 +-
 drivers/gpio/intel_gpio.c                |   4 +-
 drivers/misc/Kconfig                     |   9 +
 drivers/misc/Makefile                    |   1 +
 drivers/misc/test_drv.c                  | 230 ++++++++++++++++
 drivers/pinctrl/intel/pinctrl.c          |  11 +-
 drivers/pinctrl/intel/pinctrl_apl.c      |   4 +-
 drivers/pinctrl/pinctrl-uclass.c         |   4 +-
 drivers/power/acpi_pmc/acpi-pmc-uclass.c |   4 +-
 drivers/sysreset/sysreset-uclass.c       |  12 +-
 drivers/timer/tsc_timer.c                |   4 +-
 include/dm/test.h                        |  20 +-
 include/test/test.h                      |   9 +
 lib/time.c                               |  10 +-
 test/dm/bus.c                            | 107 +-------
 test/dm/test-fdt.c                       | 120 --------
 tools/dtoc/dtb_platdata.py               | 336 ++++++++++++++++++-----
 37 files changed, 634 insertions(+), 334 deletions(-)
 create mode 100644 arch/arc/include/asm/spl.h
 create mode 100644 arch/m68k/include/asm/spl.h
 create mode 100644 arch/nds32/include/asm/spl.h
 create mode 100644 arch/nios2/include/asm/spl.h
 create mode 100644 arch/sh/include/asm/spl.h
 create mode 100644 arch/xtensa/include/asm/spl.h
 create mode 100644 drivers/misc/test_drv.c
Signature · 1 line
2.29.2.684.gfbc64c5ab5-goog