u-boot/include
Rasmus Villemoes 6dca1d9ad3 fdt_support: add optional board_rng_seed() hook
A recurring theme on LKML is the boot process deadlocking due to some
process blocking waiting for random numbers, while the kernel's
Cryptographic Random Number Generator (crng) is not initalized yet,
but that very blocking means no activity happens that would generate
the entropy necessary to finalize seeding the crng.

This is not a problem on boards that have a good hwrng (when the
kernel is configured to trust it), whether in the CPU or in a TPM or
elsewhere. However, that's far from all boards out there. Moreover,
there are consumers in the kernel that try to obtain random numbers
very early, before the kernel has had any chance to initialize any
hwrng or other peripherals.

Allow a board to provide a board_rng_seed() function, which is
responsible for providing a value to be put into the rng-seed property
under the /chosen node.

The board code is responsible for how to actually obtain those
bytes.

- One possibility is for the board to load a seed "file" from
  somewhere (it need not be a file in a filesystem of course), and
  then ensure that that the same seed file does not get used on
  subsequent boots.

  * One way to do that is to delete the file, or otherwise mark it as
    invalid, then rely on userspace to create a new one, and living
    with the possibility of not finding a seed file during some boots.

  * Another is to use the scheme used by systemd-boot and create a new
    seed file immediately, but in a way that the seed passed to the
    kernel and the new (i.e. next) seed cannot be deduced from each
    other, see the explanation at
    https://lore.kernel.org/lkml/20190929090512.GB13049@gardel-login/
    and the current code at
    https://github.com/systemd/systemd/blob/main/src/boot/efi/random-seed.c

- The board may have an hwrng from which some bytes can be read; while
  the kernel can also do that, doing it in U-Boot and providing a seed
  ensures that even very early users in the kernel get good random
  numbers.

- If the board has a sensor of some sort (temperature, humidity, GPS,
  RTC, whatever), mixing in a reading of that doesn't hurt.

- etc. etc.

These can of course be combined.

The rng-seed property is mixed into the pool used by the linux
kernel's CRNG very early during boot. Whether it then actually
contributes towards the kernel considering the CRNG initialized
depends on whether the kernel has been configured with
CONFIG_RANDOM_TRUST_BOOTLOADER (nowadays overridable via the
random.trust_bootloader command line option). But that's for the BSP
developer to ultimately decide.

So, if the board needs to have all that logic, why not also just have
it do the actual population of /chosen/rng-seed in ft_board_setup(),
which is not that many extra lines of code?

I considered that, but decided handling this logically belongs in
fdt_chosen(). Also, apart from saving the board code from the few
lines of boilerplate, doing it in ft_board_setup() is too late for at
least some use cases. For example, I want to allow the board logic to
decide

  ok, let's pass back this buffer and use that as seed, but also let's
  set random.trust_bootloader=n so no entropy is credited.

