mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-14 07:13:03 +00:00
cd7efc2a94
<asm/arch-tegra/tegra.h> needs to use CONFIG_TEGRA* to conditionalize some definitions, since some modules moved between generations. Move the definition of CONFIG_TEGRAnn to a header that's included earlier, so that it's set by the time tegra.h needs to use it. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
23 lines
399 B
C
23 lines
399 B
C
/*
|
|
* (C) Copyright 2010,2011
|
|
* NVIDIA Corporation <www.nvidia.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef _TEGRA20_H_
|
|
#define _TEGRA20_H_
|
|
|
|
#define CONFIG_TEGRA20
|
|
|
|
#define NV_PA_SDRAM_BASE 0x00000000
|
|
|
|
#include <asm/arch-tegra/tegra.h>
|
|
|
|
#define TEGRA_USB1_BASE 0xC5000000
|
|
|
|
#define BCT_ODMDATA_OFFSET 4068 /* 12 bytes from end of BCT */
|
|
|
|
#define MAX_NUM_CPU 2
|
|
|
|
#endif /* TEGRA20_H */
|