commit | 3cddff471a7c5ada2770bd5c3e928e85fe2d037d | [log] [tgz] |
---|---|---|
author | Nico Huber <nico.h@gmx.de> | Sun Oct 20 15:18:53 2024 +0200 |
committer | Nico Huber <nico.h@gmx.de> | Sun Feb 23 12:05:52 2025 +0000 |
tree | 2a2b5b44965fbbf695ee172d9bd0ac032b841fb5 | |
parent | 34e3de6f9e89801eb34927bc372a084e934042f2 [diff] [blame] |
flashchips: Complete Boya/BoHong BY25D family Except for the sizes, the datasheets look the same. All chips support dual-output fast reads. There is some overlap with the BY25Q family, but given the small sizes (2MiB max.), it doesn't seem worthwhile to add additional entries for these chips. The block protection of the BY25Ds is rather peculiar, hence not con- figured: It looks like hardcoded CMP=1, SEC=1 with 8KiB sectors and no 32KiB limit. Datasheets used: http://en.boyamicro.com/download/SPI_NOR_Flash/BY25D05AS.pdf http://en.boyamicro.com/download/SPI_NOR_Flash/BY25D10AS.pdf http://en.boyamicro.com/download/SPI_NOR_Flash/BY25D20AS.pdf http://en.boyamicro.com/download/SPI_NOR_Flash/BY25D40AS.pdf http://en.boyamicro.com/download/SPI_NOR_Flash/BY25D40ES.pdf http://en.boyamicro.com/download/SPI_NOR_Flash/BY25D80AS.pdf http://en.boyamicro.com/download/SPI_NOR_Flash/BY25D16AS.pdf http://en.boyamicro.com/download/SPI_NOR_Flash/BY25Q80BS.pdf http://en.boyamicro.com/download/SPI_NOR_Flash/BY25Q80ES.pdf http://en.boyamicro.com/download/SPI_NOR_Flash/BY25Q16BS.pdf http://en.boyamicro.com/download/SPI_NOR_Flash/BY25Q16ES.pdf Change-Id: Ie3f8578c152fcedd3ccb60873018d92e1dc80876 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/281 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
diff --git a/include/flashchips.h b/include/flashchips.h index dc0eab8..d86aa5d 100644 --- a/include/flashchips.h +++ b/include/flashchips.h
@@ -209,7 +209,12 @@ /* Boya/BoHong Microelectronics Inc. */ #define BOYA_BOHONG_ID 0x68 -#define BOYA_BOHONG_B_25D16A 0x4015 +#define BOYA_BOHONG_B_25D05AS 0x4010 +#define BOYA_BOHONG_B_25D10AS 0x4011 +#define BOYA_BOHONG_B_25D20AS 0x4012 +#define BOYA_BOHONG_B_25D40AS 0x4013 +#define BOYA_BOHONG_B_25D80AS 0x4014 /* Same as BY25Q80* */ +#define BOYA_BOHONG_B_25D16AS 0x4015 /* Same as BY25Q16* */ #define BOYA_BOHONG_B_25Q128AS 0x4018 /* Bright Microelectronics has the same manufacturer ID as Hyundai... */