diff options
author | Tom Rini <trini@konsulko.com> | 2015-08-18 08:25:24 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-08-18 08:25:24 -0400 |
commit | 952bd79b53f002740634977edfc0c4d744908032 (patch) | |
tree | 05265bd4b6b304b3c8089bda9f2e1f60db534772 /drivers/mtd/spi/sf_internal.h | |
parent | 783983f323730540f861413dfbea6802c88afcf8 (diff) | |
parent | fc5e22008a668a75d108ebf8edc93849c6f9dcb4 (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-spi
Diffstat (limited to 'drivers/mtd/spi/sf_internal.h')
-rw-r--r-- | drivers/mtd/spi/sf_internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mtd/spi/sf_internal.h b/drivers/mtd/spi/sf_internal.h index 9fb555707c..9c95d5616e 100644 --- a/drivers/mtd/spi/sf_internal.h +++ b/drivers/mtd/spi/sf_internal.h @@ -37,7 +37,11 @@ enum spi_read_cmds { /* sf param flags */ enum { +#ifdef CONFIG_SPI_FLASH_USE_4K_SECTORS SECT_4K = 1 << 0, +#else + SECT_4K = 0 << 0, +#endif SECT_32K = 1 << 1, E_FSR = 1 << 2, SST_BP = 1 << 3, |