[U-Boot] [PATCH 60/60] ARM: tegra: move clock headers

Simon Glass sjg at chromium.org
Sun May 8 00:32:54 CEST 2016


On 19 April 2016 at 14:59, Stephen Warren <swarren at wwwdotorg.org> wrote:
> From: Stephen Warren <swarren at nvidia.com>
>
> These are the last files in arch/arm/include/asm/arch-tegra*. Move them
> into arch/arm/mach-tegra. The Tegra clock API currently exposes a lot of
> internal implementation details, which are unfortunately relied upon
> throughout the code base. Consequently, the headers are moved to <mach/>
> rather than being hidden out of the global include path. This needs
> cleanup/refactoring, especially since the current state cannot support the
> next chip at all. However, this cleanup series is already rather long, and
> the work to cleanup the clock API rather involved, so I'll do that later.
>
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
> ---
>  arch/arm/mach-tegra/ap.c                                       |  2 +-
>  arch/arm/mach-tegra/board.c                                    |  2 +-
>  arch/arm/mach-tegra/board2.c                                   |  4 ++--
>  arch/arm/mach-tegra/clock.c                                    |  4 ++--
>  arch/arm/mach-tegra/cpu.c                                      |  4 ++--
>  .../asm/arch-tegra => mach-tegra/include/mach}/clk_rst.h       |  6 +++---
>  .../clock.h => mach-tegra/include/mach/clock_common.h}         |  8 ++++----
>  arch/arm/mach-tegra/include/mach/powergate.h                   |  2 +-
>  arch/arm/mach-tegra/spl.c                                      |  2 +-
>  arch/arm/mach-tegra/spl_uart.c                                 |  2 +-
>  arch/arm/mach-tegra/tegra114/clock.c                           |  4 ++--
>  arch/arm/mach-tegra/tegra114/cpu.c                             |  4 ++--
>  .../tegra114/include/mach}/clock-tables.h                      |  8 ++++----
>  .../arch-tegra114 => mach-tegra/tegra114/include/mach}/clock.h | 10 +++++-----
>  arch/arm/mach-tegra/tegra114/pllx.c                            |  2 +-
>  arch/arm/mach-tegra/tegra124/clock.c                           |  4 ++--
>  arch/arm/mach-tegra/tegra124/cpu.c                             |  4 ++--
>  .../tegra124/include/mach}/clock-tables.h                      |  8 ++++----
>  .../arch-tegra124 => mach-tegra/tegra124/include/mach}/clock.h | 10 +++++-----
>  arch/arm/mach-tegra/tegra124/pllx.c                            |  2 +-
>  arch/arm/mach-tegra/tegra20/clock.c                            |  4 ++--
>  arch/arm/mach-tegra/tegra20/emc.c                              |  2 +-
>  .../tegra20/include/mach}/clock-tables.h                       |  8 ++++----
>  .../arch-tegra20 => mach-tegra/tegra20/include/mach}/clock.h   |  5 +++--
>  arch/arm/mach-tegra/tegra20/pllx.c                             |  2 +-
>  arch/arm/mach-tegra/tegra20/warmboot.c                         |  4 ++--
>  arch/arm/mach-tegra/tegra20/warmboot_avp.c                     |  4 ++--
>  arch/arm/mach-tegra/tegra210/clock.c                           |  4 ++--
>  .../tegra210/include/mach}/clock-tables.h                      |  8 ++++----
>  .../arch-tegra210 => mach-tegra/tegra210/include/mach}/clock.h |  8 ++++----
>  arch/arm/mach-tegra/tegra210/pllx.c                            |  2 +-
>  arch/arm/mach-tegra/tegra210/xusb-padctl.c                     |  8 +++-----
>  arch/arm/mach-tegra/tegra30/clock.c                            |  4 ++--
>  arch/arm/mach-tegra/tegra30/cpu.c                              |  4 ++--
>  .../tegra30/include/mach}/clock-tables.h                       |  8 ++++----
>  .../arch-tegra30 => mach-tegra/tegra30/include/mach}/clock.h   | 10 +++++-----
>  arch/arm/mach-tegra/tegra30/pllx.c                             |  2 +-
>  arch/arm/mach-tegra/xusb-padctl-common.c                       |  6 ++----
>  board/nvidia/jetson-tk1/jetson-tk1.c                           |  3 +--
>  board/nvidia/nyan-big/nyan-big.c                               |  2 +-
>  drivers/i2c/tegra_i2c.c                                        |  4 ++--
>  drivers/input/tegra-kbc.c                                      |  2 +-
>  drivers/mmc/tegra_mmc.c                                        |  4 ++--
>  drivers/mtd/nand/tegra_nand.c                                  |  4 ++--
>  drivers/pci/pci_tegra.c                                        |  5 ++---
>  drivers/pwm/tegra_pwm.c                                        |  2 +-
>  drivers/spi/tegra114_spi.c                                     |  6 +++---
>  drivers/spi/tegra20_sflash.c                                   |  4 ++--
>  drivers/spi/tegra20_slink.c                                    |  6 +++---
>  drivers/spi/tegra210_qspi.c                                    |  6 +++---
>  drivers/usb/host/ehci-tegra.c                                  |  5 ++---
>  drivers/video/tegra.c                                          |  2 +-
>  drivers/video/tegra124/display.c                               |  2 +-
>  drivers/video/tegra124/sor.c                                   |  2 +-
>  54 files changed, 119 insertions(+), 125 deletions(-)
>  rename arch/arm/{include/asm/arch-tegra => mach-tegra/include/mach}/clk_rst.h (99%)
>  rename arch/arm/{include/asm/arch-tegra/clock.h => mach-tegra/include/mach/clock_common.h} (99%)
>  rename arch/arm/{include/asm/arch-tegra114 => mach-tegra/tegra114/include/mach}/clock-tables.h (97%)
>  rename arch/arm/{include/asm/arch-tegra114 => mach-tegra/tegra114/include/mach}/clock.h (61%)
>  rename arch/arm/{include/asm/arch-tegra124 => mach-tegra/tegra124/include/mach}/clock-tables.h (98%)
>  rename arch/arm/{include/asm/arch-tegra124 => mach-tegra/tegra124/include/mach}/clock.h (85%)
>  rename arch/arm/{include/asm/arch-tegra20 => mach-tegra/tegra20/include/mach}/clock-tables.h (95%)
>  rename arch/arm/{include/asm/arch-tegra20 => mach-tegra/tegra20/include/mach}/clock.h (77%)
>  rename arch/arm/{include/asm/arch-tegra210 => mach-tegra/tegra210/include/mach}/clock-tables.h (98%)
>  rename arch/arm/{include/asm/arch-tegra210 => mach-tegra/tegra210/include/mach}/clock.h (78%)
>  rename arch/arm/{include/asm/arch-tegra30 => mach-tegra/tegra30/include/mach}/clock-tables.h (97%)
>  rename arch/arm/{include/asm/arch-tegra30 => mach-tegra/tegra30/include/mach}/clock.h (58%)


Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list