u-boot/include
Simon Glass b00f0066e5 dtoc: Support tracking the phase of U-Boot
U-Boot operates in several phases, typically TPL, SPL and U-Boot proper.
The latter does not use dtoc.

In some rare cases different drivers are used for two phases. For example,
in TPL it may not be necessary to use the full PCI subsystem, so a simple
driver can be used instead.

This works in the build system simply by compiling in one driver or the
other (e.g. PCI driver + uclass for SPL; simple_bus for TPL). But dtoc has
no way of knowing which code is compiled in for which phase, since it does
not inspect Makefiles or dependency graphs.

So to make this work for dtoc, we need to be able to explicitly mark
drivers with their phase. This is done by adding an empty macro to the
driver. Add support for this in dtoc.

Signed-off-by: Simon Glass <sjg@chromium.org>
2021-03-22 19:23:27 +13:00
..
acpi acpi: Tidy up documentation for struct acpi_gpio 2021-02-01 15:11:41 +08:00
andestech
asm-generic log: Handle line continuation 2021-03-12 17:41:35 -05:00
bedbug
broadcom
cavium
configs board: Add MT8183 pumpkin board support 2021-03-20 16:24:27 -04:00
cramfs
crypto
dm dtoc: Support tracking the phase of U-Boot 2021-03-22 19:23:27 +13:00
dt-bindings arm: rmobile: Add Silicon Linux EK874 board support 2021-03-16 20:09:29 +01:00
environment
faraday
fsl-mc
jffs2
kendryte
keys
linux log: convert pr_*() to logging 2021-03-01 09:54:11 -05:00
lzma
mtd
mvebu
net net: Introduce DSA class for Ethernet switches 2021-02-16 11:48:20 -05:00
power common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
samsung
spmi
synopsys
tee common: SCP03 control (enable and provision of keys) 2021-03-13 13:14:52 -05:00
test Prepare v2021.04-rc4 2021-03-15 12:15:38 -04:00
u-boot lib: rsa: struct udevice build warning 2021-02-24 16:51:48 -05:00
usb xhci: translate virtual addresses into the bus's address space 2021-02-18 11:56:26 +01:00
xen
zfs
.gitignore
_exports.h dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
ACEX1K.h
adc.h
addr_map.h lib: addr_map: Move address_map[] type to the header file 2021-03-05 10:25:43 +05:30
ahci.h
ali512x.h
altera.h
android_ab.h
android_bootloader_message.h
android_image.h
ansi.h
api.h
api_public.h
armcoremodule.h
asm-offsets.h
ata.h
atf_common.h
atmel_hlcdc.h
atmel_lcd.h
atmel_lcdc.h
atmel_mci.h
atsha204a-i2c.h
audio_codec.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
autoboot.h
avb_verify.h
axi.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
axp152.h
axp209.h
axp221.h
axp305.h sunxi: Add support for AXP305 PMIC 2021-01-25 21:52:00 +00:00
axp809.h
axp818.h
axp_pmic.h sunxi: Add support for AXP305 PMIC 2021-01-25 21:52:00 +00:00
backlight.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
bcb.h cmd: bcb: Add support for processing const string literals in bcb_set() 2021-01-31 14:08:56 +01:00
bcd.h
binman.h binman: Allow reading entries from a subnode 2021-01-27 17:03:16 -05:00
binman_sym.h
bios_emul.h
bitfield.h
blk.h
bloblist.h bloblist: Support relocating to a larger space 2021-01-27 17:03:16 -05:00
bmp_layout.h
boot_fit.h
bootcount.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
bootm.h
bootretry.h
bootstage.h
bouncebuf.h
btrfs.h
bus_vcxk.h
button.h button: add udevice forward declaration 2021-02-22 11:07:57 +01:00
bzlib.h
cache.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
capitalization.h
cbfs.h
charset.h lib/charset: UTF-8 stream conversion 2021-03-07 17:37:13 +01:00
circbuf.h
cli.h
cli_hush.h
clk-uclass.h
clk.h
clock_legacy.h
cmd_spl.h
command.h cmd: pxe_utils: sysboot: Add zboot support to boot x86 Linux kernel image 2021-02-03 23:16:44 +08:00
common.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
common_timing_params.h
compiler.h
config_distro_bootcmd.h
config_fallbacks.h dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
config_fsl_chain_trust.h
config_phylib_all_drivers.h
config_uncmd_spl.h
console.h
cortina.h
cp437.h
cp1250.h
cpsw.h
cpu.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
cpu_func.h reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
cros_ec.h cros_ec: Add vstore support 2021-01-30 14:25:41 -07:00
cros_ec_message.h
ctype.h Add a symlink for ctype.h 2021-01-30 14:25:42 -07:00
ddr_spd.h
debug_uart.h
dfu.h dfu: add 'SCRIPT' entity 2021-01-31 14:08:56 +01:00
dialog_pmic.h
display.h
display_options.h
div64.h
dm-demo.h
dm.h
dm9000.h
dma-uclass.h
dma.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
dp83848.h
ds1722.h
dsi_host.h
dt-structs.h
dt_table.h
dw_hdmi.h
dwc3-omap-uboot.h
dwc3-sti-glue.h
dwc3-uboot.h
dwc_ahsata.h
dwmmc.h
e500.h
ec_commands.h cros_ec: Support reading EC features 2021-01-30 14:25:41 -07:00
edid.h
eeprom.h
eeprom_field.h
eeprom_layout.h
efi.h
efi_api.h
efi_driver.h
efi_dt_fixup.h
efi_load_initrd.h
efi_loader.h efi_loader: fix documentation in efi_loader.h 2021-02-26 16:17:43 +01:00
efi_rng.h
efi_selftest.h
efi_tcg2.h
efi_variable.h
elf.h
env.h
env_attr.h
env_callback.h
env_default.h env: Allow to set default_environment[] from board code via compile option DEFAULT_ENV_IS_RW 2021-02-08 08:52:50 +01:00
env_flags.h
env_internal.h env: Allow to set default_environment[] from board code via compile option DEFAULT_ENV_IS_RW 2021-02-08 08:52:50 +01:00
errno.h
eth_phy.h
ethsw.h
exception.h
exports.h dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
ext4fs.h
ext_common.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
exynos_lcd.h
fastboot-internal.h
fastboot.h fastboot: add UUU command UCmd and ACmd support 2021-02-26 15:30:55 +01:00
fat.h
fb_mmc.h
fb_nand.h
fdt.h
fdt_region.h
fdt_simplefb.h
fdt_support.h dm: Introduce xxx_get_dma_range() 2021-02-18 11:56:25 +01:00
fdtdec.h
fis.h
flash.h
fm_eth.h
fpga.h
fs.h
fs_internal.h
fs_loader.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_devdis.h
fsl_diu_fb.h
fsl_dspi.h
fsl_dtsec.h
fsl_errata.h
fsl_esdhc.h
fsl_esdhc_imx.h
fsl_fman.h
fsl_ifc.h
fsl_immap.h
fsl_lpuart.h
fsl_mdio.h
fsl_memac.h
fsl_mmdc.h
fsl_pmic.h
fsl_qbman.h
fsl_qe.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
fsl_sec.h
fsl_sec_mon.h
fsl_secboot_err.h
fsl_sfp.h
fsl_tgec.h
fsl_usb.h
fsl_validate.h
fsl_wdog.h
fuse.h
g_dnl.h
gdsys_fpga.h
generic-phy.h generic-phy: add configure op 2021-02-10 10:00:51 +01:00
getopt.h
gt64120.h
gzip.h
handoff.h
hang.h
hash.h
hda_codec.h
hexdump.h
host_arch.h
hw_sha.h
hwconfig.h
hwspinlock.h
i2c.h dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
i2c_eeprom.h
i2s.h
i8042.h
ide.h
image-android-dt.h
image-sparse.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
image.h image: Do not #if guard board_fit_image_post_process() prototype 2021-02-17 19:46:43 -05:00
imx8image.h
imx_lpi2c.h
imx_sip.h
imx_thermal.h
imximage.h
init.h Merge branch '2021-02-02-drop-asm_global_data-when-unused' 2021-02-15 10:16:45 -05:00
initcall.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
input.h
inttypes.h
iomux.h IOMUX: Introduce iomux_replace_device() 2021-02-16 11:16:08 -05:00
ioports.h
iotrace.h
ipu_pixfmt.h
irq.h
irq_func.h
k3-avs.h
key_matrix.h
keyboard.h
kgdb.h
lattice.h
lcd.h
lcd_console.h
lcdvideo.h
ld9040.h
led.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
libata.h
libtizen.h
linker_lists.h
linux_logo.h
lmb.h
log.h log: Add return-checking macros for 0 being success 2021-03-12 17:41:35 -05:00
lxt971a.h
lynxkdi.h
lz4.h
mailbox-uclass.h
mailbox.h
malloc.h malloc: adjust memcpy() and memset() definitions. 2021-02-24 16:51:48 -05:00
mapmem.h
mc9sdz60.h
mc13783.h
mc13892.h
mc34704.h
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
media_bus_format.h
memalign.h
membuff.h
menu.h
micrel.h
mii_phy.h
miiphy.h
mipi_display.h
mipi_dsi.h
misc.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mk48t59.h
mm_communication.h
mmc.h mmc: pwrseq: add mmc-pwrseq file to provide a generic interface 2021-02-19 15:10:41 +08:00
mpc8xx.h
mpc8xx_irq.h
mpc83xx.h
mpc85xx.h
mpc86xx.h
mpc106.h
msc01.h
mtd.h
mtd_node.h
mux-internal.h
mux.h
mv88e6352.h
mvebu_mmc.h
mvmfp.h
mxs_nand.h
nand.h
net.h net: Introduce DSA class for Ethernet switches 2021-02-16 11:48:20 -05:00
netdev.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
ns16550.h
nuvoton_nct6102d.h
nvme.h
of_live.h
omap3_spi.h
onenand_uboot.h
opensbi.h
os.h sandbox: Update os_find_u_boot() to find the .img file 2021-03-12 09:57:31 -05:00
p2sb.h
palmas.h dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
panel.h
part.h part: Support getting whole disk from part_get_info_by_dev_and_name_or_num 2021-02-26 15:30:55 +01:00
part_efi.h
pca953x.h
pca9564.h
pca9698.h
pch.h
pci.h
pci_ep.h
pci_gt64120.h
pci_ids.h
pci_msc01.h
pci_rom.h
pci_tegra.h
pe.h
phy-mipi-dphy.h phy: dphy: Add configuration helpers 2021-02-10 10:00:51 +01:00
phy-sun4i-usb.h
phy.h net: phy: introduce fixed_phy_create for DSA CPU ports 2021-02-16 11:48:20 -05:00
phy_interface.h
phys2bus.h dm: Introduce dev_phys_to_bus()/dev_bus_to_phys() 2021-02-18 11:56:25 +01:00
physmem.h
post.h
power-domain-uclass.h
power-domain.h
ppc_asm.tmpl
ppc_defs.h
pvblock.h
pwm.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
pwrseq.h
pxa_lcd.h
qfw.h
radeon.h
ram.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
rand.h
rc4.h
regmap.h
reiserfs.h
relocate.h
remoteproc.h
reset-uclass.h
reset.h
rng.h
rtc.h
rtc_def.h
s_record.h
SA-1100.h
samsung-usb-phy-uboot.h
sandbox-adc.h
sandbox-clk.h
sandboxblockdev.h
sandboxfs.h
sandboxtee.h
sata.h
scf0403_lcd.h
scmi_agent-uclass.h
scmi_agent.h
scmi_protocols.h
scp03.h common: SCP03 control (enable and provision of keys) 2021-03-13 13:14:52 -05:00
scsi.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
sdhci.h mmc: sdhci: Add helper functions for UHS modes 2021-02-04 20:37:57 +05:30
sdp.h
search.h
serial.h
sh_pfc.h
signatures.h
sja1000.h
slre.h
smbios.h smbios: Add more options for the BIOS version string 2021-02-06 19:20:27 +08:00
smem.h
smsc_lpc47m.h
smsc_sio1007.h
soc.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
sort.h
sound.h
sparse_defs.h
sparse_format.h
spartan2.h
spartan3.h
spd.h
spd_sdram.h
spi-mem.h mem: spi-mem: add declaration for spi_mem_default_supports_op 2021-02-08 14:01:18 +05:30
spi.h
spi_flash.h
spl.h spl: test: Add a test for spl_load_simple_fit() 2021-03-12 09:57:31 -05:00
spl_gpio.h
splash.h
squashfs.h
st_logo_data.h
status_led.h
stdint.h
stdio.h
stdio_dev.h stdio: Introduce a new helper stdio_file_to_flags() 2021-02-16 11:16:07 -05:00
stdlib.h
stm32_rcc.h
stratixII.h
string.h
sunxi_image.h
sy8106a.h
sym53c8xx.h
syscon.h
sysinfo.h Merge branch '2021-02-02-drop-asm_global_data-when-unused' 2021-02-15 10:16:45 -05:00
sysreset.h reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
tables_csum.h
tca642x.h
tee.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
tegra-kbc.h
thermal.h
thor.h thor: add support for the dfu_alt_info reintialization from the flashed script 2021-01-31 14:08:56 +01:00
ti-usb-phy-uboot.h
time.h
timer.h
timestamp.h
tlv_eeprom.h
tmu.h
tpm-common.h tpm: Add TPM2 support for read/write values 2021-03-02 15:53:37 -05:00
tpm-v1.h tpm: Switch TPMv1 over to use the new API 2021-03-02 15:53:37 -05:00
tpm-v2.h tpm: Allow disabling platform hierarchy with TPM2 2021-03-02 15:53:37 -05:00
tpm_api.h tpm: Add an API that can support v1.2 and v2 2021-03-02 15:53:37 -05:00
tps6586x.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
trace.h
tsec.h
tsi148.h
twl4030.h dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
twl6030.h dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
ubi_uboot.h
ubifs_uboot.h
ubispl.h
uboot_aes.h
ufs.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
universe.h
usb.h
usb_cdc_acm.h
usb_defs.h
usb_ether.h
usb_mass_storage.h
usbdescriptors.h
usbdevice.h usb: gadget: Do not export usbd_device_* arrays 2021-01-31 14:08:56 +01:00
usbroothubdes.h
uuid.h uuid: Add a comment for UUID_STR_LEN 2021-01-27 17:03:16 -05:00
vbe.h
versalpl.h
version.h
video.h video: Allow syncing the entire framebuffer to the copy 2021-01-27 17:03:16 -05:00
video_bridge.h
video_console.h
video_easylogo.h
video_fb.h
video_font.h
video_font_4x6.h
video_font_data.h
video_osd.h
virtex2.h
virtio.h
virtio_ring.h
virtio_types.h
vsc7385.h
vsc9953.h
vsprintf.h
vxworks.h
w1-eeprom.h
w1.h
w83c553f.h
wait_bit.h
watchdog.h
wdt.h
winbond_w83627.h
xen.h
xilinx.h
xyzModem.h
zfs_common.h
zynq_bootimg.h
zynqmp_firmware.h
zynqmp_tap_delay.h
zynqmppl.h
zynqpl.h