[U-Boot] [PATCH v2 00/15] ARM: tegra: Add NVIDIA Jetson Nano Developer Kit support

Thierry Reding thierry.reding at gmail.com
Mon Mar 18 23:24:07 UTC 2019


From: Thierry Reding <treding at nvidia.com>

Hi,

This set of patches move some code from the Tegra186 SoC specific
directory to a common location so that it can be more easily shared.
Since the differences between Tegra186 and earlier generations are
now very small, the builds are unified to avoid duplication of code.

We also add support for accessing the PMC on systems where it can only
be accessed from TrustZone.

Finally, all of this is used to implement support for the recently
announced NVIDIA Jetson Nano Developer Kit.

These patches, along with patches to enable network booting[0], can also
be found in the p3450 branch of the following repository:

	https://github.com/thierryreding/u-boot

Thanks,
Thierry

[0]: http://patchwork.ozlabs.org/project/uboot/list/?series=96153

Thierry Reding (15):
  ARM: tegra: Use common header for PMU declarations
  ARM: tegra: Guard clock code with a Kconfig symbol
  ARM: tegra: Guard GP pad control code with a Kconfig symbol
  ARM: tegra: Guard memory controller code with a Kconfig symbol
  ARM: tegra: Guard pin controller code with a Kconfig symbol
  ARM: tegra: Guard powergate code with a Kconfig symbol
  ARM: tegra: Fix save_boot_params() prototype
  ARM: tegra: Allow boards to override boot target devices
  ARM: tegra: Support TZ-only access to PMC
  ARM: tegra: Workaround UDC boot issues only if necessary
  ARM: tegra: Restore DRAM bank count
  ARM: tegra: Unify Tegra186 builds
  ARM: tegra: Implement cboot_save_boot_params() in C
  ARM: tegra: Implement cboot_get_ethaddr()
  ARM: tegra: Add NVIDIA Jetson Nano Developer Kit support

 arch/arm/dts/tegra210-p3450-0000.dts          | 130 ++++++++
 arch/arm/include/asm/arch-tegra/cboot.h       |  45 +++
 arch/arm/include/asm/arch-tegra/pmc.h         |  20 +-
 .../asm/{arch-tegra20 => arch-tegra}/pmu.h    |   6 +-
 arch/arm/include/asm/arch-tegra/tegra.h       |   6 +
 arch/arm/include/asm/arch-tegra114/pmu.h      |  12 -
 arch/arm/include/asm/arch-tegra124/pmu.h      |  13 -
 arch/arm/include/asm/arch-tegra210/pmu.h      |  13 -
 arch/arm/include/asm/arch-tegra30/pmu.h       |  12 -
 arch/arm/mach-tegra/Kconfig                   |  31 ++
 arch/arm/mach-tegra/Makefile                  |  16 +-
 arch/arm/mach-tegra/board.c                   |  41 ++-
 arch/arm/mach-tegra/board186.c                |  32 --
 arch/arm/mach-tegra/board2.c                  |  37 ++-
 arch/arm/mach-tegra/cache.c                   |   2 +
 .../{tegra186/nvtboot_board.c => cboot.c}     | 280 ++++++++++++++++--
 arch/arm/mach-tegra/clock.c                   |  13 +-
 arch/arm/mach-tegra/cmd_enterrcm.c            |   6 +-
 arch/arm/mach-tegra/cpu.c                     |  20 +-
 arch/arm/mach-tegra/emc.c                     |   2 +-
 arch/arm/mach-tegra/lowlevel_init.S           |  39 ---
 arch/arm/mach-tegra/pmc.c                     |  92 ++++++
 arch/arm/mach-tegra/powergate.c               |  11 +-
 arch/arm/mach-tegra/tegra186/Makefile         |   4 -
 arch/arm/mach-tegra/tegra186/nvtboot_ll.S     |  20 --
 arch/arm/mach-tegra/tegra186/nvtboot_mem.c    | 172 -----------
 arch/arm/mach-tegra/tegra210/Kconfig          |   7 +
 board/nvidia/p2771-0000/p2771-0000.c          |  10 +-
 board/nvidia/p3450-0000/Kconfig               |  12 +
 board/nvidia/p3450-0000/MAINTAINERS           |   6 +
 board/nvidia/p3450-0000/Makefile              |   8 +
 board/nvidia/p3450-0000/p3450-0000.c          | 143 +++++++++
 .../p3450-0000/pinmux-config-p3450-0000.h     | 257 ++++++++++++++++
 configs/p2771-0000-000_defconfig              |   2 +-
 configs/p2771-0000-500_defconfig              |   2 +-
 configs/p3450-0000_defconfig                  |  54 ++++
 include/configs/p3450-0000.h                  |  44 +++
 include/configs/tegra-common-post.h           |   2 +
 38 files changed, 1230 insertions(+), 392 deletions(-)
 create mode 100644 arch/arm/dts/tegra210-p3450-0000.dts
 create mode 100644 arch/arm/include/asm/arch-tegra/cboot.h
 rename arch/arm/include/asm/{arch-tegra20 => arch-tegra}/pmu.h (73%)
 delete mode 100644 arch/arm/include/asm/arch-tegra114/pmu.h
 delete mode 100644 arch/arm/include/asm/arch-tegra124/pmu.h
 delete mode 100644 arch/arm/include/asm/arch-tegra210/pmu.h
 delete mode 100644 arch/arm/include/asm/arch-tegra30/pmu.h
 delete mode 100644 arch/arm/mach-tegra/board186.c
 rename arch/arm/mach-tegra/{tegra186/nvtboot_board.c => cboot.c} (50%)
 delete mode 100644 arch/arm/mach-tegra/lowlevel_init.S
 create mode 100644 arch/arm/mach-tegra/pmc.c
 delete mode 100644 arch/arm/mach-tegra/tegra186/nvtboot_ll.S
 delete mode 100644 arch/arm/mach-tegra/tegra186/nvtboot_mem.c
 create mode 100644 board/nvidia/p3450-0000/Kconfig
 create mode 100644 board/nvidia/p3450-0000/MAINTAINERS
 create mode 100644 board/nvidia/p3450-0000/Makefile
 create mode 100644 board/nvidia/p3450-0000/p3450-0000.c
 create mode 100644 board/nvidia/p3450-0000/pinmux-config-p3450-0000.h
 create mode 100644 configs/p3450-0000_defconfig
 create mode 100644 include/configs/p3450-0000.h

-- 
2.21.0



More information about the U-Boot mailing list