aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Scott <michael.scott@linaro.org>2014-09-28 16:59:12 -0700
committerRob Herring <robh@kernel.org>2014-11-14 15:35:58 -0600
commitf2999b9b77bdc99d911e597fd4d6129082fff40e (patch)
tree376b47ba68cbb79b93eb9747b13820d32cdcd6f8
parentf58d59d5e88a15ecc7347c2dd20a86a71c8224b0 (diff)
jetson-tk1 config changes
enable fastboot and fastboot buffer location / size enable fastboot mmc flash device 0 enable bootai and android image suppot ignore boot.img memory locations set additional cmdline parameters Signed-off-by: Michael Scott <michael.scott@linaro.org>
-rw-r--r--include/configs/jetson-tk1.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/configs/jetson-tk1.h b/include/configs/jetson-tk1.h
index b2b84e4f0a..d8df67548c 100644
--- a/include/configs/jetson-tk1.h
+++ b/include/configs/jetson-tk1.h
@@ -91,6 +91,23 @@
#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
+/* Fastboot support */
+#define CONFIG_CMD_FASTBOOT
+
+#ifdef CONFIG_CMD_FASTBOOT
+#define CONFIG_ANDROID_BOOT_IMAGE
+#define CONFIG_CMD_BOOTAI
+#define CONFIG_CMD_BOOTAI_IGNORE_HDR_ADDR
+#define MEMORY_BASE 0x80000000
+#define CONFIG_ADDR_DOWNLOAD (MEMORY_BASE + 0x04000000)
+#define CONFIG_USB_FASTBOOT_BUF_ADDR CONFIG_ADDR_DOWNLOAD
+#define CONFIG_USB_FASTBOOT_BUF_SIZE 0x40000000
+#define CONFIG_FASTBOOT_FLASH
+#define CONFIG_FASTBOOT_FLASH_MMC_DEV 0
+#define BOARD_EXTRA_ENV_SETTINGS \
+ "bootargs_append=pmuboard=0x0177:0x0000:0x02:0x43:0x00 otf_key=c75e5bb91eb3bd947560357b64422f85 board_info=0x0177:0x0000:0x02:0x43:0x00\0"
+#endif
+
#include "tegra-common-usb-gadget.h"
#include "tegra-common-post.h"