This requires the rng-seed handling to happen before bootargs
handling. For example, during the very first boot, the board might not
have a proper seed file, but the board could still return (a hash of)
some CPU serial# or whatnot, so that at least no two boards ever get
the same seed - the kernel always mixes in the value passed in
rng-seed, but if it is not "trusted", the kernel would still go
through the same motions as it would if no rng-seed was passed before
considering its CRNG initialized. I.e., by returning that
unique-to-this-board value and setting random.trust_bootloader=n, the
board would be no worse off than if board_rng_seed() returned nothing
at all.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2022-09-12 06:41:14 -06:00
..
acpi acpi: Move acpi_write_tables() to a generic header 2022-02-11 11:29:23 -05:00
andestech
asm-generic common/console.c: prevent pre-console buffer contents from being added to itself 2022-08-31 12:16:01 -04:00
broadcom cmd: broadcom: add command for chimp handshake 2020-09-09 16:57:35 -04:00
cavium
clk reset: sunxi: Reuse the platform data from the clock driver 2022-07-18 09:37:50 +01:00
configs - simplify the STM32MP15x package parsing code 2022-09-08 08:33:41 -04:00
cramfs
crypto lib: crypto: add mscode_parser 2022-07-05 14:37:16 +02:00
dm dm: core: Add support for writing u32 with ofnode 2022-08-12 08:14:24 -04:00
dt-bindings dt-bindings: clock: sifive: sync FU740 PRCI clock binding header 2022-09-06 13:00:15 +08:00
environment include/configs: Remove rootwait=1 to all the affected boards 2022-06-06 18:01:21 -04:00
faraday Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig 2021-12-27 16:20:18 -05:00
fsl-mc drivers: net: fsl-mc: add a command which dumps the MC log 2021-11-09 17:18:06 +05:30
jffs2
k210 k210: use the board vendor name rather than the marketing name 2022-03-15 17:43:11 +08:00
keys
linux arm: mvebu: mbus: Fix mbus driver to work also after U-Boot relocation 2022-08-23 12:35:37 +02:00
lzma
mtd Audit <flash.h> inclusion 2022-08-04 16:18:47 -04:00
mvebu phy: marvell: Remove unused function comphy_update_map() 2022-01-20 14:46:03 +01:00
net doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
power Merge branch 'next' 2022-07-11 14:58:57 -04:00
reboot-mode doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
samsung
spmi doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
synopsys
tee lib: optee: Avoid CONFIG_TZDRAM_* in optee_verify_bootm_image() 2021-10-05 08:46:23 -04:00
test dm: core: Prepare for updating the device tree with ofnode 2022-08-12 08:14:24 -04:00
u-boot treewide: Fix Marek's name and change my e-mail address 2022-07-21 10:14:04 +02:00
usb arm: Remove PXA architecture support 2022-07-07 09:29:08 -04:00
valgrind Add valgrind headers to U-Boot 2022-04-11 10:00:30 -04:00
xen Revert "xen: add definitions for console_io" 2020-10-23 09:16:01 -04:00
zfs
.gitignore
_exports.h net: phy: don't require PHY interface mode during PHY creation 2022-04-10 08:44:13 +03:00
abuf.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
ACEX1K.h
adc.h dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
addr_map.h addrmap: Support on sandbox 2022-07-26 02:30:56 -06:00
ahci.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
ali512x.h
altera.h fpga: altera: Rename Stratix10 FPGA to Intel FPGA SDM Mailbox 2020-10-09 17:53:12 +08:00
android_ab.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
android_bootloader_message.h
android_image.h
ansi.h Nokia RX-51: Update my email address 2020-05-11 10:16:49 +05:30
api.h common: board_r: Drop initr_api wrapper 2021-01-15 14:36:12 -05:00
api_public.h api: fix a potential serious bug caused by undef CONFIG_SYS_64BIT_LBA 2021-03-19 10:36:06 -04:00
armcoremodule.h arm: integrator: Migrate platform-specific options and cleanup armcoremodule.h 2022-04-08 09:05:19 -04:00
asm-offsets.h
ata.h Convert CONFIG_SYS_IDE_MAXBUS et al to Kconfig 2022-02-09 09:16:47 -05:00
atf_common.h spl: atf: add support for LOAD_IMAGE_V2 2020-12-04 16:09:06 -05:00
atmel_hlcdc.h
atmel_lcd.h dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
atmel_lcdc.h
atmel_mci.h
atsha204a-i2c.h treewide: Fix Marek's name and change my e-mail address 2022-07-21 10:14:04 +02:00
audio_codec.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
autoboot.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
avb_verify.h avb: Make AVB independent of fastboot 2020-08-24 14:11:13 -04:00
axi.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
axp152.h pmic: axp: define ALDO_IN startup bit 2022-01-30 01:25:00 +00:00
axp209.h pmic: axp: define ALDO_IN startup bit 2022-01-30 01:25:00 +00:00
axp221.h pmic: axp: define ALDO_IN startup bit 2022-01-30 01:25:00 +00:00
axp305.h pmic: axp: define ALDO_IN startup bit 2022-01-30 01:25:00 +00:00
axp809.h pmic: axp: define ALDO_IN startup bit 2022-01-30 01:25:00 +00:00
axp818.h pmic: axp: define ALDO_IN startup bit 2022-01-30 01:25:00 +00:00
axp_pmic.h include: axp_pmic: Include headers for all variants 2021-10-25 14:50:42 +01:00
backlight.h doc: replace @return by Return: 2022-01-19 18:11:34 +01: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 doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
binman_sym.h spl: binman: Check at runtime if binman symbols were filled in 2022-06-28 03:09:52 +01:00
bios_emul.h video: Rename structs and functions to avoid VBE 2022-08-12 08:14:23 -04:00
bitfield.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
blk.h dm: blk: Add a function to return the device type 2022-04-25 10:00:03 -04:00
bloblist.h bloblist: Describe the design goals 2022-06-28 03:09:51 +01:00
bmp_layout.h
boot_fit.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
bootcount.h Convert CONFIG_SYS_BOOTCOUNT_LE et al to Kconfig 2022-07-07 14:01:09 -04:00
bootdev.h bootstd: Add the bootdev uclass 2022-04-25 10:00:04 -04:00
bootflow.h bootstd: Support bootflows with global bootmeths 2022-08-12 08:17:11 -04:00
bootm.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
bootmeth.h bootstd: Allow scanning for global bootmeths separately 2022-08-12 08:17:11 -04:00
bootretry.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
bootstage.h bootstage: Show func name for bootstage_mark/error 2022-08-20 18:07:32 -06:00
bootstd.h vbe: Add initial support for VBE 2022-08-12 08:17:11 -04:00
bouncebuf.h
btrfs.h treewide: Fix Marek's name and change my e-mail address 2022-07-21 10:14:04 +02:00
bus_vcxk.h
button.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
bzlib.h
cache.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
capitalization.h
cbfs.h cbfs: Add some more definititions 2022-04-06 14:01:42 -04:00
charset.h lib/charset: fix compile warnings 2022-05-28 10:59:27 +02:00
circbuf.h
cli.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
cli_hush.h
clk-uclass.h clk: Make rfree return void 2022-03-30 13:02:55 -04:00
clk.h clk: Make clk_free return void 2022-03-30 13:02:55 -04:00
clock_legacy.h Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig 2021-12-27 16:20:18 -05:00
cmd_spl.h
command.h dtoc fixes with pylint, tests 2022-08-11 08:47:20 -04:00
common.h common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
common_timing_params.h
compiler.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
config_distro_bootcmd.h distroboot: ubifs: Add support for specifying UBI header offset 2022-08-26 20:45:15 -04:00
config_fallbacks.h Convert CONFIG_SPL_PAD_TO et al to Kconfig 2022-06-06 12:09:06 -04:00
config_fsl_chain_trust.h powerpc: Clean up CHAIN_OF_TRUST related options 2022-07-05 17:04:15 -04:00
config_phylib_all_drivers.h Convert CONFIG_PHYLIB et al to Kconfig 2020-04-28 15:57:58 -04:00
config_uncmd_spl.h Finish converting CONFIG_BOOTM_NETBSD et al to Kconfig 2022-04-01 10:28:45 -04:00
console.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
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 doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
cros_ec.h cros_ec: Complete the comment for cros_ec_read_batt_charge() 2022-04-06 14:01:42 -04:00
cros_ec_message.h
crypt.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
ctype.h Add a symlink for ctype.h 2021-01-30 14:25:42 -07:00
ddr_spd.h
debug_uart.h debug_uart: Add CR before and after announce string 2020-07-08 17:21:46 -04:00
dfu.h DFU: Check the number of arguments and argument string strictly 2022-02-11 11:29:23 -05:00
dialog_pmic.h
display.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
display_options.h common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
distro.h bootstd: Add an implementation of distro boot 2022-04-25 10:00:04 -04:00
div64.h WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
dm-demo.h dm: core: Drop dm.h header file from dm-demo.h 2020-08-03 22:19:54 -04:00
dm.h dm: core: Guard against including dm.h in header files 2020-08-03 22:19:54 -04:00
dma-uclass.h
dma.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
dp83848.h
ds1722.h
dsi_host.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
dt-structs.h dm: Add comments to dt-structs contents 2021-09-25 09:46:15 -06:00
dt_table.h
dw_hdmi.h
dwc3-omap-uboot.h
dwc3-sti-glue.h treewide: Update email address Patrick Delaunay and Patrice Chotard 2020-12-09 10:57:50 +01:00
dwc3-uboot.h usb: dwc3: Add disable u2mac linestate check quirk 2020-05-29 18:13:19 +08:00
dwc_ahsata.h
dwmmc.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
e500.h
ec_commands.h cros_ec: Support reading EC features 2021-01-30 14:25:41 -07:00
edid.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
eeprom.h Convert CONFIG_SYS_I2C_EEPROM_ADDR et al to Kconfig 2021-08-30 14:10:06 -04:00
eeprom_field.h
eeprom_layout.h
efi.h efi: Tidy up some comments in efi header 2022-01-15 10:57:22 +01:00
efi_api.h efi: ECPT add EBBRv2.0 conformance profile 2022-09-03 10:13:26 +02:00
efi_default_filename.h efi_loader: correctly identify binary name 2022-06-12 09:17:54 +02:00
efi_driver.h efi: Tidy up header includes 2020-08-03 22:19:54 -04:00
efi_dt_fixup.h cmd: efidebug: simplify printing GUIDs 2022-01-19 16:16:33 +01:00
efi_load_initrd.h efi_loader: avoid multiple local copies of lf2_initrd_guid 2021-10-21 03:46:04 +02:00
efi_loader.h efi: Create ECPT table 2022-09-03 09:35:48 +02:00
efi_riscv.h efi_loader: Enable RISCV_EFI_BOOT_PROTOCOL support 2022-01-29 10:23:40 +01:00
efi_rng.h cmd: efidebug: simplify printing GUIDs 2022-01-19 16:16:33 +01:00
efi_selftest.h efi_selftest: export efi_st_get_config_table() 2022-09-09 16:07:54 +02:00
efi_tcg2.h efi_loader: printing TCG2 protocol GUID 2022-01-19 16:16:33 +01:00
efi_variable.h efi_loader: function to get GUID for variable name 2021-10-25 21:13:06 +02:00
elf.h stm32mp1: fix reference for STMicroelectronics 2022-06-17 14:12:27 +02:00
env.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
env_attr.h
env_callback.h bootstd: Add the bootmeth uclass and helpers 2022-04-25 10:00:04 -04:00
env_default.h Complete migration of MTDPARTS_DEFAULT / MTDIDS_DEFAULT, include in environment 2022-06-28 17:11:49 -04:00
env_flags.h env: Add support for explicit write access list 2020-07-31 10:13:00 -04:00
env_internal.h env: Implement lower priority arch_env_get_location() 2022-04-21 09:08:40 -04:00
erofs.h fs/erofs: add erofs filesystem support 2022-03-15 16:19:29 -04:00
errno.h errno: Avoid including strings in SPL 2022-04-06 14:01:42 -04:00
eth_phy.h net: Drop dm.h header file in eth_phy.h 2020-08-03 22:19:54 -04:00
ethsw.h
event.h event: Add an event for device tree fixups 2022-08-12 08:17:11 -04:00
event_internal.h event: Add basic support for events 2022-03-10 08:28:36 -05:00
exception.h command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
exports.h net: phy: don't require PHY interface mode during PHY creation 2022-04-10 08:44:13 +03:00
ext4fs.h common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
ext_common.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
extension_board.h doc: replace @return by Return: 2022-01-19 18:11:34 +01: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 fs: fat: structure for name and extension 2021-01-23 07:56:53 +01:00
fb_mmc.h common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
fb_nand.h
fdt.h
fdt_region.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
fdt_simplefb.h common: add fdt_simplefb_enable_and_mem_rsv function 2021-11-30 16:43:28 +01:00
fdt_support.h fdt_support: add optional board_rng_seed() hook 2022-09-12 06:41:14 -06:00
fdtdec.h fdtdec.h: Remove gurads around fdtdec_resetup function 2022-02-16 14:19:29 -05:00
fis.h
flash.h Audit <flash.h> inclusion 2022-08-04 16:18:47 -04:00
fm_eth.h treewide: Rename PHY_INTERFACE_MODE_NONE to PHY_INTERFACE_MODE_NA 2022-04-10 08:44:13 +03:00
fpga.h fpga: zynqmp: support loading encrypted bitfiles 2022-07-26 09:34:21 +02:00
fs.h fs: fix comment typo 2022-08-31 12:16:01 -04:00
fs_internal.h treewide: Fix Marek's name and change my e-mail address 2022-07-21 10:14:04 +02:00
fs_loader.h dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
fsl_csu.h
fsl_ddr.h Convert CONFIG_SYS_FSL_DDR_MAIN_NUM_CTRLS et al to Kconfig 2022-08-12 16:10:49 -04:00
fsl_ddr_dimm_params.h
fsl_ddr_sdram.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
fsl_ddrc_version.h
fsl_devdis.h
fsl_dspi.h m68k: Remove M5475x boards 2021-07-07 19:52:22 -04:00
fsl_dtsec.h
fsl_errata.h
fsl_esdhc.h mmc: fsl_esdhc: Define macro ESDHCCTL_SNOOP for Snoop attribute 2022-04-26 17:18:39 +05:30
fsl_esdhc_imx.h mmc: fsl_esdhc_imx: use VENDORSPEC_FRC_SDCLK_ON when necessary 2022-03-16 16:40:56 +09:00
fsl_fman.h
fsl_ifc.h fsl_ifc: fix typo in the NOR CSOR register definition 2021-03-23 15:27:08 +05:30
fsl_immap.h
fsl_lpuart.h fsl_lpuart: add i.MX9 support 2022-07-26 11:29:00 +02:00
fsl_mdio.h net: fsl_mdio: Correct the MII management register block address 2020-09-24 08:27:44 -04:00
fsl_memac.h net: fsl: Fix busy flag polling register 2022-01-15 18:53:16 +02:00
fsl_mmdc.h
fsl_pmic.h
fsl_qbman.h
fsl_qe.h WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
fsl_sec.h i.MX6SX: crypto/fsl: fix entropy delay value 2022-05-19 21:39:36 +02:00
fsl_sec_mon.h Convert CONFIG_SYS_FSL_SEC_MON et al to Kconfig 2022-07-05 17:04:00 -04:00
fsl_secboot_err.h
fsl_sfp.h Convert CONFIG_SYS_FSL_SFP_BE et al to Kconfig 2022-07-05 17:04:00 -04:00
fsl_tgec.h
fsl_usb.h
fsl_validate.h command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
fsl_wdog.h WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
fuse.h
fuzzing_engine.h fuzzing_engine: Add fuzzing engine uclass 2022-06-23 12:58:18 -04:00
g_dnl.h usb: gadget: g_dnl: add function g_dnl_set_product 2020-05-14 09:02:12 +02:00
gdsys_fpga.h ppc: Remove gdsys hrcon boards 2021-04-10 08:04:42 -04:00
generic-phy.h generic-phy: s/CONFIG_PHY/CONFIG_IS_ENABLED(PHY)/ 2022-04-22 10:35:14 +02:00
getopt.h lib: Add getopt 2020-10-30 10:56:11 -04:00
gsc.h drivers: misc: add Gateworks System Controller driver 2022-04-12 15:36:17 +02:00
gt64120.h pci: gt64120: Use PCI_CONF1_ADDRESS() macro 2022-01-12 14:21:24 -05:00
gzip.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
handoff.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
hang.h
hash.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
hda_codec.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
hexdump.h hexdump: Allow ctrl-c to interrupt output 2021-06-08 11:39:09 -04:00
host_arch.h
hw_sha.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
hwconfig.h
hwspinlock.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
i2c.h Convert CONFIG_SYS_SPD_BUS_NUM to Kconfig 2022-07-05 17:03:01 -04:00
i2c_eeprom.h misc: i2c_eeprom: Add fallbacks 2022-06-08 13:59:53 -04:00
i2s.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
i8042.h i8042: Do not abuse CONFIG namespace 2021-08-30 14:13:28 -04:00
ide.h block: ide: Remove ide_preinit function 2022-06-28 17:03:32 -04:00
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: fit: Add some helpers for getting data 2022-09-07 13:40:44 +08:00
imx8image.h tools: image: support i.MX93 2022-07-26 11:29:02 +02:00
imx_lpi2c.h
imx_sip.h imx: imx9: Support booting m33 from Acore 2022-07-26 11:29:01 +02:00
imx_thermal.h
imximage.h tools: mkimage: Add support to generate FlexSPI Header for i.MX8m 2022-07-25 15:35:34 +02:00
init.h arm: init: save previous bootloader data 2022-04-04 14:53:26 -04:00
initcall.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
input.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
inttypes.h
iommu.h iommu: Add IOMMU uclass 2021-10-31 08:46:44 -04:00
iomux.h IOMUX: Fix access past end of console_devices 2022-04-19 14:52:34 -04:00
ioports.h
iotrace.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
ipu_pixfmt.h
irq.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
irq_func.h
k3-avs.h
k3-clk.h arm: mach-k3: am62: Introduce autogenerated SoC data 2022-06-10 13:37:32 -04:00
k3-ddrss.h ram: k3-ddrss: Introduce ECC Functionality for full memory space 2022-04-04 19:02:04 -04:00
k3-dev.h arm: mach-k3: am62: Introduce autogenerated SoC data 2022-06-10 13:37:32 -04:00
key_matrix.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
keyboard.h
kgdb.h common: board_r: drop initr_kgdb wrapper 2022-01-18 08:31:02 -05:00
lattice.h
lcd.h arm: Remove PXA architecture support 2022-07-07 09:29:08 -04:00
lcd_console.h
lcdvideo.h
ld9040.h
led.h led: Drop led_default_state() 2022-04-28 09:26:44 -04:00
libata.h
libtizen.h
linker_lists.h linker_lists: Rename sections to remove . prefix 2022-06-23 12:58:18 -04:00
linux_logo.h
lmb.h lmb: Fix LMB_MEMORY_REGIONS flag usage 2022-08-10 13:38:30 -04:00
log.h log: Drop log_nop() functions 2022-08-20 18:07:32 -06:00
lxt971a.h
mailbox-uclass.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
mailbox.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
malloc.h malloc: Annotate allocator for valgrind 2022-04-11 10:00:30 -04:00
mapmem.h
mc9sdz60.h
mc13783.h WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
mc13892.h
mc34704.h
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
media_bus_format.h
memalign.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
membuff.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
menu.h bootmenu: factor out the user input handling 2022-05-07 23:17:26 +02:00
micrel.h board: apalis_imx6: Add KSZ9131 phy skew settings 2020-05-01 13:46:22 +02:00
mii_phy.h
miiphy.h net: mdio-uclass: add dm_phy_find_by_ofnode() helper 2022-05-04 07:05:51 +02:00
mipi_display.h
mipi_dsi.h video: dw-mipi-dsi: permit configuring the escape clock rate 2020-10-18 10:36:05 +02:00
misc.h misc: mark write buffer const 2022-01-24 10:35:10 -05:00
mk48t59.h
mm_communication.h lib/efi_loader: fix ABI in efi_mm_communicate_header 2020-11-29 05:18:37 +01:00
mmc.h drivers: mmc: write protect single boot area 2022-07-27 15:19:09 +09:00
mpc8xx.h
mpc8xx_irq.h
mpc83xx.h powerpc: remove support for kmtergr1 and MPC8309 2022-08-20 22:45:00 -04:00
mpc85xx.h ppc / layerscape: Clean up CONFIG_SYS_CCSR_DO_NOT_RELOCATE usage 2022-06-06 12:09:12 -04:00
mpc86xx.h
mpc106.h
msc01.h pci: msc01: Use PCI_CONF1_ADDRESS() macro 2022-01-12 14:21:24 -05:00
mtd.h mtd: spi: nor: force mtd name to "nor%d" 2021-09-28 12:03:20 -04:00
mtd_node.h
mux-internal.h drivers: Add a new framework for multiplexer devices 2020-10-28 11:48:32 -04:00
mux.h mux: correct prototype for mux_control_try_select() 2021-07-23 07:13:25 -04:00
mv88e6352.h
mvebu_mmc.h mmc: mvebu: convert to driver model 2021-04-08 08:50:52 +02:00
mvmfp.h WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
mxs_nand.h mtd: gpmi: fix the bch setting backward compatible issue 2022-03-28 08:22:17 -04:00
nand.h Finish conversion CONFIG_SYS_NAND_SELF_INIT to Kconfig 2021-12-27 16:20:18 -05:00
net.h net: bootp: Make root path (option 17) length configurable 2022-08-08 10:49:51 -04:00
netdev.h net: mpc8xx_fec: Migrate to DM_ETH 2022-08-08 10:50:20 -04:00
ns16550.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
nuvoton_nct6102d.h
nvme.h
nvmem.h misc: Add support for nvmem cells 2022-06-08 14:00:22 -04:00
of_live.h dm: core: Introduce support for multiple trees 2022-08-12 08:14:23 -04:00
omap3_spi.h arm: mach-omap2: am33xx: Add device structure for spi 2020-09-15 18:51:53 +05:30
onenand_uboot.h mtd: OneNAND: allow board init function fail 2016-07-22 14:46:12 -04:00
opensbi.h
os.h sandbox: add function os_printf() 2022-06-28 03:09:51 +01:00
p2sb.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
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 doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
part.h disk: part_efi: add support to repair gpt table 2022-05-06 14:39:15 -04:00
part_efi.h doc/README.gpt: define partition type GUID for U-Boot environment 2021-01-16 14:49:09 -05:00
pca953x.h
pca9564.h
pca9698.h
pch.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
pci.h pci: Add mask parameter to dm_pci_map_bar() 2022-05-03 18:33:29 -04:00
pci_ep.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
pci_gt64120.h
pci_ids.h pci: Add defines for normal and subtractive PCI bridges 2022-03-25 13:35:50 -04:00
pci_msc01.h
pci_rom.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
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 doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
phy.h net: phy: Remove inline definitions from convinience functions 2022-08-08 10:50:20 -04:00
phy_interface.h net: fix phy_string_for_interface 2022-05-23 13:52:02 -04:00
phys2bus.h dm: Introduce dev_phys_to_bus()/dev_bus_to_phys() 2021-02-18 11:56:25 +01:00
physmem.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
post.h ppc: Remove sbc8641d board 2021-07-07 19:52:24 -04:00
power-domain-uclass.h
power-domain.h power_domain: Add power_domain_get_by_name() 2022-04-21 12:44:23 +02:00
ppc_asm.tmpl
ppc_defs.h
pvblock.h xen: pvblock: Add initial support for para-virtualized block driver 2020-08-14 15:18:30 -04:00
pwm.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
pwrseq.h
pxe_utils.h cmd: pxe_utils: sysboot: add kaslr-seed generation support 2022-02-11 09:00:47 -05:00
qfw.h x86: qemu: move QFW to its own uclass 2021-04-12 17:44:55 -04:00
ram.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
rand.h doc: random number generation 2020-06-14 21:07:20 +02:00
rc4.h
regmap.h regmap: fix some comments 2022-07-08 12:20:28 -04:00
reiserfs.h common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
relocate.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
remoteproc.h remoteproc: uclass: Add remoteproc resource handling helpers 2022-02-08 11:00:03 -05:00
reset-uclass.h
reset.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
rng.h doc: random number generation 2020-06-14 21:07:20 +02:00
rtc.h lib/date: Make rtc_mktime and mktime64 Y2038-ready 2022-05-05 15:06:02 -04:00
rtc_def.h
s_record.h
samsung-usb-phy-uboot.h
sandbox-adc.h
sandbox-clk.h dm: test: clk: add the test for the ccf gated clock 2020-08-24 11:03:26 +02:00
sandboxblockdev.h sandbox: move a function prototype 2022-04-23 22:05:33 +02:00
sandboxfs.h common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
sandboxtee.h
sata.h
scf0403_lcd.h
scmi_agent-uclass.h firmware: scmi: add multi-channel support 2022-06-23 13:12:55 -04:00
scmi_agent.h firmware: scmi: add multi-channel support 2022-06-23 13:12:55 -04:00
scmi_protocols.h clk: scmi: register scmi clocks with CCF 2022-03-02 17:42:06 -05:00
scp03.h common: SCP03 control (enable and provision of keys) 2021-03-13 13:14:52 -05:00
scsi.h scsi: Drop CONFIG_SYS_SCSI_MAX_DEVICE 2022-02-09 09:16:48 -05:00
sdhci.h mmc: sdhci: Add HS400 Enhanced Strobe support 2022-03-16 18:10:19 +09:00
sdp.h SPL: Add struct spl_boot_device parameter into spl_parse_board_header() 2022-01-20 11:35:29 +01:00
search.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
semihosting.h arm64: Catch non-emulated semihosting calls 2022-04-01 16:56:53 -04:00
semihostingfs.h fs: Add semihosting filesystem 2022-04-01 15:03:13 -04:00
serial.h serial: dm: Add support for puts 2022-04-01 16:56:54 -04:00
sh_pfc.h
signatures.h fsp: Move and rename fsp_types.h file 2020-12-31 14:41:31 +01:00
sja1000.h
sl28cpld.h board: sl28: print CPLD version on bootup 2022-02-28 11:59:35 +05:30
slre.h
smbios.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
smem.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
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 doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
sound.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
sparse_defs.h
sparse_format.h
spartan2.h
spartan3.h
spd.h
spd_sdram.h
spi-mem.h spi: spi-mem: add spi_mem_dtr_supports_op() 2021-06-28 11:56:06 +05:30
spi.h spi: spi-uclass: Add new spi_get_bus_and_cs() implementation 2022-05-23 09:33:10 -04:00
spi_flash.h spi: spi_flash_probe_bus_cs() rely on DT for spi speed and mode 2022-05-23 09:33:10 -04:00
spl.h nman external-symbol improvements 2022-07-08 14:39:07 -04:00
spl_gpio.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
splash.h video: Support virtio devices with the splash screen 2021-12-26 23:33:24 +01:00
squashfs.h fs/squashfs: implement exists() function 2020-11-19 09:45:49 -05:00
st_logo_data.h WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
status_led.h
stdint.h stdint: Add a definition of UINT8_MAX 2022-04-06 14:03:17 -04:00
stdio.h serial: Rename SERIAL_SUPPORT to SERIAL 2021-09-04 12:26:01 -04:00
stdio_dev.h usb: gadget: Add CDC ACM function 2022-01-26 23:23:17 +01:00
stdlib.h
stm32_rcc.h treewide: Update email address Patrick Delaunay and Patrice Chotard 2020-12-09 10:57:50 +01:00
stratixII.h
string.h
sunxi_image.h tools: mkimage: Add Allwinner TOC0 support 2022-04-04 23:24:17 +01:00
sy8106a.h
sym53c8xx.h
syscon.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
sysinfo.h sysinfo: Require that sysinfo_detect be called before other methods 2021-05-04 07:57:18 -04:00
sysreset.h watchdog: Automatically register device with sysreset 2021-11-04 08:57:19 +01:00
system-constants.h Convert CONFIG_SYS_SPL_MALLOC_SIZE et al to Kconfig 2022-06-06 12:09:28 -04:00
tables_csum.h Remove duplication of table_compute_checksum function 2022-04-14 15:39:15 -04:00
tca642x.h
tee.h efi_loader: Don't limit the StMM buffer size explicitly 2021-12-31 06:44:29 +01:00
tegra-kbc.h
thermal.h thermal: Drop dm.h header file 2020-08-03 22:19:54 -04:00
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 doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
timer.h timer: Return count from timer_ops.get_count 2020-10-22 09:54:53 -04:00
timestamp.h
tlv_eeprom.h tlv_eeprom: Return -ENOSYS when system call is not available 2021-04-06 16:33:19 +12:00
tmu.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
tpm-common.h tpm: Allow reporting the internal state 2022-09-03 16:59:05 +03:00
tpm-v1.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
tpm-v2.h tpm: Allow committing non-volatile data 2022-09-03 16:59:05 +03:00
tpm_api.h tpm: Require a digest source when extending the PCR 2022-09-03 16:53:58 +03:00
tps6586x.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
trace.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
tsec.h net: tsec: add support for promiscuous mode 2021-11-23 09:57:55 +02:00
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 common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
ubispl.h
uboot_aes.h
ufs.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
universe.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
usb.h usb: ehci-mx6: Enable OTG detection on imx8mm and imx8mn 2022-02-11 00:03:48 +01:00
usb_cdc_acm.h
usb_defs.h usb: common: move urb code to common 2022-07-12 21:59:54 +02:00
usb_ether.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
usb_mass_storage.h usb: gadget: Fix controller index in UMS 2020-09-01 14:47:43 +02:00
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 vbe: Add initial support for VBE 2022-08-12 08:17:11 -04:00
versalpl.h fpga: xilinx: add bitstream flags to driver desc 2022-07-26 09:34:21 +02:00
version.h Remove including timestamp.h in version.h 2021-09-17 12:10:44 -04:00
version_string.h version: Move version_string[] from version.h to version_string.h 2021-09-17 12:10:44 -04:00
vesa.h video: Rename structs and functions to avoid VBE 2022-08-12 08:14:23 -04:00
video.h video: Clean up the uclass header 2022-03-28 20:17:20 +02:00
video_bridge.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
video_console.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
video_easylogo.h
video_font.h
video_font_4x6.h WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
video_font_data.h video: Drop unprintable characters from video_font_data.h 2021-02-22 20:06:43 +01:00
video_osd.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
virtex2.h
virtio.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
virtio_ring.h virtio_ring: Check used descriptors are chain heads 2022-06-08 09:24:03 -04:00
virtio_types.h
vsc7385.h
vsc9953.h treewide: Rename PHY_INTERFACE_MODE_NONE to PHY_INTERFACE_MODE_NA 2022-04-10 08:44:13 +03:00
vsprintf.h lib: Add a way to find the postiion of a trailing number 2022-04-25 10:00:03 -04:00
vxworks.h command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
w1-eeprom.h w1: replace dt detection by automatic detection 2021-05-13 13:09:09 -04:00
w1.h w1: replace dt detection by automatic detection 2021-05-13 13:09:09 -04:00
w83c553f.h
wait_bit.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
watchdog.h watchdog: Fix SPL build with watchdog disabled in asm files 2022-06-07 08:45:35 +02:00
wdt.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
winbond_w83627.h
xen.h common: board_r: Drop initr_xen wrapper 2021-01-15 14:36:12 -05:00
xilinx.h fpga: zynqmp: support loading encrypted bitfiles 2022-07-26 09:34:21 +02:00
xyzModem.h common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
zfs_common.h zfs: fix missing include for disk_partition definition 2020-06-23 14:43:23 -04:00
zynq_bootimg.h
zynqmp_firmware.h mailbox: zynqmp: Move struct zynqmp_ipi_msg from sys_proto.h 2022-07-26 08:36:20 +02:00
zynqmppl.h fpga: zynqmp: support loading encrypted bitfiles 2022-07-26 09:34:21 +02:00
zynqpl.h fpga: zynqpl: Correct PL bitstream loading sequence for zynqaes 2020-06-24 13:07:57 +02:00