ARM: OMAP2+: onenand: connected soc info in pdata
onenand driver needs to know whether soc is falling under 34xx family to properly handle onenand. But driver is not supposed to do cpu_is_* check, hence educate platform data with this information. Driver can make use of it to avoid cpu_is_* check. Signed-off-by: Afzal Mohammed <afzal@ti.com>
This commit is contained in:
parent
4ea1e4ba7b
commit
eb77b6a78a
2 changed files with 6 additions and 0 deletions
|
|
@ -14,6 +14,7 @@
|
|||
|
||||
#define ONENAND_SYNC_READ (1 << 0)
|
||||
#define ONENAND_SYNC_READWRITE (1 << 1)
|
||||
#define ONENAND_IN_OMAP34XX (1 << 2)
|
||||
|
||||
struct omap_onenand_platform_data {
|
||||
int cs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue