From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) by mx.groups.io with SMTP id smtpd.web12.352.1660892422687597506 for ; Fri, 19 Aug 2022 00:00:22 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=QJOMHY8T; spf=pass (domain: linaro.org, ip: 209.85.216.42, mailfrom: masahisa.kojima@linaro.org) Received: by mail-pj1-f42.google.com with SMTP id s3-20020a17090a2f0300b001facfc6fdbcso3347657pjd.1 for ; Fri, 19 Aug 2022 00:00:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=2FZNKhdFdpxSeMPNfZb7Mg6RtUGPWAFjBpmrBAfcrNQ=; b=QJOMHY8TRv/fTWKjgyVmxf+YXY7cNc8j4LKXfZFOdUzl4xR8VUs5WPrN7ySxCPo0TF Ht/UXdPWWeIHBkSaVjlQSg1cLtCHstn0K9LGBj1IH7FucP9fvyudSMb7xHUQU0MCX035 QIkakzJ3Jfiz2cd1w5Clzwt/u7Imp5+vM3lKdIs1b98S8eBN3GMvdL2LHi6KPZ9kkSxv gg1954QA6kZDmNtpMlm5HFoO+/6vuGPvN8ZNlU7S3nQilFdtnKgLqMH8jU1Qe21aMOGE NNWpMbWC6QAPy91OcpanUbJx8aJYqPSkxR1hRVR5DFK5eDEKmJ54SWOa+j7nfeZC9hFd lVxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=2FZNKhdFdpxSeMPNfZb7Mg6RtUGPWAFjBpmrBAfcrNQ=; b=L+Sz+YQ/LfQyOXhvr5XzRZLAFlI+ljSaZliG37J3Ivl1hsx/+PdZQ+MrgPBKSA+iN6 Ut+HMEDQR2ievTho4st7/rAXlab1gq8oZqGJMweb+omImUSqtUeTGBT4poRhdksqowFf oqNVAGdJHo+X4IXvnG+sK3G3D6yXIy+jIfQrgUXYdiCFXaAx/CeQektVVIgtKzn1fszA dZLhq6OOC2ShRGbbl5af11fZmTgUWHadv2VUpB9sJJURi9vaoBXn3kB5nxhxA0gvzqxo gWfxTDqMFkoaHjj7QGPd5MER4OuytUHsHZDjcNOxLD+ns2G0824UanSoE4vhWPsnaJOg +47g== X-Gm-Message-State: ACgBeo1XNXXYXpAODNFL+C4gB1/UlPCpXHT23y8gezqyZo8knvtyCCdN iMdvVAgsVuYlZ7NWHS0N3zLVX2QwsSqO1w== X-Google-Smtp-Source: AA6agR7FVVvCI20sHlIw5RTplMZ5B2WnTXuBu3MckutNvregcluBnx4+tkTo2+Y/pVhcV21kjGGp0Q== X-Received: by 2002:a17:90b:350a:b0:1f5:6a5e:5d12 with SMTP id ls10-20020a17090b350a00b001f56a5e5d12mr12714934pjb.46.1660892422002; Fri, 19 Aug 2022 00:00:22 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([240d:1a:cf7:5800:82fa:5bff:fe4b:26b1]) by smtp.gmail.com with ESMTPSA id k1-20020a170902c40100b00172a670607asm2501142plk.300.2022.08.19.00.00.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Aug 2022 00:00:21 -0700 (PDT) From: "Masahisa Kojima" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Leif Lindholm , Jassi Brar , Masahisa Kojima Subject: [PATCH edk2-platforms 1/1] Silicon/SynQuacer/PlatformDxe: set ACPI as default hardware description Date: Fri, 19 Aug 2022 16:00:14 +0900 Message-Id: <20220819070014.17247-1-masahisa.kojima@linaro.org> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Since ACPI is well supported on SynQuacer platform, set ACPI as default hardware description. Only changing the "DEFAULT" flags from ACPIPREF_DT to ACPIPREF_ACPI does not work as expected, this commit also replaces the value of ACPIPREF_DT and ACPIPREF_ACPI. Signed-off-by: Masahisa Kojima --- Silicon/Socionext/SynQuacer/Include/Platform/VarStore.h | 4 ++-- Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxeHii.vfr | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Silicon/Socionext/SynQuacer/Include/Platform/VarStore.h b/Silicon/Socionext/SynQuacer/Include/Platform/VarStore.h index 6ac63e64ecbd..271a340e74b4 100644 --- a/Silicon/Socionext/SynQuacer/Include/Platform/VarStore.h +++ b/Silicon/Socionext/SynQuacer/Include/Platform/VarStore.h @@ -16,8 +16,8 @@ #define PCIE_MAX_SPEED_UNLIMITED 0x0 #define PCIE_MAX_SPEED_GEN1 0x1 -#define ACPIPREF_DT 0x0 -#define ACPIPREF_ACPI 0x1 +#define ACPIPREF_ACPI 0x0 +#define ACPIPREF_DT 0x1 typedef struct { UINT8 EnableEmmc; diff --git a/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxeHii.vfr b/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxeHii.vfr index 6707687b279a..6e6c89c3eccd 100644 --- a/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxeHii.vfr +++ b/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxeHii.vfr @@ -61,8 +61,8 @@ formset prompt = STRING_TOKEN(STR_DT_ACPI_SELECT_PROMPT), help = STRING_TOKEN(STR_DT_ACPI_SELECT_HELP), flags = NUMERIC_SIZE_1 | INTERACTIVE | RESET_REQUIRED, - option text = STRING_TOKEN(STR_DT_ACPI_SELECT_DT), value = ACPIPREF_DT, flags = DEFAULT; - option text = STRING_TOKEN(STR_DT_ACPI_SELECT_ACPI), value = ACPIPREF_ACPI, flags = 0; + option text = STRING_TOKEN(STR_DT_ACPI_SELECT_ACPI), value = ACPIPREF_ACPI, flags = DEFAULT; + option text = STRING_TOKEN(STR_DT_ACPI_SELECT_DT), value = ACPIPREF_DT, flags = 0; endoneof; subtitle text = STRING_TOKEN(STR_NULL_STRING); -- 2.17.1