Searched hist:b5aec1424d191c51f694ba85d5577e7a635363d9 (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/include/ |
| H A D | spi_flash.h | b5aec1424d191c51f694ba85d5577e7a635363d9 Mon Mar 11 06:08:02 UTC 2013 Simon Glass <sjg@chromium.org> sf: Add spi_flash_alloc() to create a new SPI flash struct
At present it is difficult to extend the SPI flash structure since all devices allocate it themselves, and few of them zero all fields. Add a new function spi_flash_alloc() which can be used by SPI devices to perform this allocation, and thus ensure that all devices can better cope with SPI structure changes.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| /rk3399_rockchip-uboot/drivers/mtd/spi/ |
| H A D | spi_flash.c | b5aec1424d191c51f694ba85d5577e7a635363d9 Mon Mar 11 06:08:02 UTC 2013 Simon Glass <sjg@chromium.org> sf: Add spi_flash_alloc() to create a new SPI flash struct
At present it is difficult to extend the SPI flash structure since all devices allocate it themselves, and few of them zero all fields. Add a new function spi_flash_alloc() which can be used by SPI devices to perform this allocation, and thus ensure that all devices can better cope with SPI structure changes.
Signed-off-by: Simon Glass <sjg@chromium.org>
|