[U-Boot] [PATCH 08/14] zynq: Move macros to hardware.h

Tom Rini trini at ti.com
Mon Apr 22 18:02:59 CEST 2013


On Mon, Apr 22, 2013 at 04:52:06PM +0200, Michal Simek wrote:

> Add all fixed addresses to hardware.h and change petalinux
> configuration to support this.
> 
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>  arch/arm/include/asm/arch-zynq/hardware.h |  2 ++
>  board/xilinx/zynq/board.c                 | 12 +++++++++---
>  include/configs/zynq.h                    |  2 +-
>  3 files changed, 12 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm/include/asm/arch-zynq/hardware.h b/arch/arm/include/asm/arch-zynq/hardware.h
> index bee7b09..e0f6eba 100644
> --- a/arch/arm/include/asm/arch-zynq/hardware.h
> +++ b/arch/arm/include/asm/arch-zynq/hardware.h
> @@ -27,6 +27,8 @@
>  #define XPSS_DEV_CFG_APB_BASEADDR	0xF8007000
>  #define XPSS_SCU_BASEADDR		0xF8F00000
>  #define CONFIG_SCUTIMER_BASEADDR	0xF8F00600
> +#define CONFIG_ZYNQ_GEM_BASEADDR0	0xE000B000
> +#define CONFIG_ZYNQ_GEM_BASEADDR1	0xE000C000

Are these configurable really or no?  If they're in <hardware.h> they
shouldn't be CONFIG named.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130422/de3531cc/attachment.pgp>


More information about the U-Boot mailing list