[U-Boot] [PATCH 2/2] ARM: zynq: add default ps7_init_gpl.c/h for Zed, MicroZed, ZC70x

Michal Simek michal.simek at xilinx.com
Thu Apr 9 12:40:03 CEST 2015


Hi Masahiro,

On 04/09/2015 12:04 PM, Masahiro Yamada wrote:
> Due to licensing issues, the files ps7_init.c/h are not able to be
> distributed with U-Boot source code.  Recent Xilinx tools also
> provide the GPL version (ps7_init_gpl.c/h), compatible with U-Boot
> license.
> 
> Prior to this commit, we had to copy ps7_init code into
> board/xilinx/zynq/ before the compile.
> 
> To be more user-friendly, let's include ps7_init_gpl.c/h for
> Zedboard, MicroZed, ZC702, ZC706.
> 
> These init code have been taken from the hwplatform_templates
> directory of Xilinx SDK 2014.4.
> 
> You can still use customized ps7_init code by enabling
> CONFIG_ZYNQ_CUSTOM_INIT.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> ---
> 
>  arch/arm/cpu/armv7/zynq/Kconfig                    |    10 +
>  board/xilinx/zynq/Makefile                         |    22 +-
>  .../zynq/MicroZed_hw_platform/ps7_init_gpl.c       | 12978 ++++++++++++++++++
>  .../zynq/MicroZed_hw_platform/ps7_init_gpl.h       |   130 +
>  board/xilinx/zynq/ZC702_hw_platform/ps7_init_gpl.c | 13311 +++++++++++++++++++
>  board/xilinx/zynq/ZC702_hw_platform/ps7_init_gpl.h |   130 +
>  board/xilinx/zynq/ZC706_hw_platform/ps7_init_gpl.c | 13218 ++++++++++++++++++
>  board/xilinx/zynq/ZC706_hw_platform/ps7_init_gpl.h |   130 +
>  .../zynq/{ => custom_hw_platform}/.gitignore       |     0
>  .../xilinx/zynq/{ => custom_hw_platform}/legacy.c  |     0
>  board/xilinx/zynq/zed_hw_platform/ps7_init_gpl.c   | 12876 ++++++++++++++++++
>  board/xilinx/zynq/zed_hw_platform/ps7_init_gpl.h   |   130 +
>  12 files changed, 52931 insertions(+), 4 deletions(-)
>  create mode 100644 board/xilinx/zynq/MicroZed_hw_platform/ps7_init_gpl.c
>  create mode 100644 board/xilinx/zynq/MicroZed_hw_platform/ps7_init_gpl.h
>  create mode 100644 board/xilinx/zynq/ZC702_hw_platform/ps7_init_gpl.c
>  create mode 100644 board/xilinx/zynq/ZC702_hw_platform/ps7_init_gpl.h
>  create mode 100644 board/xilinx/zynq/ZC706_hw_platform/ps7_init_gpl.c
>  create mode 100644 board/xilinx/zynq/ZC706_hw_platform/ps7_init_gpl.h
>  rename board/xilinx/zynq/{ => custom_hw_platform}/.gitignore (100%)
>  rename board/xilinx/zynq/{ => custom_hw_platform}/legacy.c (100%)
>  create mode 100644 board/xilinx/zynq/zed_hw_platform/ps7_init_gpl.c
>  create mode 100644 board/xilinx/zynq/zed_hw_platform/ps7_init_gpl.h

We can add files for zybo and zc770 that's not a problem.
But I would like to wait for others what they think about it.

Thanks,
Michal


More information about the U-Boot mailing list