Message ID | ea2c278050f56e8fce4e3981963cec8590e704a4.1409223862.git.crosthwaite.peter@gmail.com |
---|---|
State | Changes Requested |
Headers | show |
On 28 August 2014 16:46, Peter Crosthwaite <crosthwaitepeter@gmail.com> wrote: > Add a defconfig and Kconfigury for the Digilent ZYBO board. > > Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com> > --- > arch/arm/Kconfig | 3 +++ > board/xilinx/zynq/Kconfig | 24 ++++++++++++++++++++++++ > configs/zynq_zybo_defconfig | 3 +++ > 3 files changed, 30 insertions(+) > create mode 100644 configs/zynq_zybo_defconfig Acked-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com> > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index e385eda..e04a2b9 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -671,6 +671,9 @@ config TARGET_ZYNQ_ZC770 > config TARGET_ZYNQ_ZED > bool "Support zynq_zed" > > +config TARGET_ZYNQ_ZYBO > + bool "Support zynq_zybo" > + > config TARGET_MEDCOM_WIDE > bool "Support medcom-wide" > > diff --git a/board/xilinx/zynq/Kconfig b/board/xilinx/zynq/Kconfig > index 3b72a5f..151279c 100644 > --- a/board/xilinx/zynq/Kconfig > +++ b/board/xilinx/zynq/Kconfig > @@ -93,3 +93,27 @@ config SYS_CONFIG_NAME > default "zynq_zed" > > endif > + > +if TARGET_ZYNQ_ZYBO > + > +config SYS_CPU > + string > + default "armv7" > + > +config SYS_BOARD > + string > + default "zynq" > + > +config SYS_VENDOR > + string > + default "xilinx" > + > +config SYS_SOC > + string > + default "zynq" > + > +config SYS_CONFIG_NAME > + string > + default "zynq_zybo" > + > +endif > diff --git a/configs/zynq_zybo_defconfig b/configs/zynq_zybo_defconfig > new file mode 100644 > index 0000000..973ebc1 > --- /dev/null > +++ b/configs/zynq_zybo_defconfig > @@ -0,0 +1,3 @@ > +CONFIG_SPL=y > ++S:CONFIG_ARM=y > ++S:CONFIG_TARGET_ZYNQ_ZYBO=y > -- thanks!
Hi Peter, Sorry, this patch no longer applies on the mainline. Could you rebase and repost this patch, please? (You need to touch arch/arm/cpu/armv7/zynq/Kconfig, intead of arch/arm/Kconfig, board/xilinx/zynq/Kconfig) Best Regards Masahiro Yamada On Thu, 28 Aug 2014 21:16:41 +1000 Peter Crosthwaite <crosthwaitepeter@gmail.com> wrote: > Add a defconfig and Kconfigury for the Digilent ZYBO board. > > Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com> > --- > arch/arm/Kconfig | 3 +++ > board/xilinx/zynq/Kconfig | 24 ++++++++++++++++++++++++ > configs/zynq_zybo_defconfig | 3 +++ > 3 files changed, 30 insertions(+) > create mode 100644 configs/zynq_zybo_defconfig > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index e385eda..e04a2b9 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -671,6 +671,9 @@ config TARGET_ZYNQ_ZC770 > config TARGET_ZYNQ_ZED > bool "Support zynq_zed" > > +config TARGET_ZYNQ_ZYBO > + bool "Support zynq_zybo" > + > config TARGET_MEDCOM_WIDE > bool "Support medcom-wide" > > diff --git a/board/xilinx/zynq/Kconfig b/board/xilinx/zynq/Kconfig > index 3b72a5f..151279c 100644 > --- a/board/xilinx/zynq/Kconfig > +++ b/board/xilinx/zynq/Kconfig > @@ -93,3 +93,27 @@ config SYS_CONFIG_NAME > default "zynq_zed" > > endif > + > +if TARGET_ZYNQ_ZYBO > + > +config SYS_CPU > + string > + default "armv7" > + > +config SYS_BOARD > + string > + default "zynq" > + > +config SYS_VENDOR > + string > + default "xilinx" > + > +config SYS_SOC > + string > + default "zynq" > + > +config SYS_CONFIG_NAME > + string > + default "zynq_zybo" > + > +endif > diff --git a/configs/zynq_zybo_defconfig b/configs/zynq_zybo_defconfig > new file mode 100644 > index 0000000..973ebc1 > --- /dev/null > +++ b/configs/zynq_zybo_defconfig > @@ -0,0 +1,3 @@ > +CONFIG_SPL=y > ++S:CONFIG_ARM=y > ++S:CONFIG_TARGET_ZYNQ_ZYBO=y > -- > 1.9.1 > > _______________________________________________ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot
Hi Peter and Masahiro, On 09/01/2014 04:25 AM, Masahiro Yamada wrote: > Hi Peter, > > Sorry, this patch no longer applies on the mainline. > Could you rebase and repost this patch, please? > > (You need to touch arch/arm/cpu/armv7/zynq/Kconfig, > intead of arch/arm/Kconfig, board/xilinx/zynq/Kconfig) > I have rebased that patches on the top of Tom's tree. Here is v2 patch: https://patchwork.ozlabs.org/patch/384762/ Thanks, Michal
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index e385eda..e04a2b9 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -671,6 +671,9 @@ config TARGET_ZYNQ_ZC770 config TARGET_ZYNQ_ZED bool "Support zynq_zed" +config TARGET_ZYNQ_ZYBO + bool "Support zynq_zybo" + config TARGET_MEDCOM_WIDE bool "Support medcom-wide" diff --git a/board/xilinx/zynq/Kconfig b/board/xilinx/zynq/Kconfig index 3b72a5f..151279c 100644 --- a/board/xilinx/zynq/Kconfig +++ b/board/xilinx/zynq/Kconfig @@ -93,3 +93,27 @@ config SYS_CONFIG_NAME default "zynq_zed" endif + +if TARGET_ZYNQ_ZYBO + +config SYS_CPU + string + default "armv7" + +config SYS_BOARD + string + default "zynq" + +config SYS_VENDOR + string + default "xilinx" + +config SYS_SOC + string + default "zynq" + +config SYS_CONFIG_NAME + string + default "zynq_zybo" + +endif diff --git a/configs/zynq_zybo_defconfig b/configs/zynq_zybo_defconfig new file mode 100644 index 0000000..973ebc1 --- /dev/null +++ b/configs/zynq_zybo_defconfig @@ -0,0 +1,3 @@ +CONFIG_SPL=y ++S:CONFIG_ARM=y ++S:CONFIG_TARGET_ZYNQ_ZYBO=y
Add a defconfig and Kconfigury for the Digilent ZYBO board. Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com> --- arch/arm/Kconfig | 3 +++ board/xilinx/zynq/Kconfig | 24 ++++++++++++++++++++++++ configs/zynq_zybo_defconfig | 3 +++ 3 files changed, 30 insertions(+) create mode 100644 configs/zynq_zybo_defconfig