brcm63xx: fix lzma loader for BCM6362
BCM6362 and BCM3380 seem to share the same PRID. Disable serial output
for them until we can find a way to tell them apart reliably.
Fixes: 8f3cfe4ba2 ("brcm63xx: lzma-loader: add BCM3380 support")
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
			
			
This commit is contained in:
		@@ -71,7 +71,7 @@ void board_init(void)
 | 
				
			|||||||
		if ((prid & 0xff) == 0x04)
 | 
							if ((prid & 0xff) == 0x04)
 | 
				
			||||||
			chipid_reg = 0xfff8c000;
 | 
								chipid_reg = 0xfff8c000;
 | 
				
			||||||
		else if ((prid & 0xff) == 0x70)
 | 
							else if ((prid & 0xff) == 0x70)
 | 
				
			||||||
			chipid_reg = 0xb4e00000;
 | 
								return;	/* FIXME: 0002a070 can be 6362 and 3380 */
 | 
				
			||||||
		else if ((prid & 0xff) >= 0x30)
 | 
							else if ((prid & 0xff) >= 0x30)
 | 
				
			||||||
			chipid_reg = 0xb0000000;
 | 
								chipid_reg = 0xb0000000;
 | 
				
			||||||
		else
 | 
							else
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user