u-boot/include
Simon Glass aba9296249 dm: pci: Add support for PCI driver matching
At present all PCI devices must be present in the device tree in order to
be used. Many or most PCI devices don't require any configuration other than
that which is done automatically by U-Boot. It is inefficent to add a node
with nothing but a compatible string in order to get a device working.

Add a mechanism whereby PCI drivers can be declared along with the device
parameters they support (vendor/device/class). When no suitable driver is
found in the device tree the list of such devices is consulted to determine
the correct driver. If this also fails, then a generic driver is used as
before.

The mechanism used is very similar to that provided by Linux and the header
file defintions are copied from Linux 4.1.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
2015-07-21 17:39:38 -06:00
..
andestech
asm-generic dm: spl: Allow device tree/driver model in board_init_f() 2015-07-21 17:39:28 -06:00
bedbug
configs armv8/ls2085ardb: Enable DSPI flash support for LS2085ARDB 2015-07-20 11:44:39 -07:00
cramfs
dm dm: Export device_remove_children / device_unbind_children 2015-07-21 17:39:35 -06:00
dt-bindings ti: Add SPDX license identifier to omap.h 2015-07-08 18:26:41 -04:00
faraday
fsl-mc armv8/fsl-lsch3: partition stream IDs 2015-07-20 11:44:37 -07:00
jffs2
linux mtd: fix false positive "Offset exceeds device limit" error 2015-07-10 09:38:50 -04:00
lzma
mtd kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
pcmcia powerpc: mpc824x: remove MPC824X cpu support 2015-01-05 12:08:55 -05:00
power dm: pmic: Add functions to adjust PMIC registers 2015-07-21 17:39:27 -06:00
samsung dfu: samsung: move call to set_dfu_alt_info() to dfu common code 2015-02-25 17:47:02 +01:00
synopsys
test test: Add a macro to check that a value is not an error pointer 2015-07-21 17:39:33 -06:00
u-boot rsa: Use checksum algorithms from struct hash_algo 2015-01-29 17:09:59 -07:00
usb Merge branch 'master' of git://git.denx.de/u-boot-usb 2014-12-11 18:40:49 -05:00
zfs
.gitignore
_exports.h board/ls2085rdb: Export functions for standalone AQ FW load apps 2015-07-20 11:44:37 -07:00
aboot.h implement the Android sparse image format 2014-09-16 12:23:57 -04:00
ACEX1K.h
addr_map.h
aes.h
ahci.h ahci: Fix compiling warnings under 64bit platforms 2015-07-09 12:35:24 -04:00
ali512x.h
altera.h arm: socfpga: fpga: Add SoCFPGA FPGA programming interface 2014-10-06 17:46:50 +02:00
ambapp.h
android_image.h
ansi.h
api_public.h
armcoremodule.h
asm-offsets.h
ata.h
atmel_hlcdc.h
atmel_lcd.h common/lcd_console: introduce display/framebuffer rotation 2015-04-18 17:40:37 +02:00
atmel_lcdc.h
atmel_mci.h
autoboot.h
axp152.h sunxi: axp: Move axp gpio code to a separate axpi-gpio driver 2015-05-04 16:51:53 +02:00
axp209.h sunxi: axp: Move axp gpio code to a separate axpi-gpio driver 2015-05-04 16:51:53 +02:00
axp221.h sunxi: axp: Move axp gpio code to a separate axpi-gpio driver 2015-05-04 16:51:53 +02:00
bcd.h dm: Remove unnecessary types in bcd.h 2015-05-05 20:58:20 -06:00
bios_emul.h bios_emulator: Add vesa support and allow ROMs to be passed in as data 2014-11-25 07:11:17 -07:00
bitfield.h
bmp_layout.h Remove typedefs from bmp_layout.h 2015-06-10 19:26:54 -06:00
bootcount.h
bootm.h Combine bootm_find_<thing> functions together 2015-05-28 08:18:21 -04:00
bootretry.h
bootstage.h add boot_get_loadables() to load listed images 2015-05-28 08:18:20 -04:00
bouncebuf.h
bus_vcxk.h
bzlib.h
cbfs.h
circbuf.h
cli.h cli: Export cli_simple_process_macros for use outside of cli_simple 2014-08-21 12:01:13 -04:00
cli_hush.h cli: hush: Adjust 'run' command to run each line of the env var 2014-10-27 11:03:33 -04:00
clk.h dm: Add a clock uclass 2015-07-21 17:39:29 -06:00
cmd_spl.h
command.h cli: hush: Adjust 'run' command to run each line of the env var 2014-10-27 11:03:33 -04:00
common.h Add a way of checking the position of a structure member 2015-07-21 17:39:21 -06:00
common_timing_params.h
commproc.h mpc8xx: remove ESTEEM192E board support 2015-01-05 12:08:53 -05:00
compiler.h Provide option to avoid defining a custom version of uintptr_t. 2014-10-27 11:04:01 -04:00
config_cmd_all.h Move defaults from config_cmd_default.h to Kconfig 2015-06-25 22:18:34 -04:00
config_defaults.h dm: Drop unused driver model config_defaults 2015-02-12 15:17:28 -07:00
config_distro_bootcmd.h config_distro_bootcmd.h: Add shared block definition for the host interface 2015-04-19 14:45:58 -06:00
config_distro_defaults.h net: Move the CMD_NET config to defconfigs 2015-06-01 09:40:15 -05:00
config_fallbacks.h dm: i2c: Add a uclass for I2C 2014-12-11 13:18:42 -07:00
config_fsl_secboot.h Add bootscript support to esbc_validate. 2015-04-21 10:19:19 -07:00
config_phylib_all_drivers.h
config_uncmd_spl.h Remove SPL undefine of CONFIG_OF_CONTROL 2015-06-10 19:26:55 -06:00
cortina.h net/phy: Add support for CS4315/CS4340 PHY 2014-12-05 08:06:11 -08:00
cpsw.h
cpu.h dm: cpu: Add a new get_count method to cpu uclass 2015-07-14 18:03:16 -06:00
crc.h
cros_ec.h cros_ec: Remove unused cros_ec_board_init() function 2015-04-18 11:11:16 -06:00
cros_ec_message.h
dataflash.h
ddr_spd.h
debug_uart.h debug_uart: Remove use of asmlinkage 2015-07-21 17:39:21 -06:00
dfu.h dfu: samsung: move call to set_dfu_alt_info() to dfu common code 2015-02-25 17:47:02 +01:00
dialog_pmic.h
display_options.h Add print_freq() to display frequencies nicely 2015-04-29 21:02:33 -06:00
displayport.h dm: video: Add a uclass for display port 2015-05-13 09:24:10 -07:00
div64.h
dm-demo.h dm: demo: Add a simple GPIO demonstration 2015-01-29 17:09:51 -07:00
dm.h
dm9000.h
dp83848.h
ds1722.h
ds4510.h
dtt.h dtt: add ds620 support 2015-04-10 14:23:23 +02:00
dwc3-omap-uboot.h usb: dwc3: dwc3-omap: add interrupt status API to check for interrupts 2015-04-14 05:48:10 +02:00
dwc3-uboot.h dwc3: core: added an API to invoke irq handlers 2015-04-14 05:48:10 +02:00
dwmmc.h mmc: Add structure comments for dwmmc 2015-07-21 17:39:25 -06:00
e500.h mmc: fsl_esdhc: Add peripheral clock support 2015-05-04 09:25:39 -07:00
ec_commands.h sandbox: cros_ec: Support EC_CMD_ENTERING_MODE emulation 2015-05-14 18:49:34 -06:00
edid.h edid: Add a function to read detailed monitor timings 2015-05-13 09:24:10 -07:00
elf.h elf: add prototype for valid_elf_image 2014-10-25 15:27:36 -04:00
env_attr.h env: Allow env_attr_walk to pass a priv * to callback 2015-05-21 09:13:19 -04:00
env_callback.h Allow CONFIG_REGEX to be disabled when CONFIG_NET 2015-07-08 18:26:39 -04:00
env_default.h net: Remove all references to CONFIG_ETHADDR and friends 2015-05-19 13:33:21 -05:00
env_flags.h net: Add default flags for common net env vars 2015-05-21 09:13:20 -04:00
environment.h
errno.h lib: errno: introduce errno_str(): returns errno related message 2014-12-11 13:18:41 -07:00
exports.h board/ls2085rdb: Export functions for standalone AQ FW load apps 2015-07-20 11:44:37 -07:00
ext4fs.h fs: API changes enabling extra parameter to return size of type loff_t 2014-11-23 06:49:04 -05:00
ext_common.h
exynos_lcd.h common/lcd_console: introduce display/framebuffer rotation 2015-04-18 17:40:37 +02:00
fat.h fs: API changes enabling extra parameter to return size of type loff_t 2014-11-23 06:49:04 -05:00
fb_mmc.h usb: gadget: fastboot: Add fastboot erase 2015-02-25 17:47:02 +01:00
fdt.h
fdt_simplefb.h lcd: dt: extract simplefb support 2015-02-10 13:31:26 +01:00
fdt_support.h fdt: prevent clearing memory node if there are no banks 2015-07-20 07:21:47 -06:00
fdtdec.h dm: usb: tegra: Drop legacy USB code 2015-06-10 19:26:55 -06:00
fis.h
flash.h ARMv7M: add STM32F1 support 2015-05-28 08:18:24 -04:00
fm_eth.h net/fman: update 10GEC to fit new SoC 2014-12-05 08:06:15 -08:00
fpga.h fpga: Export fpga_get_desc for SPL 2015-01-21 10:25:02 +01:00
fs.h fs: Add command to retrieve the filesystem type 2015-01-29 13:36:54 -05:00
fsl_dcu_fb.h video: dcu: Add DCU driver support 2014-09-08 10:30:35 -07:00
fsl_ddr.h driver/ddr/fsl: Add a hook to update SPD address 2015-07-20 11:44:35 -07:00
fsl_ddr_dimm_params.h driver/ddr/fsl: Add support for multiple DDR clocks 2015-02-24 13:09:18 -08:00
fsl_ddr_sdram.h armv8/ls2085aqds: Add support of LS2085AQDS platform 2015-04-23 08:55:58 -07:00
fsl_ddrc_version.h
fsl_debug_server.h armv8/fsl-lsch3: Add Freescale Debug Server driver 2015-04-21 10:26:29 -07:00
fsl_diu_fb.h
fsl_dspi.h dm: spi: Convert Freescale DSPI driver to driver model 2015-04-18 11:11:18 -06:00
fsl_esdhc.h mmc: fsl_esdhc: Add peripheral clock support 2015-05-04 09:25:39 -07:00
fsl_ifc.h driver/ifc: Add 64KB page support 2015-04-23 16:46:50 -07:00
fsl_immap.h driver/ddr/fsl: Remove deskew_cntrl register 2015-05-20 10:34:09 -07:00
fsl_mdio.h net: Merge asm/fsl_enet.h into fsl_mdio.h 2014-09-08 10:30:33 -07:00
fsl_memac.h net/memac_phy: reuse driver for little endian SoCs 2015-04-23 08:55:57 -07:00
fsl_pmic.h
fsl_sec.h fsl_sec.h: Fix thinko 2015-03-05 08:56:39 -05:00
fsl_sec_mon.h fsl_sec_mon: Add driver for Security Monitor block of Freescale 2015-03-05 12:04:59 -08:00
fsl_secboot_err.h SECURE BOOT: Add command for validation of images 2015-03-05 12:04:59 -08:00
fsl_sfp.h fsl_sfp : Move ccsr_sfp_regs definition to common include 2015-03-05 12:04:59 -08:00
fsl_usb.h drivers: usb: fsl: Workaround for Erratum A004477 2015-05-04 09:23:50 -07:00
fsl_validate.h SECURE BOOT: Add command for validation of images 2015-03-05 12:04:59 -08:00
fuse.h
g_dnl.h usb, g_dnl: generalize DFU detach functions 2014-12-18 12:26:05 +01:00
gdsys_fpga.h mpc83xx: Add gdsys hrcon board 2014-11-19 08:48:42 +01:00
gt64120.h
hash.h autoboot.c: Add feature to stop autobooting via SHA256 encrypted password 2015-06-08 17:32:40 -04:00
hw_sha.h crypto/fsl - Add progressive hashing support using hardware acceleration. 2015-02-25 13:20:02 -08:00
hwconfig.h
i2c.h dm: i2c: Add compatibility functions for dm_i2c_reg_read/write() 2015-06-10 19:26:54 -06:00
i2c_eeprom.h dm: Add a simple EEPROM driver 2014-12-11 13:18:43 -07:00
i2s.h
i8042.h
ide.h ide: add missing prototype 2014-10-25 15:27:37 -04:00
image.h mkimage: Display a better list of available image types 2015-07-21 17:39:20 -06:00
imx_thermal.h imx: mx6: add get_cpu_temp_grade to obtain cpu temperature grade from OTP 2015-05-19 15:31:40 +02:00
initcall.h
input.h
inttypes.h Add some standard headers external code might need 2014-10-27 11:04:01 -04:00
iomux.h
ioports.h
iotrace.h
ipu_pixfmt.h
key_matrix.h
keyboard.h
kgdb.h
lattice.h
lcd.h common/lcd_console: introduce display/framebuffer rotation 2015-04-18 17:40:37 +02:00
lcd_console.h common/lcd_console: introduce display/framebuffer rotation 2015-04-18 17:40:37 +02:00
lcdvideo.h
ld9040.h
led-display.h
led.h led: Return -ENODEV if the LED device cannot be found 2015-07-21 17:39:32 -06:00
libata.h
libfdt.h fdt: Add fdt_first/next_region() functions 2015-07-21 17:39:20 -06:00
libfdt_env.h
libtizen.h
linker_lists.h linker_lists: Add a function to access a linker list entry 2015-04-18 11:11:18 -06:00
linux_logo.h
lmb.h
logbuff.h
lxt971a.h
lynxkdi.h
malloc.h Move initf_malloc() to a common place 2015-04-23 09:05:53 -06:00
mapmem.h common: Make sure arch-specific map_sysmem() is defined 2015-04-18 11:11:09 -06:00
mb862xx.h
mc9sdz60.h
mc13783.h
mc13892.h
mc34704.h mc34704: Add the definition of ONOFFA bit 2015-03-02 09:57:04 +01:00
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
menu.h
micrel.h
mii_phy.h
miiphy.h
mipi_display.h include: Add header file with MIPI DSI constants from linux 3.18 2015-01-22 12:34:56 +01:00
mk48t59.h
mmc.h dm: mmc: Add an MMC uclass 2015-07-21 17:39:25 -06:00
mpc5xx.h
mpc5xxx.h
mpc5xxx_sdma.h
mpc8xx.h
mpc8xx_irq.h
mpc83xx.h
mpc85xx.h powerpc/mpc85xx: Don't relocate exception vectors 2015-04-20 10:15:29 -07:00
mpc86xx.h
mpc106.h
mpc823_lcd.h common/lcd_console: introduce display/framebuffer rotation 2015-04-18 17:40:37 +02:00
mpc8260.h
mpc8260_irq.h
msc01.h
mtd_node.h
mv88e6352.h
mvebu_mmc.h MVEBUMMC : Speed up access time 2015-01-06 10:10:04 +02:00
mvmfp.h gpio: mvmfp: support newer MFP bit definitions 2015-04-23 13:59:18 -04:00
nand.h nand: yaffs: Remove the "nand write.yaffs" command 2015-03-30 23:24:39 -05:00
net.h dm: net: Adjust PHY interface to work with CONFIG_DM_ETH 2015-04-18 11:11:36 -06:00
netdev.h sunxi: emac: Remove non driver-model code 2015-05-04 16:51:54 +02:00
nomadik.h
ns16550.h dm: ns16550: Support CONFIG_SYS_NS16550_MEM32 with driver model 2015-06-10 19:26:55 -06:00
ns87308.h
onenand_uboot.h
os.h sandbox: Tidy up terminal restore 2015-06-04 03:34:47 -06:00
palmas.h
parade.h exynos5420: fix compilation without parade video 2014-12-22 20:38:27 +09:00
part.h fastboot: handle flash write to GPT partitions 2014-12-18 12:26:06 +01:00
part_efi.h
pc_keyb.h
pca953x.h
pca9564.h
pca9698.h
pci.h dm: pci: Add support for PCI driver matching 2015-07-21 17:39:38 -06:00
pci_gt64120.h
pci_ids.h x86: qemu: Add ATA/SATA support 2015-06-04 02:39:39 -06:00
pci_msc01.h
pci_rom.h x86: video: Allow video ROM execution to fall back to the other method 2015-02-05 22:16:43 -07:00
pcmcia.h mpc8260: remove atc board support 2015-01-05 12:08:55 -05:00
phy.h net/phy: fixup for get_phy_id 2015-04-20 17:57:13 -05:00
phys2bus.h Create API to map between CPU physical and bus addresses 2015-04-14 05:47:59 +02:00
physmem.h
post.h
ppc_asm.tmpl powerpc/mpc85xx: Don't relocate exception vectors 2015-04-20 10:15:29 -07:00
ppc_defs.h
ps2mult.h
pwm.h
pxa_lcd.h common/lcd_console: introduce display/framebuffer rotation 2015-04-18 17:40:37 +02:00
radeon.h
ram.h dm: Add support for RAM drivers 2015-07-21 17:39:27 -06:00
rc4.h Add rivest cipher 4 (rc4) implementation 2015-07-21 17:39:28 -06:00
regmap.h dm: Add support for register maps (regmap) 2015-07-21 17:39:23 -06:00
reiserfs.h
reset.h dm: reset: Allow reset_walk() to return 2015-07-21 17:39:31 -06:00
rtc.h dm: rtc: Add a uclass for real-time clocks 2015-05-05 20:58:39 -06:00
rtc_def.h dm: rtc: Split structure definition into its own file 2015-05-05 20:58:20 -06:00
s6e63d6.h
s_record.h
SA-1100.h
samsung-usb-phy-uboot.h samsung: usb: phy: Support for DWC3 PHY 2015-06-08 15:25:44 +02:00
sandboxblockdev.h
sandboxfs.h fs: API changes enabling extra parameter to return size of type loff_t 2014-11-23 06:49:04 -05:00
sata.h cmd_sata: implement sata stop command 2014-11-24 12:00:00 +01:00
scf0403_lcd.h
scsi.h ahci: support LBA48 data reads for 2+TB drives 2015-06-12 16:52:32 -04:00
sdhci.h dm: mmc: Remove use of fdtdec GPIO support 2015-01-29 17:09:52 -07:00
search.h env: Distinguish finer between source of env change 2015-05-21 09:13:19 -04:00
sed156x.h
sed13806.h
serial.h ARM: remove cm4008 and cm41xx board support 2015-02-24 17:07:11 -05:00
sh_pfc.h
sh_tmu.h sh: move CONFIG_{SH2, SH2A, SH3, SH4} to Kconfig 2014-11-13 08:47:58 +09:00
sja1000.h
slre.h
sm501.h
smsc_lpc47m.h x86: Set serial port IRQ for SMSC LPC47M 2015-04-29 18:51:48 -06:00
sound.h
sparse_defs.h implement the Android sparse image format 2014-09-16 12:23:57 -04:00
sparse_format.h add header for Android sparse image format 2014-08-21 12:01:29 -04:00
spartan2.h fpga: xilinx: spartan2: Setup NULL fpga_op without driver 2015-01-21 10:25:02 +01:00
spartan3.h fpga: xilinx: spartan3: Setup NULL fpga_op without driver 2015-01-21 10:25:02 +01:00
spd.h
spd_sdram.h
spi.h spi/sf: Minor cleanups 2015-07-01 21:15:03 +05:30
spi_flash.h spi/sf: Minor cleanups 2015-07-01 21:15:03 +05:30
spl.h dm: spl: Allow device tree/driver model in board_init_f() 2015-07-21 17:39:28 -06:00
splash.h Merge branch 'master' of git://git.denx.de/u-boot-video 2015-02-10 10:41:54 -05:00
status_led.h cmd_led: Extend led command to support blinking and more leds 2015-04-23 09:43:08 -04:00
stdio_dev.h stdio: extend "name" to 32 symbols 2015-03-05 20:50:29 -05:00
stdlib.h Add some standard headers external code might need 2014-10-27 11:04:01 -04:00
stratixII.h
sx151x.h
sym53c8xx.h
syscon.h dm: Add support for generic system controllers (syscon) 2015-07-21 17:39:24 -06:00
systemace.h microblaze: remove #ident directive to fix build error 2014-09-10 10:26:58 +02:00
tca642x.h
tegra-kbc.h
thermal.h DM: thermal: Add imx thermal DM driver 2014-11-21 15:30:01 +01:00
thor.h
ti-usb-phy-uboot.h usb: dwc3: TI PHY: PHY driver for dwc3 in TI platforms 2015-04-14 05:48:10 +02:00
timestamp.h
tis.h
tmu.h
tpm.h
tps6586x.h dm: i2c: tegra: Convert to driver model 2014-12-11 13:18:44 -07:00
trace.h common/board_f.c: fix compile error when tracing disabled 2015-01-12 09:38:46 -05:00
tsec.h net: tsec: Remove tx snooping support from LS1 2014-09-08 10:30:35 -07:00
tsi108.h
tsi148.h
twl4030.h twl4030: device-index-specific MMC power initializations, common ramp-up delay 2014-12-04 11:04:40 -05:00
twl6030.h
tws.h
ubi_uboot.h ubi: enable error reporting in initialization 2014-11-19 07:54:40 +01:00
universe.h
usb.h dm: usb: Allow usb host drivers to implement usb_reset_root_port 2015-07-21 17:39:36 -06:00
usb_cdc_acm.h
usb_defs.h dm: usb: Tidy up pipe value decoding 2015-04-18 11:11:29 -06:00
usb_ether.h net: Add ethernet FCS length macro in net.h 2015-03-24 21:22:37 -06:00
usb_mass_storage.h
usbdescriptors.h
usbdevice.h
usbroothubdes.h
uuid.h
vbe.h x86: Configure VESA parameters before loading Linux kernel 2015-07-14 18:03:19 -06:00
version.h Makefile: Add U_BOOT_TZ and include in version 2015-05-27 13:35:55 -04:00
video.h video, lg4573: add support for the lg4573 display 2015-04-20 09:47:28 +02:00
video_easylogo.h
video_fb.h pci: Add general support for execution of video ROMs 2014-11-25 07:11:14 -07:00
video_font.h
video_font_4x6.h
video_font_data.h
video_logo.h
virtex2.h fpga: xilinx: virtex2: Fix macro indentation 2015-01-21 10:25:03 +01:00
vsc7385.h
vsc9953.h net/vsc9953: Add driver for Vitesse VSC9953 L2 Switch IP 2015-01-16 09:32:38 -08:00
vsprintf.h lib: Add function to extract a number from the end of a string 2015-07-21 17:39:28 -06:00
vxworks.h
w83c553f.h
watchdog.h
xilinx.h
xyzModem.h
zfs_common.h
zynqpl.h fpga: zynqpl: Add support for zc7035 2015-01-21 10:25:53 +01:00