driver/spi/eon.c: Add EN25F80
TESTED on ASUS P5QPL-AM (writes MRC_CACHE) Change-Id: I5aebe4703a033a0f0226f405d8933b12f3af136f Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/30249 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
		
				
					committed by
					
						 Patrick Georgi
						Patrick Georgi
					
				
			
			
				
	
			
			
			
						parent
						
							2397bafec5
						
					
				
				
					commit
					ba5e70e967
				
			| @@ -30,6 +30,7 @@ | ||||
| #define EON_ID_EN25Q128		0x3018 | ||||
| #define EON_ID_EN25Q64		0x3017 | ||||
| #define EON_ID_EN25S64		0x3817 | ||||
| #define EON_ID_EN25F80		0x3114 | ||||
|  | ||||
| struct eon_spi_flash_params { | ||||
| 	u16 id; | ||||
| @@ -65,6 +66,14 @@ static const struct eon_spi_flash_params eon_spi_flash_table[] = { | ||||
| 		.nr_sectors = 2048, | ||||
| 		.name = "EN25S64", | ||||
| 	}, | ||||
| 	{ | ||||
| 		.id = EON_ID_EN25F80, | ||||
| 		.page_size = 256, | ||||
| 		.pages_per_sector = 16, | ||||
| 		.sectors_per_block = 16, | ||||
| 		.nr_sectors = 256, | ||||
| 		.name = "EN25F80", | ||||
| 	}, | ||||
| }; | ||||
|  | ||||
| static int eon_write(const struct spi_flash *flash, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user