From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::443; helo=mail-wr1-x443.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id BBB512194D3AE for ; Tue, 11 Dec 2018 10:35:31 -0800 (PST) Received: by mail-wr1-x443.google.com with SMTP id v13so15171288wrw.5 for ; Tue, 11 Dec 2018 10:35:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AjDXq60Bj10lM/slaVhP2ReLF2yDhFJzNGndeu8XLJI=; b=f2LwJsSzwpBFlWTRWqyG75DUpA6i82q5FoNytTW2Sqp02SF9sQ5Iz5bNPyo0VE7YCq 0PQZHdH2xDII2w7aKy0TUTrpocMAvpLeNsQ4wJnS/H5fB1VrSevlJVb27C7HM9xz4y/E O7wC79p3nRgrLWDU4uYAoAVjphzfqRWNmj+6I= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=AjDXq60Bj10lM/slaVhP2ReLF2yDhFJzNGndeu8XLJI=; b=rguCyi/E8bBoSFbJo/w6Lk9KokViabAwiJp4SeOhP5t7ZsBUesQ1s2xX00jD73uIjf fzYm6sq7feJx9Aolxmw8YbBCvHLjCnFHOAbFSUfXySYiCdr9Ie99+cZgasW0hRgLIIvj YMxLwIFG0NSOgY9zkYtVUjt0q0KX8OqUpq5IbvLrZIDk/iI6xevZFkdn96gNiLqRE4GR nDAEFGv87X/0ZijlqI92RohhZpLl3kmIlUkF0UxYPMTLIdPgZvoPl5g8NXyfFnUQvO74 x2elc/ajbo6DB2EBWLjpVMbvZzevupSYPICjBfhWKKHzHYI0w72jovp7St/iXCS6AMTP vEcA== X-Gm-Message-State: AA+aEWYooGhHUYSqcQhMGNFwTqRdIf3A5rJhhyv0qAoYdferEejEGwrl xJ9uOjVOQR2dabyewj4NiyBYTBtnP3C54Q== X-Google-Smtp-Source: AFSGD/XUvtC7kCIVLLx/HL97xPFIukExOHNLnmDbV+olZXg9wd4YRraXLcPIaDKXBOS8Yg+MeOa26w== X-Received: by 2002:a5d:4e82:: with SMTP id e2mr14055936wru.291.1544553329966; Tue, 11 Dec 2018 10:35:29 -0800 (PST) Received: from harold.home ([2a01:cb1d:112:6f00:8c3:6b9d:cbc9:58c6]) by smtp.gmail.com with ESMTPSA id h131sm1026688wmd.17.2018.12.11.10.35.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Dec 2018 10:35:29 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, alan@softiron.co.uk, Ard Biesheuvel Date: Tue, 11 Dec 2018 19:35:09 +0100 Message-Id: <20181211183514.20948-7-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181211183514.20948-1-ard.biesheuvel@linaro.org> References: <20181211183514.20948-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 Subject: [PATCH edk2-platforms 06/11] Platform/AMD/OverdriveBoard: drop DO_XGBE C preprocessor defines X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Dec 2018 18:35:32 -0000 Content-Transfer-Encoding: 8bit Now that all code relies on the PCD rather than the DO_XGBE macro, get rid of it. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Platform/AMD/OverdriveBoard/OverdriveBoard.dsc | 9 ++------- Platform/AMD/OverdriveBoard/OverdriveBoard.fdf | 2 -- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc index 3b680e22cd36..fb524cfc5490 100644 --- a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc +++ b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc @@ -17,7 +17,6 @@ ################################################################################ [Defines] -DEFINE DO_XGBE = 1 DEFINE NUM_CORES = 8 DEFINE DO_KCS = 1 DEFINE DO_FLASHER = FALSE @@ -272,8 +271,8 @@ DEFINE DO_CAPSULE = FALSE *_*_*_ASLPP_FLAGS = $(ARCHCC_FLAGS) *_*_*_ASLCC_FLAGS = $(ARCHCC_FLAGS) - GCC:*_*_AARCH64_ARCHCC_FLAGS = -DDO_XGBE=$(DO_XGBE) -DDO_KCS=$(DO_KCS) - GCC:*_*_AARCH64_PP_FLAGS = -DDO_XGBE=$(DO_XGBE) -DDO_KCS=$(DO_KCS) + GCC:*_*_AARCH64_ARCHCC_FLAGS = -DDO_KCS=$(DO_KCS) + GCC:*_*_AARCH64_PP_FLAGS = -DDO_KCS=$(DO_KCS) [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER] GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000 @@ -465,7 +464,6 @@ DEFINE DO_CAPSULE = FALSE gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE -!if $(DO_XGBE) gAmdModulePkgTokenSpaceGuid.PcdXgbeEnable|TRUE gAmdModulePkgTokenSpaceGuid.PcdPort0PhyMode|0 @@ -480,7 +478,6 @@ DEFINE DO_CAPSULE = FALSE [PcdsPatchableInModule] gAmdModulePkgTokenSpaceGuid.PcdXgbeUseMacFromIscp|TRUE gAmdModulePkgTokenSpaceGuid.PcdXgbeRev|2 -!endif [PcdsPatchableInModule] # PCIe Configuration: x4x4 @@ -654,13 +651,11 @@ DEFINE DO_CAPSULE = FALSE MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf -!if $(DO_XGBE) # # SNP support # Silicon/AMD/Styx/AmdModulePkg/SnpDxe/SnpDxePort0.inf Silicon/AMD/Styx/AmdModulePkg/SnpDxe/SnpDxePort1.inf -!endif # # Networking stack diff --git a/Platform/AMD/OverdriveBoard/OverdriveBoard.fdf b/Platform/AMD/OverdriveBoard/OverdriveBoard.fdf index b5c03034a44a..31b9e18d3c29 100644 --- a/Platform/AMD/OverdriveBoard/OverdriveBoard.fdf +++ b/Platform/AMD/OverdriveBoard/OverdriveBoard.fdf @@ -181,13 +181,11 @@ READ_LOCK_STATUS = TRUE INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf -!if $(DO_XGBE) # # SNP support # INF Silicon/AMD/Styx/AmdModulePkg/SnpDxe/SnpDxePort0.inf INF Silicon/AMD/Styx/AmdModulePkg/SnpDxe/SnpDxePort1.inf -!endif # # Networking stack -- 2.19.2