summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTakahiro Kuwano <[email protected]>2023-04-23 01:55:49 +0200
committerJagan Teki <[email protected]>2023-04-26 13:32:45 +0530
commit562d166a13ca88cb55ef4f4ddb016e27b7cb0d2e (patch)
treed9c259d0de1389e1e8624b91241e0f3498f55134 /scripts
parent8485595927e1685a8369426bda91b6a89dc2754c (diff)
mtd: spi-nor-core: Add fixups for s25fs512s
This patch adds fixups for s25fs512s to address the following issues from reading SFDP: - Non-uniform sectors by factory default. The setting needs to be checked and assign erase hook as needed. - Page size is wrongly advertised in SFDP. - READ_1_1_2 (3Bh/3Ch), READ_1_1_4 (6Bh/6Ch), and PP_1_1_4 (32h/34h) are not supported. - Bank Address Register (BAR) is not supported. In addition, volatile version of Quad Enable is used for safety. Based on patch by Takahiro Kuwano with s25fs_s_post_bfpt_fixup() updated to use 4-byte address commands instead of extended address mode and the page_size is fixed to 256 For future use, manufacturer code should be moved out from framework code as same as in Linux. Reviewed-by: Marek Vasut <[email protected]> Signed-off-by: Takahiro Kuwano <[email protected]> Signed-off-by: Hai Pham <[email protected]> Signed-off-by: Cong Dang <[email protected]> Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Jagan Teki <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions