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