summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2015-07-09 16:33:01 +0900
committerTom Warren <twarren@nvidia.com>2015-08-06 10:50:03 -0700
commita38a3c4af4ed72a2ed6192203f8fe17ccdd2389f (patch)
tree71a0a327f8ca6b0bf1798aa08ec3e26659d11157 /include
parent871d78ed1b906a79d8a6dad96a9f83dea7b9170f (diff)
ARM: tegra: enable GPU DT node when appropriate
T124/210 requires some specific configuration (VPR setup) to be performed by the bootloader before the GPU can be used. For this reason, the GPU node in the device tree is disabled by default. This patch enables the node if U-boot has performed VPR configuration. Boards enabled by this patch are T124's Jetson TK1 and Venice2 and T210's P2571. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Cc: Stephen Warren <swarren@nvidia.com> Cc: Tom Warren <twarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/jetson-tk1.h2
-rw-r--r--include/configs/p2571.h1
-rw-r--r--include/configs/venice2.h2
3 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/jetson-tk1.h b/include/configs/jetson-tk1.h
index 55ef5f8cc6..def0ab4121 100644
--- a/include/configs/jetson-tk1.h
+++ b/include/configs/jetson-tk1.h
@@ -79,4 +79,6 @@
#define CONFIG_ARMV7_SECURE_BASE 0xfff00000
#define CONFIG_ARMV7_SECURE_RESERVE_SIZE 0x00100000
+#define CONFIG_OF_BOARD_SETUP
+
#endif /* __CONFIG_H */
diff --git a/include/configs/p2571.h b/include/configs/p2571.h
index b22117bfdf..54427ad429 100644
--- a/include/configs/p2571.h
+++ b/include/configs/p2571.h
@@ -65,5 +65,6 @@
#include "tegra-common-post.h"
#define COUNTER_FREQUENCY 38400000
+#define CONFIG_OF_BOARD_SETUP
#endif /* _P2571_H */
diff --git a/include/configs/venice2.h b/include/configs/venice2.h
index 2c43f3ebed..8b1189e7c4 100644
--- a/include/configs/venice2.h
+++ b/include/configs/venice2.h
@@ -61,4 +61,6 @@
#include "tegra-common-usb-gadget.h"
#include "tegra-common-post.h"
+#define CONFIG_OF_BOARD_SETUP
+
#endif /* __CONFIG_H */