diff options
author | Thierry Reding <treding@nvidia.com> | 2021-10-13 13:06:02 -0700 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2021-10-13 14:18:30 -0700 |
commit | f814ff5e0b10a0b6a1b303a849e68f302f0d8627 (patch) | |
tree | d8e0819942673954242f7c3bd462c0de29668f6e /board | |
parent | db8a0306c91c470854fcfb9b3373ab98b18d3eba (diff) | |
download | u-boot-f814ff5e0b10a0b6a1b303a849e68f302f0d8627.zip u-boot-f814ff5e0b10a0b6a1b303a849e68f302f0d8627.tar.gz u-boot-f814ff5e0b10a0b6a1b303a849e68f302f0d8627.tar.bz2 |
ARM: tegra: Support EMC frequency tables on Tegra210
The EMC frequency tables are created from a training sequence performed
during early boot and passed in via a reserved memory region by nvtboot.
Copy this table to the kernel DTB so that the kernel can use it to scale
the EMC frequency at runtime.
Note that early bootloaders store the EMC table at an address that
currently intersects with the load address of the initial ramdisk. In
order to avoid copying the table to a different address, simply change
the load address for the initial ramdisk in U-Boot.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/nvidia/p2371-2180/p2371-2180.c | 1 | ||||
-rw-r--r-- | board/nvidia/p3450-0000/p3450-0000.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/board/nvidia/p2371-2180/p2371-2180.c b/board/nvidia/p2371-2180/p2371-2180.c index f5126c5..cd5dc2d 100644 --- a/board/nvidia/p2371-2180/p2371-2180.c +++ b/board/nvidia/p2371-2180/p2371-2180.c @@ -183,6 +183,7 @@ static void ft_carveout_setup(void *fdt) static const char * const nodes[] = { "/host1x@50000000/dc@54200000", "/host1x@50000000/dc@54240000", + "/external-memory-controller@7001b000", }; unsigned int i; int err; diff --git a/board/nvidia/p3450-0000/p3450-0000.c b/board/nvidia/p3450-0000/p3450-0000.c index 97b9900..ba57528 100644 --- a/board/nvidia/p3450-0000/p3450-0000.c +++ b/board/nvidia/p3450-0000/p3450-0000.c @@ -182,6 +182,7 @@ static void ft_carveout_setup(void *fdt) static const char * const nodes[] = { "/host1x@50000000/dc@54200000", "/host1x@50000000/dc@54240000", + "/external-memory-controller@7001b000", }; unsigned int i; int err; |