mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 23:51:33 +00:00
mtd: spi: Add 'struct spi_flash {' to the code
At present spi_flash is defined to be spi_nor which is confusing since it is not possible to find the 'spi_flash' by normal text search. Add a comment to help with this. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
1f338e00fa
commit
7e45bb0867
1 changed files with 7 additions and 1 deletions
|
@ -246,7 +246,13 @@ enum spi_nor_option_flags {
|
|||
*/
|
||||
struct flash_info;
|
||||
|
||||
/* TODO: Remove, once all users of spi_flash interface are moved to MTD */
|
||||
/*
|
||||
* TODO: Remove, once all users of spi_flash interface are moved to MTD
|
||||
*
|
||||
* struct spi_flash {
|
||||
* Defined below (keep this text to enable searching for spi_flash decl)
|
||||
* }
|
||||
*/
|
||||
#define spi_flash spi_nor
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue