rpi: fix PLATFORM_RASPBERRY_PI_ZERO value
Change PLATFORM_RASPBERRY_PI_ZERO into an integer to avoid build error when comparing it to integer platform_detected. Signed-off-by: Cédric Bosdonnat <cbosdonnat@suse.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
committed by
Brendan Le Foll
parent
03fb882ce2
commit
68c6a8df49
@@ -46,7 +46,7 @@
|
||||
#define PLATFORM_RASPBERRY_PI_COMPUTE_MODULE_REV_1 5
|
||||
#define PLATFORM_RASPBERRY_PI_A_PLUS_REV_1 6
|
||||
#define PLATFORM_RASPBERRY_PI2_B_REV_1 7
|
||||
#define PLATFORM_RASPBERRY_PI_ZERO "Raspberry Pi Zero"
|
||||
#define PLATFORM_RASPBERRY_PI_ZERO 8
|
||||
#define MMAP_PATH "/dev/mem"
|
||||
#define BCM2835_PERI_BASE 0x20000000
|
||||
#define BCM2835_GPIO_BASE (BCM2835_PERI_BASE + 0x200000)
|
||||
|
||||
Reference in New Issue
Block a user