u-boot/arch
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
..
arc axs103: add support of generic OHCI USB 1.1 controller 2015-12-21 23:29:04 +03:00
arm ARM: uniphier: set DTB file name to fdt_file environment 2015-12-23 00:08:56 +09:00
avr32 avr32: Use the generic bitops headers 2015-11-05 10:52:31 -05:00
blackfin Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
m68k m68k: add private libgcc 2015-12-13 20:22:00 -05:00
microblaze microblaze: Enable DM by default 2015-12-18 13:15:58 +01:00
mips Merge branch 'master' of git://git.denx.de/u-boot-mips 2015-11-06 09:17:17 -05:00
nds32 nds32: Use the generic bitops headers 2015-11-05 10:52:21 -05:00
nios2 nios2: display altera sysid at startup 2015-12-19 09:51:19 +08:00
openrisc openrisc: updating build tools naming convention 2015-11-12 18:13:20 -05:00
powerpc fsl_*_serdes.c: Modify memset call in serdes_init 2015-12-13 18:27:29 -08:00
sandbox timer: sandbox: Use device tree to pass the clock frequency 2015-12-01 06:23:51 -07:00
sh Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
sparc sparc: Remove non-generic board init files: board.c, time.c 2015-12-03 13:15:50 +02:00
x86 x86: Remove HAVE_ACPI_RESUME 2015-12-09 17:44:56 +08:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig m68k: add private libgcc 2015-12-13 20:22:00 -05:00