mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-07-23 03:19:43 +09:00
sf: Remove unneeded SST_BP and SST_WP
SST parts added on sf_params.c supports both SST_WR which consits of both BP and WP and there is a spi controller ich which supports only BP so the relevent _write hook set based on "slave->op_mode_tx" hence there is no respective change required from flash side hance removed these. Tested-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Jagan Teki <jteki@openedev.com>
This commit is contained in:
parent
615879ac1a
commit
aae00f8bab
@ -44,13 +44,10 @@ enum {
|
|||||||
#endif
|
#endif
|
||||||
SECT_32K = 1 << 1,
|
SECT_32K = 1 << 1,
|
||||||
E_FSR = 1 << 2,
|
E_FSR = 1 << 2,
|
||||||
SST_BP = 1 << 3,
|
SST_WR = 1 << 3,
|
||||||
SST_WP = 1 << 4,
|
WR_QPP = 1 << 4,
|
||||||
WR_QPP = 1 << 5,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define SST_WR (SST_BP | SST_WP)
|
|
||||||
|
|
||||||
enum spi_nor_option_flags {
|
enum spi_nor_option_flags {
|
||||||
SNOR_F_SST_WR = (1 << 0),
|
SNOR_F_SST_WR = (1 << 0),
|
||||||
SNOR_F_USE_FSR = (1 << 1),
|
SNOR_F_USE_FSR = (1 << 1),
|
||||||
|
Loading…
Reference in New Issue
Block a user