diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2015-07-09 07:33:00 (GMT) |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2015-08-06 17:50:03 (GMT) |
commit | 871d78ed1b906a79d8a6dad96a9f83dea7b9170f (patch) | |
tree | 73a86ddc08316580ee5a20962ecd84274b93dd0f /include/configs | |
parent | 95486f843b73b1d8588fd304f58997b536b77ac4 (diff) | |
download | u-boot-871d78ed1b906a79d8a6dad96a9f83dea7b9170f.tar.xz |
ARM: tegra: move VPR configuration to a later stage
U-boot is responsible for enabling the GPU DT node after all necessary
configuration (VPR setup for T124) is performed. In order to be able to
check whether this configuration has been performed right before booting
the kernel, make it happen during board_init().
Also move VPR configuration into the more generic gpu.c file, which will
also host other GPU-related functions, and let boards specify
individually whether they need VPR setup or not.
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/configs')
-rw-r--r-- | include/configs/tegra124-common.h | 3 | ||||
-rw-r--r-- | include/configs/tegra210-common.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/tegra124-common.h b/include/configs/tegra124-common.h index af7698d..39e74f0 100644 --- a/include/configs/tegra124-common.h +++ b/include/configs/tegra124-common.h @@ -70,4 +70,7 @@ #define CONFIG_USB_EHCI_TXFIFO_THRESH 0x10 #define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 1 +/* GPU needs setup */ +#define CONFIG_TEGRA_GPU + #endif /* _TEGRA124_COMMON_H_ */ diff --git a/include/configs/tegra210-common.h b/include/configs/tegra210-common.h index 0348d47..d95056c 100644 --- a/include/configs/tegra210-common.h +++ b/include/configs/tegra210-common.h @@ -73,4 +73,7 @@ #define CONFIG_USB_EHCI_TXFIFO_THRESH 0x10 #define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 1 +/* GPU needs setup */ +#define CONFIG_TEGRA_GPU + #endif /* _TEGRA210_COMMON_H_ */ |