diff options
author | Takahiro Kuwano <Takahiro.Kuwano@infineon.com> | 2022-12-19 10:28:21 +0900 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2023-01-26 21:07:45 +0530 |
commit | 87a6d86571268be4e354fe030c53745a54f4ed8e (patch) | |
tree | 5427d032906b172f7625bb0464de481dd8d44bcf /include/linux | |
parent | eadaadbb8f600404e71c04f7ac801916f47cc4cc (diff) | |
download | u-boot-87a6d86571268be4e354fe030c53745a54f4ed8e.tar.gz u-boot-87a6d86571268be4e354fe030c53745a54f4ed8e.tar.bz2 u-boot-87a6d86571268be4e354fe030c53745a54f4ed8e.zip |
mtd: spi-nor: Add support for Infineon s25fs256t
Infineon S25FS256T is 256Mbit Quad SPI NOR flash. The key features and
differences comparing to other Spansion/Cypress flash familes are:
- 4-byte address mode by factory default
- Quad mode is enabled by factory default
- Supports mixture of 128KB and 64KB sectors by OTP configuration
(this patch supports uniform 128KB only)
Signed-off-by: Takahiro Kuwano <Takahiro.Kuwano@infineon.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mtd/spi-nor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/spi-nor.h b/include/linux/mtd/spi-nor.h index 605cddef4d..2861b73edb 100644 --- a/include/linux/mtd/spi-nor.h +++ b/include/linux/mtd/spi-nor.h @@ -141,6 +141,7 @@ #define SPINOR_REG_ADDR_STR1V 0x00800000 #define SPINOR_REG_ADDR_CFR1V 0x00800002 #define SPINOR_REG_ADDR_CFR3V 0x00800004 +#define SPINOR_REG_ADDR_ARCFN 0x00000006 #define CFR3V_UNHYSA BIT(3) /* Uniform sectors or not */ #define CFR3V_PGMBUF BIT(4) /* Program buffer size */ |