mirror of
				https://review.coreboot.org/flashrom.git
				synced 2025-10-31 05:10:41 +01:00 
			
		
		
		
	Declare special commands to support the Atmel AT25F512A
Corresponding to flashrom svn r353 and coreboot v2 svn r3781. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
This commit is contained in:
		
							
								
								
									
										5
									
								
								spi.h
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								spi.h
									
									
									
									
									
								
							| @@ -29,6 +29,11 @@ | |||||||
| #define JEDEC_RDID_OUTSIZE	0x01 | #define JEDEC_RDID_OUTSIZE	0x01 | ||||||
| #define JEDEC_RDID_INSIZE	0x03 | #define JEDEC_RDID_INSIZE	0x03 | ||||||
|  |  | ||||||
|  | /* AT25F512A has bit 3 as don't care bit in commands */ | ||||||
|  | #define AT25F512A_RDID		0x15 | ||||||
|  | #define AT25F512A_RDID_OUTSIZE	0x01 | ||||||
|  | #define AT25F512A_RDID_INSIZE	0x02 | ||||||
|  |  | ||||||
| /* Read Electronic Manufacturer Signature */ | /* Read Electronic Manufacturer Signature */ | ||||||
| #define JEDEC_REMS		0x90 | #define JEDEC_REMS		0x90 | ||||||
| #define JEDEC_REMS_OUTSIZE	0x04 | #define JEDEC_REMS_OUTSIZE	0x04 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Carl-Daniel Hailfinger
					Carl-Daniel Hailfinger