From 68c6a8df4952c5206f4a28d4d3b5a89df93b0a7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= Date: Wed, 22 Feb 2017 10:04:33 +0100 Subject: [PATCH] rpi: fix PLATFORM_RASPBERRY_PI_ZERO value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Brendan Le Foll --- src/arm/raspberry_pi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arm/raspberry_pi.c b/src/arm/raspberry_pi.c index 84b35bf..1d675ac 100644 --- a/src/arm/raspberry_pi.c +++ b/src/arm/raspberry_pi.c @@ -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)