Dear Rajeshwari, On 23/01/13 15:30, Rajeshwari Shinde wrote: > This patch set adds driver for Gigabyte device GD25LQ and GD25Q64B > required for Snow board and enables same in config file. > > Based on following patches submitted by Simon Glass: > "sf: Add spi_flash_alloc() to create a new SPI flash struct" > "sf: Use spi_flash_alloc() in each SPI flash driver" > > Changes in V2: > - Added U-Boot copyright header to gigadevice.c > - Removed unnecessary blank lines. > > Rajeshwari Shinde (2): > SF: Add driver for Gigabyte device GD25LQ and GD25Q64B > SMDK5250: Enable SPI Gigabyte device. > > drivers/mtd/spi/Makefile | 1 + > drivers/mtd/spi/gigadevice.c | 81 > ++++++++++++++++++++++++++++++++++ > drivers/mtd/spi/spi_flash.c | 3 + > drivers/mtd/spi/spi_flash_internal.h | 1 + > include/configs/exynos5250-dt.h | 1 + > 5 files changed, 87 insertions(+), 0 deletions(-) > create mode 100644 drivers/mtd/spi/gigadevice.c >
I've got compiler warning and error on this patch. gigadevice.c: In function 'spi_flash_probe_gigadevice': gigadevice.c:68:2: warning: implicit declaration of function 'spi_flash_alloc_base' [-Wimplicit-function-declaration] gigadevice.c:68:8: warning: assignment makes pointer from integer without a cast [enabled by default] drivers/mtd/spi/libspi_flash.o: In function `spi_flash_probe_gigadevice': /home/share/Work/u-boot-samsung/drivers/mtd/spi/gigadevice.c:68: undefined reference to `spi_flash_alloc_base' There is any dependency with other patches? then, please let me know. Thanks, Minkyu Kang. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot