Hi Jagan, > -----Original Message----- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Saturday, March 12, 2016 1:37 AM > To: Qianyu Gong <qianyu.g...@nxp.com> > Cc: york sun <york....@nxp.com>; Mingkai Hu <mingkai...@nxp.com>; u- > b...@lists.denx.de > Subject: Re: [U-Boot] [PATCH 3/3] armv8/ls1043a: move CONFIG_MTD to > defconfig > > On Mar 9, 2016 1:31 PM, "Gong Qianyu" <qianyu.g...@nxp.com> wrote: > > > > > To make it take effect to enable MTD driver model for SPI-NOR. > > > > Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com> > > --- > > configs/ls1043aqds_defconfig | 1 + > > configs/ls1043aqds_lpuart_defconfig | 1 + > > configs/ls1043aqds_nand_defconfig | 1 + > > configs/ls1043aqds_nor_ddr3_defconfig | 1 + > > configs/ls1043aqds_qspi_defconfig | 1 + > > configs/ls1043aqds_sdcard_ifc_defconfig | 1 + > > configs/ls1043aqds_sdcard_qspi_defconfig | 1 + > > configs/ls1043ardb_SECURE_BOOT_defconfig | 1 + > > configs/ls1043ardb_defconfig | 1 + > > configs/ls1043ardb_nand_defconfig | 1 + > > configs/ls1043ardb_sdcard_defconfig | 1 + > > include/configs/ls1043a_common.h | 1 - > > 12 files changed, 11 insertions(+), 1 deletion(- > > Look like all these files using this ls*_common.h, then why this patch moving > MTD > to all defconfigs? > > -- > Jagan.
According to ./drivers/mtd/spi-nor/Kconfig, CONFIG_DM_MTD_SPI_NOR needs CONFIG_MTD and CONFIG_DM_SPI to select it. Then only when CONFIG_MTD is moved to defconfigs can CONFIG_DM_MTD_SPI_NOR be defined. Or else, we have to define CONFIG_DM_MTD_SPI_NOR manually. Regards, Qianyu _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot