bcm27xx: add bit variant to redundant RaspberryPi
Both bcm2709 and bcm2710 firmware can run on the same RaspberryPi models, varying however in 32 and 64 Bit architectures. The model name alone does not include the architecture information, which becomes problematic if looking at a overview that only contains the names. By adding a variant it is possible to tell the architecture. Signed-off-by: Paul Spooren <mail@aparcar.org>
This commit is contained in:
		 Paul Spooren
					Paul Spooren
				
			
				
					committed by
					
						 Daniel Golle
						Daniel Golle
					
				
			
			
				
	
			
			
			 Daniel Golle
						Daniel Golle
					
				
			
						parent
						
							c63908afd2
						
					
				
				
					commit
					47e089e30e
				
			| @@ -86,7 +86,14 @@ ifeq ($(SUBTARGET),bcm2708) | |||||||
| endif | endif | ||||||
|  |  | ||||||
| define Device/rpi-2 | define Device/rpi-2 | ||||||
|   DEVICE_MODEL := 2B/3B/3B+/3CM/4B |   DEVICE_MODEL := 2B/2B 1.2 | ||||||
|  |   DEVICE_VARIANT := (32bit) | ||||||
|  |   DEVICE_ALT0_VENDOR := Raspberry Pi | ||||||
|  |   DEVICE_ALT0_MODEL := 3B/3B+/3CM | ||||||
|  |   DEVICE_ALT0_VARIANT := (32bit) | ||||||
|  |   DEVICE_ALT1_VENDOR := Raspberry Pi | ||||||
|  |   DEVICE_ALT1_MODEL := 4B | ||||||
|  |   DEVICE_ALT1_VARIANT := (32bit) | ||||||
|   DEVICE_DTS := \ |   DEVICE_DTS := \ | ||||||
| 	bcm2709-rpi-2-b bcm2710-rpi-2-b \ | 	bcm2709-rpi-2-b bcm2710-rpi-2-b \ | ||||||
| 	bcm2710-rpi-3-b bcm2710-rpi-3-b-plus \ | 	bcm2710-rpi-3-b bcm2710-rpi-3-b-plus \ | ||||||
| @@ -112,7 +119,11 @@ ifeq ($(SUBTARGET),bcm2709) | |||||||
| endif | endif | ||||||
|  |  | ||||||
| define Device/rpi-3 | define Device/rpi-3 | ||||||
|   DEVICE_MODEL := 2B-1.2/3B/3B+/3CM |   DEVICE_MODEL := 3B/3B+/3CM | ||||||
|  |   DEVICE_VARIANT := (64bit) | ||||||
|  |   DEVICE_ALT0_VENDOR := Raspberry Pi | ||||||
|  |   DEVICE_ALT0_MODEL := 2B-1.2 | ||||||
|  |   DEVICE_ALT0_VARIANT := (64bit) | ||||||
|   KERNEL_IMG := kernel8.img |   KERNEL_IMG := kernel8.img | ||||||
|   DEVICE_DTS := \ |   DEVICE_DTS := \ | ||||||
| 	broadcom/bcm2710-rpi-2-b \ | 	broadcom/bcm2710-rpi-2-b \ | ||||||
| @@ -136,6 +147,7 @@ endif | |||||||
|  |  | ||||||
| define Device/rpi-4 | define Device/rpi-4 | ||||||
|   DEVICE_MODEL := 4B |   DEVICE_MODEL := 4B | ||||||
|  |   DEVICE_VARIANT := (64bit) | ||||||
|   KERNEL_IMG := kernel8.img |   KERNEL_IMG := kernel8.img | ||||||
|   DEVICE_DTS := broadcom/bcm2711-rpi-4-b |   DEVICE_DTS := broadcom/bcm2711-rpi-4-b | ||||||
|   SUPPORTED_DEVICES := \ |   SUPPORTED_DEVICES := \ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user