hw/block/m25p80: Fix typo in local macro name
Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
89f3ea2b62
commit
5c765e7af6
@ -147,7 +147,7 @@ typedef struct FlashPartInfo {
|
||||
#define CFG_DUMMY_CLK_LEN 4
|
||||
#define NVCFG_DUMMY_CLK_POS 12
|
||||
#define VCFG_DUMMY_CLK_POS 4
|
||||
#define EVCFG_OUT_DRIVER_STRENGHT_DEF 7
|
||||
#define EVCFG_OUT_DRIVER_STRENGTH_DEF 7
|
||||
#define EVCFG_VPP_ACCELERATOR (1 << 3)
|
||||
#define EVCFG_RESET_HOLD_ENABLED (1 << 4)
|
||||
#define NVCFG_DUAL_IO_MASK (1 << 2)
|
||||
@ -747,7 +747,7 @@ static void reset_memory(Flash *s)
|
||||
);
|
||||
|
||||
s->enh_volatile_cfg = 0;
|
||||
s->enh_volatile_cfg |= EVCFG_OUT_DRIVER_STRENGHT_DEF;
|
||||
s->enh_volatile_cfg |= EVCFG_OUT_DRIVER_STRENGTH_DEF;
|
||||
s->enh_volatile_cfg |= EVCFG_VPP_ACCELERATOR;
|
||||
s->enh_volatile_cfg |= EVCFG_RESET_HOLD_ENABLED;
|
||||
if (s->nonvolatile_cfg & NVCFG_DUAL_IO_MASK) {
|
||||
|
Loading…
Reference in New Issue
Block a user