Patchwork [U-Boot,1/3] xilinx: zynq: Enable DCC and create new zynq_dcc board

login
register
mail settings
Submitter Michal Simek
Date Feb. 4, 2013, 2:36 p.m.
Message ID <1359988567-10034-1-git-send-email-michal.simek@xilinx.com>
Download mbox | patch
Permalink /patch/217950/
State Accepted
Delegated to: Albert ARIBAUD
Headers show

Comments

Michal Simek - Feb. 4, 2013, 2:36 p.m.
Enable DCC driver for arm zynq platform to be compiled.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
 boards.cfg             |    1 +
 include/configs/zynq.h |    5 +++++
 2 files changed, 6 insertions(+), 0 deletions(-)
Albert ARIBAUD - Feb. 21, 2013, 6:15 p.m.
Hi Michal,

On Mon,  4 Feb 2013 15:36:05 +0100, Michal Simek
<michal.simek@xilinx.com> wrote:

> Enable DCC driver for arm zynq platform to be compiled.
> 
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>  boards.cfg             |    1 +
>  include/configs/zynq.h |    5 +++++
>  2 files changed, 6 insertions(+), 0 deletions(-)
> 
> diff --git a/boards.cfg b/boards.cfg
> index 98f7a14..1d30a18 100644
> --- a/boards.cfg
> +++ b/boards.cfg
> @@ -296,6 +296,7 @@ snowball                     arm         armv7       snowball               st-e
>  kzm9g                        arm         armv7       kzm9g               kmc            rmobile
>  armadillo-800eva             arm         armv7       armadillo-800eva    atmark-techno  rmobile
>  zynq                         arm         armv7       zynq                xilinx         zynq
> +zynq_dcc                     arm         armv7       zynq                xilinx         zynq        zynq:ZYNQ_DCC
>  socfpga_cyclone5                arm         armv7          socfpga_cyclone5    altera		    socfpga
>  actux1_4_16                  arm         ixp         actux1              -              -           actux1:FLASH2X2
>  actux1_4_32                  arm         ixp         actux1              -              -           actux1:FLASH2X2,RAM_32MB
> diff --git a/include/configs/zynq.h b/include/configs/zynq.h
> index 18fd76f..2989e72 100644
> --- a/include/configs/zynq.h
> +++ b/include/configs/zynq.h
> @@ -58,6 +58,11 @@
>  #define CONFIG_ZYNQ_GEM
>  #define CONFIG_ZYNQ_GEM_BASEADDR0	0xE000B000
>  
> +#if defined(CONFIG_ZYNQ_DCC)
> +# define CONFIG_ARM_DCC
> +# define CONFIG_CPU_V6 /* Required by CONFIG_ARM_DCC */
> +#endif
> +
>  #define CONFIG_BOOTP_SERVERIP
>  #define CONFIG_BOOTP_BOOTPATH
>  #define CONFIG_BOOTP_GATEWAY

Applied to u-boot-arm/master via microblaze/mainline/arm, thanks!

Amicalement,
Albert ARIBAUD - Feb. 21, 2013, 6:15 p.m.
Hi Michal,

On Mon,  4 Feb 2013 15:36:05 +0100, Michal Simek
<michal.simek@xilinx.com> wrote:

> Enable DCC driver for arm zynq platform to be compiled.
> 
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>  boards.cfg             |    1 +
>  include/configs/zynq.h |    5 +++++
>  2 files changed, 6 insertions(+), 0 deletions(-)
> 
> diff --git a/boards.cfg b/boards.cfg
> index 98f7a14..1d30a18 100644
> --- a/boards.cfg
> +++ b/boards.cfg
> @@ -296,6 +296,7 @@ snowball                     arm         armv7       snowball               st-e
>  kzm9g                        arm         armv7       kzm9g               kmc            rmobile
>  armadillo-800eva             arm         armv7       armadillo-800eva    atmark-techno  rmobile
>  zynq                         arm         armv7       zynq                xilinx         zynq
> +zynq_dcc                     arm         armv7       zynq                xilinx         zynq        zynq:ZYNQ_DCC
>  socfpga_cyclone5                arm         armv7          socfpga_cyclone5    altera		    socfpga
>  actux1_4_16                  arm         ixp         actux1              -              -           actux1:FLASH2X2
>  actux1_4_32                  arm         ixp         actux1              -              -           actux1:FLASH2X2,RAM_32MB
> diff --git a/include/configs/zynq.h b/include/configs/zynq.h
> index 18fd76f..2989e72 100644
> --- a/include/configs/zynq.h
> +++ b/include/configs/zynq.h
> @@ -58,6 +58,11 @@
>  #define CONFIG_ZYNQ_GEM
>  #define CONFIG_ZYNQ_GEM_BASEADDR0	0xE000B000
>  
> +#if defined(CONFIG_ZYNQ_DCC)
> +# define CONFIG_ARM_DCC
> +# define CONFIG_CPU_V6 /* Required by CONFIG_ARM_DCC */
> +#endif
> +
>  #define CONFIG_BOOTP_SERVERIP
>  #define CONFIG_BOOTP_BOOTPATH
>  #define CONFIG_BOOTP_GATEWAY

Applied to u-boot-arm/master via microblaze/mainline/arm, thanks!

Amicalement,

Patch

diff --git a/boards.cfg b/boards.cfg
index 98f7a14..1d30a18 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -296,6 +296,7 @@  snowball                     arm         armv7       snowball               st-e
 kzm9g                        arm         armv7       kzm9g               kmc            rmobile
 armadillo-800eva             arm         armv7       armadillo-800eva    atmark-techno  rmobile
 zynq                         arm         armv7       zynq                xilinx         zynq
+zynq_dcc                     arm         armv7       zynq                xilinx         zynq        zynq:ZYNQ_DCC
 socfpga_cyclone5                arm         armv7          socfpga_cyclone5    altera		    socfpga
 actux1_4_16                  arm         ixp         actux1              -              -           actux1:FLASH2X2
 actux1_4_32                  arm         ixp         actux1              -              -           actux1:FLASH2X2,RAM_32MB
diff --git a/include/configs/zynq.h b/include/configs/zynq.h
index 18fd76f..2989e72 100644
--- a/include/configs/zynq.h
+++ b/include/configs/zynq.h
@@ -58,6 +58,11 @@ 
 #define CONFIG_ZYNQ_GEM
 #define CONFIG_ZYNQ_GEM_BASEADDR0	0xE000B000
 
+#if defined(CONFIG_ZYNQ_DCC)
+# define CONFIG_ARM_DCC
+# define CONFIG_CPU_V6 /* Required by CONFIG_ARM_DCC */
+#endif
+
 #define CONFIG_BOOTP_SERVERIP
 #define CONFIG_BOOTP_BOOTPATH
 #define CONFIG_BOOTP_GATEWAY