[U-Boot] [PATCH 0/2 V2] EXYNOS5: Enable Gigabyte device GD25LQ and GD25Q64B

Minkyu Kang mk7.kang at samsung.com
Fri Mar 8 14:28:01 CET 2013


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.


More information about the U-Boot mailing list