Hey Jagan, We have #ifdef CONFIG_ALTERA_SPI in socfpga_common.h. But none of the board configs are defining this flag.
Anyone working on altera boards having spi which uses altera_spi.c driver ? Regards, Chakra On Thu, Jul 2, 2015 at 1:34 PM, Jagan Teki <jt...@openedev.com> wrote: > On 2 July 2015 at 13:24, Chakra D <cd...@openedev.com> wrote: > > Hello all, > > > > Is anyone building / using altera_spi.c module ? > > Which board currently is using this driver ? > > I could not find any defconfig file using it. > > > > Can someone provide the details of building it... > > You need to search it on configs first - as we are in state of moving > defconfig > > (master) uboot/u-boot-spi# grep -R CONFIG_ALTERA_SPI include/configs/ > include/configs/socfpga_common.h:#ifdef CONFIG_ALTERA_SPI > (master) uboot/u-boot-spi# grep -R "socfpga_common.h" include/configs/ > include/configs/socfpga_arria5.h:#include <configs/socfpga_common.h> > include/configs/socfpga_cyclone5.h:#include <configs/socfpga_common.h> > > Just build > $ make socfpga_arria5_defconfig > > See if the spi driver built or not and all defconfigs are in configs/ > > thanks! > -- > Jagan | openedev. > _______________________________________________ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot > _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot