mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-18 21:21:26 +02:00
On popular request this now completes the Warren's work started for TK1: aeb3fcb35956461077804720b8a252d50758d7e0 ARM: tegra: Use mem size from MC rather than ODMDATA In addition to the move of using the Tegra memory controller (MC) register rather than ODMDATA for T20, T30 and T114 as well it further uses the generic get_ram_size() function (see "common/memsize.c") <supposed to be used in each and every U-Boot port>TM. Added benefit is that it should <catch 99% of hardware related (i. e. reliably reproducible) memory errors> as well. Thoroughly tested on the various Toradex line of Tegra modules available which unfortunately does not include T114 and T124 (yet at least) plus on the Jetson TK1. Based-on-work-by: Stephen Warren <swarren@nvidia.com> Based-on-work-by: Tom Warren <twarren@nvidia.com> Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
23 lines
409 B
C
23 lines
409 B
C
/*
|
|
* (C) Copyright 2010,2011
|
|
* NVIDIA Corporation <www.nvidia.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef _TEGRA20_H_
|
|
#define _TEGRA20_H_
|
|
|
|
#define NV_PA_SDRAM_BASE 0x00000000
|
|
#define NV_PA_MC_BASE 0x7000F000
|
|
|
|
#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 */
|