[U-Boot] [PATCH 20/20] tegra: config: nyan-big: Add options required by Chrome OS boot

Simon Glass sjg at chromium.org
Tue Feb 17 23:29:54 CET 2015


We need to match the device tree in the FIT with the U-Boot model so we
can automatically select the right device tree. Also adjust the load address
so that the device tree is not in the way when a zImage kernel tries to
extract itself.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 include/configs/nyan-big.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/configs/nyan-big.h b/include/configs/nyan-big.h
index 0b7d4d6..3f27756 100644
--- a/include/configs/nyan-big.h
+++ b/include/configs/nyan-big.h
@@ -12,6 +12,8 @@
 
 #include "tegra124-common.h"
 
+#include <configs/chromeos.h>
+
 /* High-level configuration options */
 #define V_PROMPT			"Tegra124 (Nyan-big) # "
 #define CONFIG_TEGRA_BOARD_STRING	"Google/NVIDIA Nyan-big"
@@ -79,10 +81,14 @@
 #define CONFIG_CMD_DHCP
 
 #define CONFIG_FIT
+#define CONFIG_FIT_BEST_MATCH
 #define CONFIG_OF_LIBFDT
 
 #define CONFIG_KEYBOARD
 
+#undef CONFIG_LOADADDR
+#define CONFIG_LOADADDR		0x82408000
+
 #include "tegra-common-usb-gadget.h"
 #include "tegra-common-post.h"
 
-- 
2.2.0.rc0.207.ga3a616c



More information about the U-Boot mailing list