All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v3 00/19] ARM: tegra: Miscellaneous improvements
@ 2019-03-21 18:00 Thierry Reding
  2019-03-21 18:01 ` [U-Boot] [PATCH v3 01/19] ARM: tegra: Use common header for PMU declarations Thierry Reding
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: Thierry Reding @ 2019-03-21 18:00 UTC (permalink / raw)
  To: u-boot

From: Thierry Reding <treding@nvidia.com>

The bulk of these changes are an effort to unify Tegra186 builds with
builds of prior 64-bit Tegra generations. On top of that there are
various improvements that allow data (such as the MAC address and boot
arguments) to be passed through from early firmware to the kernel on
boot.

The last two patches can be applied at a later time if the strndup()
addition can't be merged along with the rest of the patches through
the Tegra tree.

Thierry

Thierry Reding (19):
  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: Enable position independent build for 64-bit
  p2371-2180: Pass Ethernet MAC to the kernel
  p2771-0000: Pass Ethernet MAC to the kernel
  lib: Implement strndup()
  ARM: tegra: Import cbootargs value from cboot DTB

 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                   |  32 +
 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 +
 arch/arm/mach-tegra/cboot.c                   | 605 ++++++++++++++++++
 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_board.c  | 332 ----------
 arch/arm/mach-tegra/tegra186/nvtboot_ll.S     |  20 -
 arch/arm/mach-tegra/tegra186/nvtboot_mem.c    | 172 -----
 board/nvidia/p2371-2180/p2371-2180.c          |  50 ++
 board/nvidia/p2771-0000/p2771-0000.c          |  53 +-
 configs/e2220-1170_defconfig                  |   2 +-
 configs/p2371-0000_defconfig                  |   2 +-
 configs/p2371-2180_defconfig                  |   3 +-
 configs/p2571_defconfig                       |   2 +-
 configs/p2771-0000-000_defconfig              |   3 +-
 configs/p2771-0000-500_defconfig              |   3 +-
 include/configs/tegra-common-post.h           |   2 +
 include/linux/string.h                        |   1 +
 lib/string.c                                  |  23 +
 37 files changed, 1046 insertions(+), 701 deletions(-)
 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
 create mode 100644 arch/arm/mach-tegra/cboot.c
 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_board.c
 delete mode 100644 arch/arm/mach-tegra/tegra186/nvtboot_ll.S
 delete mode 100644 arch/arm/mach-tegra/tegra186/nvtboot_mem.c

-- 
2.21.0

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2019-03-21 18:01 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-21 18:00 [U-Boot] [PATCH v3 00/19] ARM: tegra: Miscellaneous improvements Thierry Reding
2019-03-21 18:01 ` [U-Boot] [PATCH v3 01/19] ARM: tegra: Use common header for PMU declarations Thierry Reding
2019-03-21 18:01 ` [U-Boot] [PATCH v3 02/19] ARM: tegra: Guard clock code with a Kconfig symbol Thierry Reding
2019-03-21 18:01 ` [U-Boot] [PATCH v3 03/19] ARM: tegra: Guard GP pad control " Thierry Reding
2019-03-21 18:01 ` [U-Boot] [PATCH v3 04/19] ARM: tegra: Guard memory controller " Thierry Reding
2019-03-21 18:01 ` [U-Boot] [PATCH v3 05/19] ARM: tegra: Guard pin " Thierry Reding
2019-03-21 18:01 ` [U-Boot] [PATCH v3 06/19] ARM: tegra: Guard powergate " Thierry Reding
2019-03-21 18:01 ` [U-Boot] [PATCH v3 07/19] ARM: tegra: Fix save_boot_params() prototype Thierry Reding
2019-03-21 18:01 ` [U-Boot] [PATCH v3 08/19] ARM: tegra: Allow boards to override boot target devices Thierry Reding
2019-03-21 18:01 ` [U-Boot] [PATCH v3 09/19] ARM: tegra: Support TZ-only access to PMC Thierry Reding
2019-03-21 18:01 ` [U-Boot] [PATCH v3 10/19] ARM: tegra: Workaround UDC boot issues only if necessary Thierry Reding
2019-03-21 18:01 ` [U-Boot] [PATCH v3 11/19] ARM: tegra: Restore DRAM bank count Thierry Reding
2019-03-21 18:01 ` [U-Boot] [PATCH v3 12/19] ARM: tegra: Unify Tegra186 builds Thierry Reding
2019-03-21 18:01 ` [U-Boot] [PATCH v3 13/19] ARM: tegra: Implement cboot_save_boot_params() in C Thierry Reding
2019-03-21 18:01 ` [U-Boot] [PATCH v3 14/19] ARM: tegra: Implement cboot_get_ethaddr() Thierry Reding
2019-03-21 18:01 ` [U-Boot] [PATCH v3 15/19] ARM: tegra: Enable position independent build for 64-bit Thierry Reding
2019-03-21 18:01 ` [U-Boot] [PATCH v3 16/19] p2371-2180: Pass Ethernet MAC to the kernel Thierry Reding
2019-03-21 18:01 ` [U-Boot] [PATCH v3 17/19] p2771-0000: " Thierry Reding
2019-03-21 18:01 ` [U-Boot] [PATCH v3 18/19] lib: Implement strndup() Thierry Reding
2019-03-21 18:01 ` [U-Boot] [PATCH v3 19/19] ARM: tegra: Import cbootargs value from cboot DTB Thierry Reding

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.