1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (c) 2010-2016, NVIDIA CORPORATION.
7 #include <asm/arch-tegra/gpu.h>
10 * This function is called right before the kernel is booted. "blob" is the
11 * device tree that will be passed to the kernel.
13 int ft_system_setup(void *blob, bd_t *bd)
15 const char *gpu_compats[] = {
16 #if defined(CONFIG_TEGRA124)
19 #if defined(CONFIG_TEGRA210)
25 /* Enable GPU node if GPU setup has been performed */
26 for (i = 0; i < ARRAY_SIZE(gpu_compats); i++) {
27 ret = tegra_gpu_enable_node(blob, gpu_compats[i]);