u-boot-2016/include
mario.six@gdsys.cc 301ea68621 dm: Add callback to modify the device tree
Certain boards come in different variations by way of utilizing daughter
boards, for example. These boards might contain additional chips, which
are added to the main board's busses, e.g. I2C.

The device tree support for such boards would either, quite naturally,
employ the overlay mechanism to add such chips to the tree, or would use
one large default device tree, and delete the devices that are actually
not present.

Regardless of approach, even on the U-Boot level, a modification of the
device tree is a prerequisite to have such modular families of boards
supported properly.

Therefore, we add an option to make the U-Boot device tree (the actual
copy later used by the driver model) writeable, and add a callback
method that allows boards to modify the device tree at an early stage,
at which, hopefully, also the application of device tree overlays will
be possible.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Stefan Roese <sr@denx.de>
(cherry picked from commit 2a792753d6)
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>

Change-Id: I9a5fe4c6d681aaa5c68edd8a2a39d36bf2340fdf
2022-01-10 17:48:07 -08:00
..
andestech
asm-generic Reserve secure memory 2015-12-15 08:57:32 +08:00
bedbug
configs ipq: Add support for failsafe boot 2022-01-03 21:05:45 -08:00
cramfs
dm
dt-bindings ipq9574: Update QCA PHY name 2021-07-19 15:46:15 +05:30
faraday
fsl-mc
grlib
jffs2
linux ipq40xx: adding support for ESMT(GIGADEVICE) nand flash 2018-09-16 21:44:03 -07:00
lzma
mtd
net
pcmcia
power
samsung
synopsys
test
u-boot
usb usb: s3c-otg: Rename usb/s3c_udc.h to usb/dwc2_udc.h 2015-12-17 21:54:41 +01:00
zfs
.gitignore
953x.h MIPS: qca953x: Modify target files to use compile flags directly 2017-01-19 19:22:10 +05:30
955x.h MIPS: qca955x: Modify target files to use compile flags directly 2017-01-19 19:12:09 +05:30
956x.h MIPS: qca956x: Modify target files to use compile flags directly 2017-01-19 19:19:30 +05:30
_exports.h
ACEX1K.h
adc.h
addr_map.h
aes.h
ahci.h
ali512x.h
altera.h
ambapp.h
ambapp_ids.h
android_image.h
ansi.h
api_public.h
armcoremodule.h
asm-offsets.h
ata.h
atheros.h MIPS: qca956x: Modify target files to use compile flags directly 2017-01-19 19:19:30 +05:30
atmel_hlcdc.h
atmel_lcd.h
atmel_lcdc.h
atmel_mci.h
autoboot.h
axp152.h
axp209.h
axp221.h
axp818.h
axp_pmic.h
bcd.h
bios_emul.h
bitfield.h
bmp_layout.h
bootcount.h
bootm.h
bootretry.h
bootstage.h
bouncebuf.h
bus_vcxk.h
bzlib.h
cbfs.h
circbuf.h
cli.h
cli_hush.h
clk.h
cmd_spl.h
command.h ipq806x: Added multicore support 2018-04-27 11:47:47 +05:30
common.h dm: Add callback to modify the device tree 2022-01-10 17:48:07 -08:00
common_timing_params.h
commproc.h
compiler.h Revert "include/linux: move typdef for uintptr_t" 2015-12-16 07:11:15 -05:00
config_cmd_all.h
config_defaults.h
config_distro_bootcmd.h
config_distro_defaults.h
config_fallbacks.h
config_fsl_secboot.h
config_phylib_all_drivers.h
config_uncmd_spl.h
console.h
cortina.h
cpsw.h
cpu.h
crc.h ipq807x: Added the support for aquantia firmware download 2017-10-12 04:46:10 -07:00
cros_ec.h
cros_ec_message.h
dataflash.h
ddr_spd.h
debug_uart.h
dfu.h
dialog_pmic.h
display_options.h
displayport.h
div64.h
dm-demo.h
dm.h
dm9000.h
dp83848.h
ds1722.h
ds4510.h
dtt.h
dwc3-omap-uboot.h
dwc3-uboot.h
dwmmc.h
e500.h
ec_commands.h
edid.h
efi.h
efi_api.h
elf.h sysupgrade: Add support to process 64 bit image 2017-10-13 20:05:52 +05:30
env_attr.h
env_callback.h
env_default.h
env_flags.h
environment.h ipq806x: Customized environment size handling 2018-02-19 16:11:21 +05:30
errno.h
ethsw.h
exports.h
ext4fs.h
ext_common.h
exynos_lcd.h
fastboot.h
fat.h Revert "ipq807x: fat: Fix overflow issue" 2019-09-30 18:33:03 +05:30
fb_mmc.h
fb_nand.h
fdt.h
fdt_simplefb.h
fdt_support.h
fdtdec.h qca: move ARM specific files to another sublevel 2017-01-06 12:33:30 +05:30
fis.h
flash.h MIPS: qca956x: enable the flash driver 2016-11-04 10:56:59 +05:30
fm_eth.h
fpga.h
fs.h
fsl_csu.h
fsl_dcu_fb.h
fsl_ddr.h
fsl_ddr_dimm_params.h
fsl_ddr_sdram.h
fsl_ddrc_version.h
fsl_debug_server.h
fsl_devdis.h
fsl_diu_fb.h
fsl_dspi.h
fsl_dtsec.h
fsl_errata.h fsl/ddr: updated ddr errata-A008378 for arm and power SoCs 2015-12-13 18:27:28 -08:00
fsl_esdhc.h ARM: imx: fsl_esdhc: fix usage of low 4 bits of sysctl register 2016-01-03 15:21:21 +01:00
fsl_fman.h
fsl_ifc.h
fsl_immap.h
fsl_mdio.h
fsl_memac.h
fsl_pmic.h
fsl_sec.h
fsl_sec_mon.h
fsl_secboot_err.h
fsl_sfp.h
fsl_tgec.h
fsl_usb.h
fsl_validate.h armv8/ls1043ardb: add SECURE BOOT target for NOR 2015-12-15 08:57:35 +08:00
fsl_wdog.h imx_watchdog: always set minimal timeout in reset_cpu 2016-01-07 17:54:53 +01:00
fuse.h
g_dnl.h
gdsys_fpga.h
gt64120.h
hash.h
hw_sha.h
hwconfig.h
i2c.h
i2c_eeprom.h
i2s.h
i8042.h
ide.h
image-sparse.h
image.h ipq807x: Modified scm calls to support both 32 bit and 64 bit 2017-10-12 04:46:15 -07:00
imx_thermal.h
initcall.h
input.h
inttypes.h
iomux.h
ioports.h
iotrace.h
ipu_pixfmt.h
key_matrix.h
keyboard.h
kgdb.h
lattice.h
lcd.h
lcd_console.h
lcdvideo.h
ld9040.h
led-display.h
led.h
libata.h
libfdt.h
libfdt_env.h
libtizen.h
linker_lists.h
linux_logo.h
lmb.h
logbuff.h
lxt971a.h
lynxkdi.h
malloc.h ipq50xx: Added support for compressed dtb in u-boot 2020-09-16 00:01:29 -07:00
mapmem.h
mb862xx.h
mc9sdz60.h
mc13783.h
mc13892.h
mc34704.h
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
memalign.h
membuff.h
menu.h
micrel.h
mii_phy.h
miiphy.h
mipi_display.h
misc.h include: Correct "requset" typoes in misc.h 2016-01-08 10:15:42 -05:00
mk48t59.h
mmc.h ipq806x: Change the minimum write protect region size for Micron eMMC 2018-11-13 14:31:35 +05:30
mpc5xx.h
mpc5xxx.h
mpc5xxx_sdma.h
mpc8xx.h
mpc8xx_irq.h
mpc83xx.h
mpc85xx.h
mpc86xx.h
mpc106.h
mpc823_lcd.h
mpc8260.h
mpc8260_irq.h
msc01.h
mtd.h
mtd_node.h
mv88e6352.h
mvebu_mmc.h
mvmfp.h
nand.h driver: mtd: Add support to read entire ONFI parameter page structure. 2019-06-11 22:51:13 +05:30
net.h net: Use packed structures for networking 2021-01-06 01:20:48 -08:00
netdev.h
ns16550.h
ns87308.h
onenand_uboot.h
os.h
palmas.h
part.h mmc protect: Handled invalid GPT 2018-03-21 04:44:14 -07:00
part_efi.h
pc_keyb.h
pca953x.h
pca9564.h
pca9698.h
pci.h
pci_gt64120.h
pci_ids.h
pci_msc01.h
pci_rom.h
pcmcia.h
phy.h ipq807x : Enabling MDIO C45 and Uniphy3 support 2017-08-22 15:00:18 +05:30
phys2bus.h
physmem.h
post.h
ppc_asm.tmpl
ppc_defs.h
ps2mult.h
pwm.h
pxa_lcd.h
radeon.h
ram.h
rc4.h
regmap.h
reiserfs.h
remoteproc.h
reset.h
rtc.h
rtc_def.h
s6e63d6.h
s_record.h
SA-1100.h
samsung-usb-phy-uboot.h
sandbox-adc.h
sandboxblockdev.h
sandboxfs.h
sata.h
scf0403_lcd.h
scsi.h
sdhci.h mmc: ipq6018: fix for mmc iopad issue 2019-05-27 21:36:57 +05:30
search.h
sed156x.h
sed13806.h
serial.h
sh_pfc.h
sh_tmu.h
sja1000.h
slre.h
sm501.h
smsc_lpc47m.h
sound.h
sparse_defs.h
sparse_format.h
spartan2.h
spartan3.h
spd.h
spd_sdram.h
spi.h
spi_flash.h ipq5018: spi-nor: Add offset 0x0 erase support for S25FL128S_64K 2019-11-05 10:32:27 +05:30
spl.h
splash.h
status_led.h
stdio_dev.h
stdlib.h
stratixII.h
sx151x.h
sym53c8xx.h
syscon.h
systemace.h
tca642x.h
tegra-kbc.h
thermal.h
thor.h
ti-usb-phy-uboot.h
timer.h
timestamp.h
tmu.h
tpm.h
tps6586x.h
trace.h
tsec.h
tsi108.h
tsi148.h
twl4030.h
twl6030.h
tws.h
ubi_uboot.h
ubifs_uboot.h
universe.h
usb.h ipq: Enable crashdump collection in usb device 2019-05-30 20:17:55 +05:30
usb_cdc_acm.h
usb_defs.h usb: hub: Add 3.0 hub port status mask of 2.0 hub 2018-06-05 15:40:29 +05:30
usb_ether.h
usb_mass_storage.h
usbdescriptors.h
usbdevice.h
usbroothubdes.h
uuid.h
vbe.h
version.h
video.h
video_bridge.h
video_easylogo.h
video_fb.h
video_font.h
video_font_4x6.h
video_font_data.h
video_logo.h
virtex2.h
vsc7385.h
vsc9953.h
vsprintf.h
vxworks.h
w83c553f.h
watchdog.h
xilinx.h
xyzModem.h
zfs_common.h
zynqpl.h