From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f196.google.com (mail-il1-f196.google.com [209.85.166.196]) by mx.groups.io with SMTP id smtpd.web11.18019.1605435938224271734 for ; Sun, 15 Nov 2020 02:25:38 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZCqHdhL+; spf=pass (domain: gmail.com, ip: 209.85.166.196, mailfrom: andrey.warkentin@gmail.com) Received: by mail-il1-f196.google.com with SMTP id k1so12469295ilc.10 for ; Sun, 15 Nov 2020 02:25:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7B3ddS7cc0jeIO+8uv6yzN9FsEPlAMY2E5Iw5k4tBaA=; b=ZCqHdhL+SuI6fRmBMdv4+o+PBZba90jyYM7O0rzNcW7fZUX4KCHKsiMC2dpEwbkoa1 4iA0NpuXQWeID/Afk1zIyFeN9hI0pPdzJEpGjCOeMzYC4S0SeZsYQq744oHhKk/qJuzY nHr521iY6Co1A2tZOebvbnUJYBbwcioRRzezRsvv9WLde7tuHWbZzqtW9t41eZEBxgZ/ OkMFS0ZGYBBFeLV5QP5yXv5w5yO6PJ9Rz7FZlsNm0u/v1inqoEOluefTF+xtEuP6Kgk7 Rc/btrp3ihJDxcFG4QLSGIIeSyQTe6UMf6/2rHZh3fw+48p5Ji5vSfscPZ1PuIQG1vTd vPrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7B3ddS7cc0jeIO+8uv6yzN9FsEPlAMY2E5Iw5k4tBaA=; b=ZELGVS9NbW47A/N0jbI14e4FcpeyWMbfPLzB6s7oxJplSlQBEEt3dypxhHHYHjWPd2 Jacf1Elf6F4uGQxzK8BcBEO+r8FUWyXE8yh3fIB0Sip2JNjEB17iYXRQRAT76yyqpZJ6 QLYXJ1GtkYCGYsSKHZKFrQLOBj2jqTttiDo80Acnj12IL6CjFKN3zJvyq0zui2bJtdqn x192VcP71fEt5cKcSzJPdMNpA1nJxUrT3qPn7fHY7nrAYlRBwDqRP0AOngXt8iDE7wbB JwPr9/GiQITyWspOUp8/zMgOZ88gZJwsVtr8UglC1LfjTo+CUbrcwkmrBypljCZ8pSng SPTQ== X-Gm-Message-State: AOAM531hAUKso6jD3XMPvlFpZZdjxa6WP1kN2aj26Y0VZedgkXVT9/Vh j7azNpgVnr8ZclvLhdrL/uW+YKPK4AATaQ== X-Google-Smtp-Source: ABdhPJyX8qxFT8E5dJAv1ejUORWeh1kq/SN9oAA/Qq+j9mQlow0RF7DX1nQg+DHeiAYOzyZZxVGNiQ== X-Received: by 2002:a05:6e02:544:: with SMTP id i4mr2532401ils.196.1605435937464; Sun, 15 Nov 2020 02:25:37 -0800 (PST) Return-Path: Received: from localhost.localdomain (c-98-214-99-181.hsd1.il.comcast.net. [98.214.99.181]) by smtp.gmail.com with ESMTPSA id i82sm7919027ill.84.2020.11.15.02.25.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Nov 2020 02:25:36 -0800 (PST) From: "Andrei Warkentin" To: devel@edk2.groups.io Cc: ard.biesheuvel@arm.com, leif@nuviainc.com, pete@akeo.ie, philmd@redhat.com Subject: [edk2-platforms][PATCH 1/1] Platforms/RaspberryPi: add CM4 and 400 as BCM2711 designs Date: Sun, 15 Nov 2020 04:25:27 -0600 Message-Id: <20201115102527.2993-1-andrey.warkentin@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Like the Pi 4B, the 3GB/4GB choices apply to it as well. Signed-off-by: Andrei Warkentin --- Platform/RaspberryPi/Drivers/RpiFirmwareDxe/RpiFirmwareDxe.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Platform/RaspberryPi/Drivers/RpiFirmwareDxe/RpiFirmwareDxe.c b/Platform/RaspberryPi/Drivers/RpiFirmwareDxe/RpiFirmwareDxe.c index 5302ccd8..ade91c9f 100644 --- a/Platform/RaspberryPi/Drivers/RpiFirmwareDxe/RpiFirmwareDxe.c +++ b/Platform/RaspberryPi/Drivers/RpiFirmwareDxe/RpiFirmwareDxe.c @@ -596,6 +596,10 @@ RpiFirmwareGetModelName ( return "Raspberry Pi Compute Module 3+"; case 0x11: return "Raspberry Pi 4 Model B"; + case 0x13: + return "Raspberry Pi 400"; + case 0x14: + return "Raspberry Pi Compute Module 4"; default: return "Unknown Raspberry Pi Model"; } @@ -670,6 +674,8 @@ RPiFirmwareGetModelFamily ( *ModelFamily = 3; break; case 0x11: // Raspberry Pi 4 Model B + case 0x13: // Raspberry Pi 400 + case 0x14: // Raspberry Pi Computer Module 4 *ModelFamily = 4; break; default: -- 2.20.1