diff options
author | Simon Glass <sjg@chromium.org> | 2011-05-10 11:59:04 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2011-08-24 10:01:31 -0700 |
commit | 20d8fe039fa7732aa71f1360adadfb6753687f8d (patch) | |
tree | 0d3c689503990f113eef69603cd30d9f78736b5e /mkconfig | |
parent | fba3cfb94552efe566dbb2b1e595ec236c91b168 (diff) |
fdt: Add support for embedded device tree (CONFIG_OF_EMBED)
This new option allows U-Boot to embed a binary device tree into its image
to allow run-time control of peripherals. This device tree is for U-Boot's
own use and is not necessarily the same one as is passed to the kernel.
BUG=chromium-os:11623
TEST=build and boot U-Boot on Seaboard
Change-Id: I024d01079a44395e122a8b53e3901ba9a007dc5a
Reviewed-on: http://gerrit.chromium.org/gerrit/621
Reviewed-by: Doug Anderson <dianders@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'mkconfig')
-rwxr-xr-x | mkconfig | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -127,7 +127,10 @@ echo "BOARD = ${board}" >> config.mk [ "${vendor}" ] && echo "VENDOR = ${vendor}" >> config.mk -[ "${soc}" ] && echo "SOC = ${soc}" >> config.mk +if [ -n "${soc}" ] ; then + echo "SOC = ${soc}" >> config.mk + echo "DEVICE_TREE = ${soc}-${board}" >> config.mk +fi # Assign board directory to BOARDIR variable if [ -z "${vendor}" ] ; then |