[U-Boot] [PATCH v2 02/15] zynq: kconfig: move board select menu and commonsettings

Masahiro Yamada yamada.m at jp.panasonic.com
Wed Aug 6 08:49:28 CEST 2014


Hi Michal,


On Wed, 6 Aug 2014 08:39:47 +0200
Michal Simek <michal.simek at xilinx.com> wrote:

> Hi Masahiro,
> 
> On 08/06/2014 05:17 AM, Masahiro Yamada wrote:
> > Becuase the board select menu in arch/arm/Kconfig is too big,
> > move the Zynq board select menu to zynq/Kconfig.
> > 
> > Consolidate also common settings (CONFIG_SYS_CPU="armv7" and
> > CONFIG_SYS_SOC="zynq").
> > 
> > Refactor board/xilinx/zynq/MAINTAINERS too.
> > 
> > Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> > Cc: Michal Simek <michal.simek at xilinx.com>
> > ---
> > 
> > Changes in v2: None
> > 
> >  arch/arm/Kconfig                   | 15 ++----
> >  arch/arm/cpu/armv7/zynq/Kconfig    | 43 +++++++++++++++++
> >  board/xilinx/zynq/Kconfig          | 95 --------------------------------------
> >  board/xilinx/zynq/MAINTAINERS      | 12 +----
> >  configs/zynq_microzed_defconfig    |  1 +
> >  configs/zynq_zc70x_defconfig       |  1 +
> >  configs/zynq_zc770_xm010_defconfig |  1 +
> >  configs/zynq_zc770_xm012_defconfig |  1 +
> >  configs/zynq_zc770_xm013_defconfig |  1 +
> >  configs/zynq_zed_defconfig         |  1 +
> >  include/configs/zynq-common.h      |  1 -
> >  11 files changed, 54 insertions(+), 118 deletions(-)
> >  create mode 100644 arch/arm/cpu/armv7/zynq/Kconfig
> >  delete mode 100644 board/xilinx/zynq/Kconfig
> One
> One thing I have noticed was that when I run
> [u-boot]$ make zynq_zc70x_defconfig
> ...
> 
> there is incorrect CONFIG_DEFCONFIG_LIST setup
> 
> [u-boot]$ head .config
> #
> # Automatically generated file; DO NOT EDIT.
> # U-Boot 2014.07 Configuration
> #
> CONFIG_DEFCONFIG_LIST="configs/sandbox_defconfig"

I assume you thought having sandbox_defconfig in ARM .config
is weird.
But I think this is correct.

Unlike Linux,  defconfig has a flat structure in U-Boot
because ARCH=arm is not given from the command line.

Sandbox is the default when no defconfig is specified
although this is not related to this series at all.


Best Regards
Masahiro Yamada



More information about the U-Boot mailing list