u-boot-brain/arch/arm
Masahiro Yamada 8ea4f49a47 ARM: uniphier: set DTB file name to fdt_file environment
When we want to boot Linux with a DTB file downloaded from a TFTP
server or somewhere, we need to know the file name to be downloaded.

Assume the U-Boot configuration is shared among some similar boards.
If they are similar enough, the difference only appears in device
trees.  The build procedure would be like this:

 - Board A:  make foo_common_defconfig && make DEVICE_TREE=foo_board_a
 - Board B:  make foo_common_defconfig && make DEVICE_TREE=foo_board_b
 - Board C:  make foo_common_defconfig && make DEVICE_TREE=foo_board_c

In this case, the U-Boot image contains nothing about the DTB file name
it is running with.  (CONFIG_DEFAULT_DEVICE_TREE is not helpful for this
purpose because it is painful to change it from "make menuconfig" for
each board.)

This commit allows to lookup the DTB file name based on the compatible
string and set it to "fdt_file" environment.  Then "tftpboot $fdt_file"
will download the file we want.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2015-12-23 00:08:56 +09:00
..
cpu armv8/ls1043a: Implement workaround for PEX erratum A009929 2015-12-17 08:52:18 +08:00
dts ARM: dts: uniphier: use stdout-path instead of console 2015-12-23 00:08:34 +09:00
imx-common imx: mx7: compile misc.c for mx7 2015-11-12 17:40:54 +01:00
include armv8/ls1043a: Implement workaround for PEX erratum A009929 2015-12-17 08:52:18 +08:00
lib Change e-mail address of Kamil Lulko 2015-12-05 18:22:32 -05:00
mach-at91 arm: at91/spl: atmel_sfr: move saic redirect to separate file 2015-11-30 22:27:55 +01:00
mach-bcm283x rpi: get rid of BCM2835_BOARD_REV_* macros 2015-12-05 18:22:35 -05:00
mach-davinci arm: Remove da830evm board 2015-09-28 10:48:23 -04:00
mach-exynos arm: exynos: clean up checkpatch issues 2015-11-02 10:38:22 +09:00
mach-highbank ARM: highbank: move SoC sources to mach-highbank 2015-02-21 08:23:51 -05:00
mach-integrator integrator: switch to DM serial port 2015-08-12 20:47:49 -04:00
mach-keystone ARM: k2g: add SD card and eMMC support 2015-10-22 14:22:25 -04:00
mach-kirkwood arm: kirkwood: add ZyXEL NSA310S device 2015-11-29 22:16:14 +01:00
mach-mvebu arm: mvebu: Configure ARP timeout and retry count 2015-11-29 16:02:44 +01:00
mach-orion5x arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD 2015-11-10 15:03:48 +01:00
mach-rockchip rockchip: Add basic support for kylin board 2015-12-13 20:51:50 -07:00
mach-s5pc1xx arm: s5pc1xx: move SoC to mach-s5pc1xx 2015-11-30 17:17:01 +09:00
mach-socfpga arm: socfpga: fix up a questionable macro for SDMMC 2015-12-20 03:44:56 +01:00
mach-tegra dm: tegra: Provide serial platform data for SPL 2015-12-05 18:22:38 -05:00
mach-uniphier ARM: uniphier: set DTB file name to fdt_file environment 2015-12-23 00:08:56 +09:00
mach-versatile arm: Remove versatileab board 2015-09-11 15:01:25 -04:00
mach-zynq ARM: zynq: Add default ps7_init_gpl.c/h for ZYBO 2015-12-18 13:15:57 +01:00
mvebu-common arm: mvebu: Move mvebu-common into mach-mvebu 2015-05-05 14:28:29 +02:00
thumb1/include/asm/proc-armv arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD 2015-11-10 15:03:48 +01:00
config.mk arm: Include the .got section in the binary 2015-05-14 18:49:34 -06:00
Kconfig sunxi: Select DM_KEYBOARD 2015-12-21 20:37:52 +01:00
Kconfig.debug arm: debug: add Kconfig entries for lowlevel debug 2014-10-26 22:23:12 +01:00
Makefile arm: s5pc1xx: move SoC to mach-s5pc1xx 2015-11-30 17:17:01 +09:00