u-boot/board
Alex Deymo 82f766d1d2 Allow boards to initialize the DT at runtime.
In some boards like the Raspberry Pi the initial bootloader will pass
a DT to the kernel. When using U-Boot as such kernel, the board code in
U-Boot should be able to provide U-Boot with this, already assembled
device tree blob.

This patch introduces a new config option CONFIG_OF_BOARD to use instead
of CONFIG_OF_EMBED or CONFIG_OF_SEPARATE which will initialize the DT
from a board-specific funtion instead of bundling one with U-Boot or as
a separated file. This allows boards like the Raspberry Pi to reuse the
device tree passed from the bootcode.bin and start.elf firmware
files, including the run-time selected device tree overlays.

Signed-off-by: Alex Deymo <deymo@google.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-05-09 20:35:06 -04:00
..
8dtech/eco5pk
a3m071 board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
a4m072 board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
abilis/tb100
advantech board: advantech: dms-ba16: apply the proper register setting to fix the voltage peak issue 2017-04-12 18:05:01 +02:00
alphaproject/ap_sh4a_4a sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
altera MAINTAINERS: socfpga: update email address for Dinh Nguyen 2016-12-06 01:45:58 +01:00
amazon/kc1 ti: boot: Register the MMC controllers in SPL in the same way as in u-boot 2017-03-19 22:17:14 -04:00
amcc board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
amlogic/odroid-c2 odroid-c2: README: MMC is supported 2017-05-01 12:58:35 -04:00
AndesTech/adp-ag101p board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
Arcturus/ucp1020 board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
aries Merge branch 'master' of git://git.denx.de/u-boot-socfpga 2017-04-14 09:05:57 -04:00
aristainetos treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
armadeus board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
armltd board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
aspeed/evb_ast2500 aspeed: Support for ast2500 Eval Board 2017-01-28 14:04:33 -05:00
astro/mcf5373l board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
atmark-techno/armadillo-800eva Revert "arm: Remove unregister MACH_TYPE_xxx uses" 2017-01-28 14:04:22 -05:00
atmel board: at91sam9263ek: Enable early debug UART 2017-05-09 12:14:16 -06:00
avionic-design mmc: move more driver config options to Kconfig 2017-01-11 19:40:15 +09:00
bachmann/ot1200 mx6: ddr: Allow changing REFSEL and REFR fields 2016-09-06 18:22:48 +02:00
barco imx: s/docs\/README.imximage/doc\/README.imximage/g 2016-10-26 16:53:16 +02:00
Barix/ipam390 Remove various unused interrupt related code 2017-04-06 20:42:18 -04:00
beckhoff/mx53cx9020 board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
birdland/bav335x Various Makefiles: Add SPDX-License-Identifier tags 2015-11-10 09:19:52 -05:00
bluegiga/apx4devkit
bluewater arm, at91: add icache support 2016-10-28 18:37:13 +02:00
bosch/shc am335x, shc: add support for the am335x based bosch shc board 2016-06-09 13:53:10 -04:00
boundary/nitrogen6x nitrogen6x: add secure boot support 2016-10-17 09:05:33 +02:00
broadcom board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
buffalo/lsxl
BuR board/BuR/common: incorrect check of dtb 2017-05-05 16:46:51 -04:00
BuS/eb_cpu5282 board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
cadence/xtfpga board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
calao/usb_a9263 board: atmel: clean up peripheral clock code 2016-02-18 21:34:40 +01:00
canmb board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
CarMediaLab/flea3 mx35: add GPIO setup on flea3 board 2016-11-16 20:53:55 +01:00
cavium/thunderx armv8: mmu: Add support of non-identical mapping 2016-07-15 09:01:43 -07:00
ccv/xpress imx: s/docs\/README.imximage/doc\/README.imximage/g 2016-10-26 16:53:16 +02:00
cei/cei-tk1-som ARM: tegra: Add support for TK1-SOM board from Colorado Engineering 2016-09-01 09:24:30 -07:00
chipspark/popmetal_rk3288 rockchip: board: popmetal: de-assert the host rst pin in board init 2017-01-11 20:21:20 -07:00
cirrus/edb93xx board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
cloudengines/pogo_e02
cm5200 board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
cobra5272 board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
compal/paz00 mmc: move more driver config options to Kconfig 2017-01-11 19:40:15 +09:00
compulab arm: am57xx: cl-som-am57x: invoke clock API to enable/disable clocks 2017-05-08 11:38:38 -04:00
congatec Kconfig: Migrate BOARD_LATE_INIT to a select 2017-01-24 10:35:54 -05:00
coreboot x86: Drop all the old pin configuration code 2016-03-17 10:27:25 +08:00
corscience/tricorder ti: boot: Register the MMC controllers in SPL in the same way as in u-boot 2017-03-19 22:17:14 -04:00
creative/xfi3 xfi3: correct function name 2015-11-12 17:38:08 +01:00
d-link/dns325
davedenx/aria board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
davinci Remove various unused interrupt related code 2017-04-06 20:42:18 -04:00
dbau1x00 board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
denx/ma5d4evk Merge branch 'master' of git://git.denx.de/u-boot-socfpga 2017-04-14 09:05:57 -04:00
dfi x86: Add theadorable-x86-dfi-bt700 board support 2016-08-16 11:44:09 +08:00
ebv/socrates arm: socfpga: socrates: Adding handoff for SDRAM ctrlcfg.extratime1 2016-10-27 08:03:09 +02:00
efi x86: Drop all the old pin configuration code 2016-03-17 10:27:25 +08:00
egnite/ethernut5 board: atmel: clean up peripheral clock code 2016-02-18 21:34:40 +01:00
el/el6x treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
embest/mx6boards treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
emulation x86: qemu: Add a config for 64-bit U-Boot 2017-02-07 13:34:10 +08:00
engicam i.MX6Q: isiot: Switch the mmc env based on devno 2017-03-17 09:27:08 +01:00
esd board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
espt sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
firefly/firefly-rk3288 rockchip: Add basic support for firefly-rk3288 2015-09-02 21:28:24 -06:00
freescale p1_p2_rdb: Fix unused variable warning 2017-05-09 09:11:04 -04:00
gateworks/gw_ventana power: Drop CONFIG_I2C_PMIC 2017-04-30 10:29:53 -04:00
gdsys board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
ge/bx50v3 board: ge: bx50v3: apply the proper register setting to fix the voltage peak issue 2017-03-26 09:58:11 -05:00
google rockchip: Correct MAINTAINER entry for chromebook_minnie 2017-02-09 12:10:59 -07:00
grinn Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2017-02-01 16:34:25 -05:00
gumstix ti: boot: Register the MMC controllers in SPL in the same way as in u-boot 2017-03-19 22:17:14 -04:00
h2200 h2200: Fix build error 2015-09-07 13:41:04 +02:00
highbank Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
hisilicon/hikey board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
htkw/mcx ti: boot: Register the MMC controllers in SPL in the same way as in u-boot 2017-03-19 22:17:14 -04:00
ids/ids8313 board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
ifm board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
imgtec board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
imx31_phycore imx31_phycore: Split the eet variant out into a different TARGET 2017-01-24 10:33:53 -05:00
in-circuit/grasshopper Change my mailaddress 2016-05-02 18:37:09 -04:00
inka4x0 board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
intel x86: bayleybay: Add PS/2 keyboard and mouse to ASL file 2016-08-16 11:44:09 +08:00
intercontrol/digsy_mtc board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
inversepath/usbarmory treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
iomega/iconnect
ipek01 board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
is1 arm: socfpga: is1: Adding handoff for SDRAM ctrlcfg.extratime1 2016-10-27 08:03:10 +02:00
isee igep003x: Add support for IGEP SMARC AM335x 2017-05-08 11:57:27 -04:00
jupiter board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
keymile board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
kmc/kzm9g ARM: Rmobile: Rename CONFIG_RMOBILE to CONFIG_ARCH_RMOBILE 2016-08-17 10:25:34 +09:00
kosagi/novena mx6: ddr: pass mx6_ddr_sysinfo to calibration routines 2016-11-29 16:40:12 +01:00
l+g/vinco gpio: at91_gpio: remove CPU_HAS_PIO3 macro 2017-04-13 14:44:50 -06:00
LaCie Revert "arm: Remove d2net_v2 defconfig file" 2015-10-19 11:26:49 -04:00
lego/ev3 Remove various unused interrupt related code 2017-04-06 20:42:18 -04:00
lg/sniper ti: boot: Register the MMC controllers in SPL in the same way as in u-boot 2017-03-19 22:17:14 -04:00
liebherr board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
logicpd imx: i.mx6q: add the initial support for LogicPD i.MX6Q SOM 2017-04-12 18:59:12 +02:00
Marvell arm64: a37xx: Disable DB configurations on ESPRESSOBin board 2017-03-23 08:50:50 +01:00
maxbcm arm: mvebu: Consolidate board Kconfig options into one file 2016-01-14 14:08:59 +01:00
microchip/pic32mzda clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
micronas/vct board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
mini-box/picosam9g45 board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
mosaixtech/icon video: Move video_get_info_str() prototype to a header file 2016-10-23 18:33:54 -04:00
motionpro board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
mpc8308_p1m board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
mpl board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
mpr2 sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
mqmaker/miqi_rk3288 rockchip: Add support for MiQi rk3288 board 2017-04-04 20:01:57 -06:00
ms7720se sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
ms7722se sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
ms7750se sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
munices board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
nokia/rx51 omap-common: Common function to display die id, replacing omap3-specific version 2015-10-22 14:18:30 -04:00
nvidia mmc: move more driver config options to Kconfig 2017-01-11 19:40:15 +09:00
olimex/mx23_olinuxino status_led: Kconfig migration 2017-01-21 15:12:33 -05:00
omicron/calimain Remove various unused interrupt related code 2017-04-06 20:42:18 -04:00
overo serial, ns16550: bugfix: ns16550 fifo not enabled 2017-01-20 09:15:19 -05:00
pandora omap-common: Common function to display die id, replacing omap3-specific version 2015-10-22 14:18:30 -04:00
pb1x00 board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
pdm360ng board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
phytec board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
ppcag/bg0900
qca mips: ath79: ap143: Reset ethernet on boot 2016-05-31 10:17:54 +02:00
qemu-mips board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
qualcomm/dragonboard410c board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
quipos/cairo ti: boot: Register the MMC controllers in SPL in the same way as in u-boot 2017-03-19 22:17:14 -04:00
radxa rockchip: rk3188: Add Radxa Rock board 2017-04-04 20:01:57 -06:00
raidsonic/ib62x0
raspberrypi/rpi Allow boards to initialize the DT at runtime. 2017-05-09 20:35:06 -04:00
renesas flash: complete CONFIG_SYS_NO_FLASH move with renaming 2017-02-12 14:30:25 -05:00
rockchip board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
ronetix board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
samsung Merge branch 'master' of git://git.denx.de/u-boot-samsung 2017-04-08 10:20:26 -04:00
samtec status_led: Kconfig migration 2017-01-21 15:12:33 -05:00
sandbox sandbox: document support of block device emulation 2016-09-18 21:04:38 -06:00
sandisk/sansa_fuze_plus
sbc8349 board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
sbc8548 Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
sbc8641d board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
schulercontrol/sc_sps_1
Seagate arm: Clean up MACH_TYPE_xxx usage after re-sync of mach-types 2017-01-28 14:04:24 -05:00
seco treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
shmin sh: add common dram_init() function for all boards 2016-12-02 21:32:51 -05:00
siemens arm: at91: taurus/axm: add DM and DTS support 2016-06-26 20:17:22 +02:00
silica/pengwyn pengwyn: nand and ethernet fixes 2015-11-12 18:13:19 -05:00
socrates treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
solidrun treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
spear board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
sr1500 arm: socfpga: sr1500: Adding handoff for SDRAM ctrlcfg.extratime1 2016-10-27 08:03:10 +02:00
st stm32f7: stm32f746-disco: read memory info from device tree 2017-05-08 11:57:21 -04:00
sunxi sunxi: add support for Banana Pi M2 Plus board 2017-05-04 19:46:23 +05:30
Synology arm: kirkwood: fix Synology board tag 2016-10-09 10:55:32 +02:00
synopsys axs103: Support slave core kick-start on axs103 v1.1 firmware 2017-03-31 22:09:36 +03:00
sysam/amcore board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
syteco/zmx25
t3corp
tbs/tbs2910 tbs2910: Make Ethernet functional again 2016-11-29 16:33:50 +01:00
tcl/sl50 ARM: am335x: select DM_GPIO 2016-09-07 08:48:58 -04:00
technexion ti: boot: Register the MMC controllers in SPL in the same way as in u-boot 2017-03-19 22:17:14 -04:00
technologic ARM: ts4600: add basic board support 2016-11-29 16:45:48 +01:00
teejet/mt_ventoux mmc: move more driver config options to Kconfig 2017-01-11 19:40:15 +09:00
terasic arm: socfpga: add cyclone5 based de10-nano board 2017-04-25 12:46:44 +02:00
theadorable arm: mvebu: theadorable: Add 'pcie' test command 2017-03-23 10:52:28 +01:00
theobroma-systems/puma_rk3399 rockchip: ARM64: split RK3399-Q7 board off the RK3399-EVB board 2017-04-15 10:13:17 -06:00
ti ti: common: board_detect: Set alen to expected value before i2c read 2017-05-09 09:04:39 +02:00
timll ti: boot: Register the MMC controllers in SPL in the same way as in u-boot 2017-03-19 22:17:14 -04:00
topic/zynq ARM: zynq: Add support for the topic-miami system-on-modules and carrier boards 2016-11-15 15:27:50 +01:00
toradex board: toradex: colibri_vf: Add DCU support for Colibri Vybrid 2017-04-14 14:03:07 +02:00
tplink/wdr4300 MIPS: Split I & D cache line size config 2016-05-31 09:44:24 +02:00
tqc board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
udoo udoo: neo: Fix indentation 2017-01-02 17:55:58 +01:00
v38b board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
varisys board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
ve8313 board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
vscom/baltos arm: baltos: active mPCIe slot 2016-12-05 11:04:41 -05:00
wandboard arm: imx: wandboard: fix compile error if CONFIG_VIDEO is deactivated 2016-11-29 16:34:56 +01:00
warp imx: s/docs\/README.imximage/doc\/README.imximage/g 2016-10-26 16:53:16 +02:00
warp7 warp7: MAINTAINERS: Add warp7_secure_defconfig entry 2017-05-01 09:19:52 -04:00
woodburn treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
work-microwave/work_92105 hush: complete renaming CONFIG_SYS_HUSH_PARSER to CONFIG_HUSH_PARSER 2016-06-24 17:24:34 -04:00
xes board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
xilinx board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
zipitz2 board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
zyxel/nsa310s arm: kirkwood: add ZyXEL NSA310S device 2015-11-29 22:16:14 +01:00