u-boot/arch/x86/dts
Rasmus Villemoes 3609e1dc5f dts: automatically build necessary .dtb files
When building for a custom board, it is quite common to maintain a
private branch which include some defconfig and .dts files. But to
hook up those .dts files requires modifying a file "belonging" to
upstream U-Boot, the arch/*/dts/Makefile. Forward-porting that branch
to a newer upstream then often results in a conflict which, while it
is trivial to resolve by hand, makes it harder to have a CI do "try to
build our board against latest upstream".

The .config usually includes information on precisely what .dtb(s) are
needed, so to avoid having to modify the Makefile, simply add the
files in (SPL_)OF_LIST to dtb-y.

A technicality is that (SPL_)OF_LIST is not always defined, so rework
the Kconfig symbols so that (SPL_)OF_LIST is always defined (when
(SPL_)OF_CONTROL), but only prompted for in the cases which used to be
their "depends on".

nios2 and microblaze already have something like this in their
dts/Makefile, and the rationale in commit 41f59f6853 is similar to
the above. So this simply generalizes existing practice. Followup
patches could remove the logic in those two makefiles, just as there's
potential for moving some common boilerplate from all the
arch/*/dts/Makefile files to the new scripts/Makefile.dts.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-02-09 12:26:12 -07:00
..
include Makefile: Support include files for .dts files 2014-06-20 11:55:03 -06:00
microcode x86: braswell: Add microcode for B0/C0/D0 stepping SoC 2017-09-16 14:57:44 +08:00
bayleybay.dts x86: dts: Define a default TSC timer frequency 2021-08-02 15:11:40 +08:00
baytrail_som-db5800-som-6867.dts x86: dts: Define a default TSC timer frequency 2021-08-02 15:11:40 +08:00
cherryhill.dts x86: dts: Define a default TSC timer frequency 2021-08-02 15:11:40 +08:00
chromebook_coral.dts x86: chromebook_coral: fix C block comment 2021-11-01 09:50:55 +08:00
chromebook_link.dts x86: dts: Define a default TSC timer frequency 2021-08-02 15:11:40 +08:00
chromebook_samus.dts x86: dts: Define a default TSC timer frequency 2021-08-02 15:11:40 +08:00
chromebox_panther.dts x86: dts: Define a default TSC timer frequency 2021-08-02 15:11:40 +08:00
conga-qeval20-qa3-e3845.dts x86: dts: Define a default TSC timer frequency 2021-08-02 15:11:40 +08:00
coreboot-u-boot.dtsi x86: Allow building an SPL image for coreboot 2020-05-04 15:28:28 +08:00
coreboot.dts x86: dts: Define a default TSC timer frequency 2021-08-02 15:11:40 +08:00
cougarcanyon2.dts x86: dts: Define a default TSC timer frequency 2021-08-02 15:11:40 +08:00
crownbay.dts x86: dts: Define a default TSC timer frequency 2021-08-02 15:11:40 +08:00
dfi-bt700-q7x-151.dts SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dfi-bt700.dtsi x86: dts: Add "m25p,fast-read" to SPI flash node 2021-08-02 15:11:40 +08:00
edison.dts x86: edison: Don't take SD card detect pin into consideration 2021-11-01 09:50:55 +08:00
efi-x86_app.dts efi: Add video support to the app 2021-11-07 18:36:55 +01:00
efi-x86_payload.dts x86: dts: Define a default TSC timer frequency 2021-08-02 15:11:40 +08:00
emulation-u-boot.dtsi x86: Use multiple images 2020-09-25 11:27:28 +08:00
galileo.dts x86: dts: Define a default TSC timer frequency 2021-08-02 15:11:40 +08:00
keyboard.dtsi x86: Add an i8042 device for boards that have it 2015-11-19 20:13:41 -07:00
Makefile dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
minnowmax.dts x86: dts: Define a default TSC timer frequency 2021-08-02 15:11:40 +08:00
pcspkr.dtsi x86: Add a dtsi file for the pc speaker 2019-03-11 22:55:01 +08:00
qemu-x86_i440fx.dts x86: dts: Define a default TSC timer frequency 2021-08-02 15:11:40 +08:00
qemu-x86_q35.dts x86: dts: Define a default TSC timer frequency 2021-08-02 15:11:40 +08:00
quark-u-boot.dtsi x86: Use multiple images 2020-09-25 11:27:28 +08:00
reset.dtsi x86: Don't include reset driver in SPL 2021-03-26 17:03:09 +13:00
rtc.dtsi x86: Drop rtc from SPL 2021-01-05 12:24:41 -07:00
serial.dtsi x86: dts: Mark serial as needed before relocation 2017-02-06 11:38:46 +08:00
skeleton.dtsi x86: fdt: Create basic .dtsi file for coreboot 2012-12-06 14:30:42 -08:00
slimbootloader.dts x86: dts: Define a default TSC timer frequency 2021-08-02 15:11:40 +08:00
smbios.dtsi x86: Provide default SMBIOS manufacturer/product 2020-11-06 10:25:56 +08:00
theadorable-x86-dfi-bt700.dts SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
tsc_timer.dtsi x86: dts: Define a default TSC timer frequency 2021-08-02 15:11:40 +08:00
u-boot.dtsi x86: dts: Drop unused CONFIG_SPL 2021-03-26 17:03:10 +13:00