commit | 46e42096032e85265b0740b47c86f4975cf365ef | [log] [tgz] |
---|---|---|
author | Nico Huber <nico.h@gmx.de> | Sun Oct 20 18:21:43 2024 +0200 |
committer | Nico Huber <nico.h@gmx.de> | Sun Feb 23 12:05:52 2025 +0000 |
tree | c4d77e4da37ec5b45fc3aafdff84c5c5a76c8095 | |
parent | 6bc88e72d97a140cf657571a2f4a4f3e1c643954 [diff] [blame] |
flashchips: Add XTX Tech. XT25F02E/04D/08B 3.3V parts These are old chips with rather limited capabilities. Their block-protection ranges are rather special, hence not added at the moment. Datasheets used: https://en.xtxtech.com/download/?AId=118 https://en.xtxtech.com/download/?AId=136 https://en.xtxtech.com/download/?AId=51 Change-Id: I28ec5087be63b394b0f387ca01e2391823680272 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/283 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
diff --git a/include/flash.h b/include/flash.h index 6bbc378..5d5efb7 100644 --- a/include/flash.h +++ b/include/flash.h
@@ -164,8 +164,9 @@ #define FEATURE_SET_READ_PARAMS (1u << 31) /**< SRP instruction 0xc0 for dummy cycles and burst length */ /* Multi-I/O Shorthands */ -#define FEATURE_QIO (FEATURE_FAST_READ | \ - FEATURE_FAST_READ_DOUT | FEATURE_FAST_READ_DIO | \ +#define FEATURE_DIO (FEATURE_FAST_READ | \ + FEATURE_FAST_READ_DOUT | FEATURE_FAST_READ_DIO) +#define FEATURE_QIO (FEATURE_DIO | \ FEATURE_FAST_READ_QOUT | FEATURE_FAST_READ_QIO) #define FEATURE_QPI_35 (FEATURE_QIO | FEATURE_QPI_35_F5) #define FEATURE_QPI_38 (FEATURE_QIO | FEATURE_QPI_38_FF)