mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 16:07:30 +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>
36 lines
1.2 KiB
C
36 lines
1.2 KiB
C
/*
|
|
* Copyright (c) 2010-2013, NVIDIA CORPORATION. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms and conditions of the GNU General Public License,
|
|
* version 2, as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope it will be useful, but WITHOUT
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
* more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef _TEGRA114_H_
|
|
#define _TEGRA114_H_
|
|
|
|
#define CONFIG_TEGRA114
|
|
|
|
#define NV_PA_SDRAM_BASE 0x80000000 /* 0x80000000 for real T114 */
|
|
#define NV_PA_TSC_BASE 0x700F0000 /* System Counter TSC regs */
|
|
|
|
#include <asm/arch-tegra/tegra.h>
|
|
|
|
#define BCT_ODMDATA_OFFSET 1752 /* offset to ODMDATA word */
|
|
|
|
#undef NVBOOTINFOTABLE_BCTSIZE
|
|
#undef NVBOOTINFOTABLE_BCTPTR
|
|
#define NVBOOTINFOTABLE_BCTSIZE 0x48 /* BCT size in BIT in IRAM */
|
|
#define NVBOOTINFOTABLE_BCTPTR 0x4C /* BCT pointer in BIT in IRAM */
|
|
|
|
#define MAX_NUM_CPU 4
|
|
|
|
#endif /* TEGRA114_H */
|