From c10e72b4943d065a4d3641fbde62716c457a1cce Mon Sep 17 00:00:00 2001 From: Chuckduey Date: Sat, 25 Apr 2020 13:07:44 -0600 Subject: [PATCH] Added V1.2 for Pi 4 2GB and 4GB Signed-off-by: Chuckduey --- src/arm/raspberry_pi.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/arm/raspberry_pi.c b/src/arm/raspberry_pi.c index 5a73538..da72cd4 100644 --- a/src/arm/raspberry_pi.c +++ b/src/arm/raspberry_pi.c @@ -504,8 +504,9 @@ mraa_raspberry_pi() b->phy_pin_count = MRAA_RASPBERRY_PI3_A_PLUS_PINCOUNT; peripheral_base = BCM2837_PERI_BASE; block_size = BCM2837_BLOCK_SIZE; - } else if (strstr(line, "a03111") || strstr(line, "b03111") || - strstr(line, "c03111")) { + } else if (strstr(line, "a03111") || + strstr(line, "b03111") || strstr(line, "b03112") || + strstr(line, "c03111") || strstr(line, "c03112")) { b->platform_name = PLATFORM_NAME_RASPBERRY_PI4_B; platform_detected = PLATFORM_RASPBERRY_PI4_B; b->phy_pin_count = MRAA_RASPBERRY_PI4_B_PINCOUNT;