[U-Boot] [PATCH] ARM: zynq: Remove unused SPI base addresses

Moritz Fischer moritz.fischer at ettus.com
Thu Feb 4 21:53:21 CET 2016


On Thu, Feb 4, 2016 at 1:07 AM, Michal Simek <michal.simek at xilinx.com> wrote:
> Remove unused macros. Adresses are taken from DT.
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
Reviewed-by: Moritz Fischer <moritz.fischer at ettus.com>
> ---
>
>  arch/arm/include/asm/arch-zynqmp/hardware.h | 3 ---
>  arch/arm/mach-zynq/include/mach/hardware.h  | 2 --
>  2 files changed, 5 deletions(-)
>
> diff --git a/arch/arm/include/asm/arch-zynqmp/hardware.h b/arch/arm/include/asm/arch-zynqmp/hardware.h
> index 587938249e8f..1ab301f0d21f 100644
> --- a/arch/arm/include/asm/arch-zynqmp/hardware.h
> +++ b/arch/arm/include/asm/arch-zynqmp/hardware.h
> @@ -13,9 +13,6 @@
>  #define ZYNQ_GEM_BASEADDR2     0xFF0D0000
>  #define ZYNQ_GEM_BASEADDR3     0xFF0E0000
>
> -#define ZYNQ_SPI_BASEADDR0     0xFF040000
> -#define ZYNQ_SPI_BASEADDR1     0xFF050000
> -
>  #define ZYNQ_I2C_BASEADDR0     0xFF020000
>  #define ZYNQ_I2C_BASEADDR1     0xFF030000
>
> diff --git a/arch/arm/mach-zynq/include/mach/hardware.h b/arch/arm/mach-zynq/include/mach/hardware.h
> index 830e1fea1809..79347a83eaff 100644
> --- a/arch/arm/mach-zynq/include/mach/hardware.h
> +++ b/arch/arm/mach-zynq/include/mach/hardware.h
> @@ -14,8 +14,6 @@
>  #define ZYNQ_GEM_BASEADDR1             0xE000C000
>  #define ZYNQ_I2C_BASEADDR0             0xE0004000
>  #define ZYNQ_I2C_BASEADDR1             0xE0005000
> -#define ZYNQ_SPI_BASEADDR0             0xE0006000
> -#define ZYNQ_SPI_BASEADDR1             0xE0007000
>  #define ZYNQ_QSPI_BASEADDR             0xE000D000
>  #define ZYNQ_SMC_BASEADDR              0xE000E000
>  #define ZYNQ_NAND_BASEADDR             0xE1000000
> --
> 1.9.1
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot


More information about the U-Boot mailing list