 6a57e1fbfc
			
		
	
	6a57e1fbfc
	
	
	
		
			
			Automatically refreshed: apm821xx/patches-5.10/802-usb-xhci-force-msi-renesas-xhci.patch ath79/patches-5.10/410-spi-ath79-Implement-the-spi_mem-interface.patch bcm63xx/patches-5.10/143-gpio-fix-device-tree-gpio-hogs-on-dual-role-gpio-pin.patch generic/pending-5.10/465-m25p80-mx-disable-software-protection.patch ipq806x/patches-5.10/0069-arm-boot-add-dts-files.patch ipq806x/patches-5.10/101-dwmac-ipq806x-qsgmii-pcs-all-ch-ctl.patch ipq806x/patches-5.10/106-5.13-net-stmmac-Set-FIFO-sizes-for-ipq806x.patch Deleted (empty or reverse-appliable): ath79/patches-5.10/411-spi-ath79-add-SPI_MASTER_GPIO_SS-flag.patch ath79/patches-5.10/0050-spi-ath79-remove-spi-master-setup-and-cleanup-assign.patch ath79/patches-5.10/0054-spi-sync-up-initial-chipselect-state.patch Manually refreshed: ath79/patches-5.10/0033-spi-ath79-drop-pdata-support.patch Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
		
			
				
	
	
		
			19 lines
		
	
	
		
			573 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			573 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| From: Felix Fietkau <nbd@nbd.name>
 | |
| Subject: Disable software protection bits for Macronix flashes.
 | |
| 
 | |
| Signed-off-by: Felix Fietkau <nbd@nbd.name>
 | |
| ---
 | |
|  drivers/mtd/spi-nor/spi-nor.c | 1 +
 | |
|  1 file changed, 1 insertion(+)
 | |
| 
 | |
| --- a/drivers/mtd/spi-nor/macronix.c
 | |
| +++ b/drivers/mtd/spi-nor/macronix.c
 | |
| @@ -93,6 +93,7 @@ static void macronix_default_init(struct
 | |
|  {
 | |
|  	nor->params->quad_enable = spi_nor_sr1_bit6_quad_enable;
 | |
|  	nor->params->set_4byte_addr_mode = spi_nor_set_4byte_addr_mode;
 | |
| +	nor->flags |= SNOR_F_HAS_LOCK;
 | |
|  }
 | |
|  
 | |
|  static const struct spi_nor_fixups macronix_fixups = {
 |