From patchwork Fri Sep 8 18:23:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 112123 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp660767qgf; Fri, 8 Sep 2017 11:24:05 -0700 (PDT) X-Received: by 10.98.158.201 with SMTP id f70mr4143039pfk.162.1504895044978; Fri, 08 Sep 2017 11:24:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504895044; cv=none; d=google.com; s=arc-20160816; b=lr2lzGU3nezRoUftQ0pAfhtPNMQdtNUhK+BR2egEIRQYB+A3jrW8P8rlMsDVub7kZM q+rU68ux+dGMrIcj6FE0u9/vCvuGTFVibqnkGA4BAbHscdsEegdFENjdydsVVMj7byQm v2TmE7Hx/z1cpdNtWEo4134S0DDVndBJuS70SV1ooAacYARn04lP3ITT3Sj3bMtgsIef h0/S0po7hcLuD+24ZzayiT2LQMvIB840T2+F+xlqd28VTsHfmKLgaAC2diJeVdPR8uME lVR1gz5VtrxfCnK9GrqIQ+BQ9w8dXlvQgfYnrIdb9imEbEBsRCxDPaIHc+Em70ZUfwVj 3fOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=v6LkNq739vVYMRKEGWL6JD7P48oJJx3T9STATbVTs7I=; b=YIVi/AR6B9I1rUm+X9oRKCap6HYIU8Tym8z+ZftUdWfCJq22LqxKH91wNalAZn7OeN x8Ewhfgj2u6OM+2Q/tO/gSQnpCU2rC4+nTKPK5KWsyZz5/FMBZ+VnB1TUG2pbv49Zq4t Z29D/W66xg9E4RiVP+IYdI/zRH5FAi+URNVG2y7COxmcGrUmnB0CtymNxMUf80xVhdC1 Zn+crDGx9W4+jNX9lW5aX+Kb9G1WoooOMvSQPQKmHoP4dfjZHn1Tp8oRgygTQKHy0w6x wnrh28sZwaR2dF8/cbVfhz+i8tnnyB8/bAHYhl6w7Ar00VtsV5P8oU+Vq0wSfUKWaIOV mECg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Q4PPGfnW; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id t80si1895218pgb.503.2017.09.08.11.24.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Sep 2017 11:24:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Q4PPGfnW; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 4BBBD20945BF3; Fri, 8 Sep 2017 11:21:00 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received: from mail-wr0-x235.google.com (mail-wr0-x235.google.com [IPv6:2a00:1450:400c:c0c::235]) (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 C03F120945BEC for ; Fri, 8 Sep 2017 11:20:58 -0700 (PDT) Received: by mail-wr0-x235.google.com with SMTP id 108so5989302wra.5 for ; Fri, 08 Sep 2017 11:23:51 -0700 (PDT) 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; bh=y0Ast0qHxBMdw6mw0GsQ+aVKFV6lv5jiQ6gU35Pt7LQ=; b=Q4PPGfnW3rX7K1xmF5m5wHMa4YJxg4rk2XGN9f0nUOyEwSsR2LvVjM4FGQk2wlNWep kOo5QL+eKMKNwepV1o+RXzBA4b9yJY9sf6X45AwrU+s+F8gZIZC+4fhxT/IMCBO3kZ9b EdFhpI2V+vDMc3DUhdXgtMgwv9GDXFJ/mGh14= 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; bh=y0Ast0qHxBMdw6mw0GsQ+aVKFV6lv5jiQ6gU35Pt7LQ=; b=HLpzga5Fms+3RXt5O8E6yrs2edHjjH4ApXf/jc/4ihlLJQyZvB3fF5cr8EIsFphKcD nURSf+0xD+VArKoEqMhvzeJHzLZtDqlvjtDnDWaP0WqMZR1hXMUjLS0fqz1UuwtEpHsm KR0u0TnBc3AzWOKfE1ZH2Aft2RF2/wx2+991vSTLejMZUCKifmLFMIwCacxsx/PE1qfS TwJXbdXv1AAv1Ner0yKA/FdIi2nWHRQjXlg7D4vWYqDNP2S5ga648MvYvwU6pU9ZBpMJ Q90jJUrS4oTLN74hdKz46i9HBLRZItLKwVISNBLF0qI0XGZfT1/4mnsxNvhlb98wDVP2 wTdA== X-Gm-Message-State: AHPjjUidFEjkKji2M/j0IaCh6PdalFWgXFAYRSQF47NNWPZZ1czlpc80 MvaBhQzo02lPzS+lEJDoxw== X-Google-Smtp-Source: ADKCNb6sCXsfcsKAZ3skjnm8CXhG+b+3Im3UWh62kglgpB2zHetfEm+ZcgShThSs05PeVSMYmXb+Yw== X-Received: by 10.223.187.148 with SMTP id q20mr2996234wrg.34.1504895029729; Fri, 08 Sep 2017 11:23:49 -0700 (PDT) Received: from localhost.localdomain ([154.151.223.220]) by smtp.gmail.com with ESMTPSA id s196sm3254354wmb.6.2017.09.08.11.23.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Sep 2017 11:23:48 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Fri, 8 Sep 2017 19:23:10 +0100 Message-Id: <20170908182315.9591-10-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170908182315.9591-1-ard.biesheuvel@linaro.org> References: <20170908182315.9591-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH edk2-platforms 09/14] Platform/SynquacerEvalBoard: add NETSEC driver X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: masahisa.kojima@linaro.org, methavanitpong.pipat@socionext.com, masami.hiramatsu@linaro.org, leif.lindholm@linaro.org, Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Add the NETSEC driver to the SynquacerEvalBoard platform. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Platform/Socionext/SynquacerEvalBoard/SynquacerEvalBoard.dsc | 34 ++++++++++++++++++++ Platform/Socionext/SynquacerEvalBoard/SynquacerEvalBoard.fdf | 17 ++++++++++ 2 files changed, 51 insertions(+) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Platform/Socionext/SynquacerEvalBoard/SynquacerEvalBoard.dsc b/Platform/Socionext/SynquacerEvalBoard/SynquacerEvalBoard.dsc index aea39b46d91b..3d4fbc87e2fa 100644 --- a/Platform/Socionext/SynquacerEvalBoard/SynquacerEvalBoard.dsc +++ b/Platform/Socionext/SynquacerEvalBoard/SynquacerEvalBoard.dsc @@ -217,6 +217,20 @@ gArmTokenSpaceGuid.PcdGenericWatchdogControlBase|0x2a440000 gArmTokenSpaceGuid.PcdGenericWatchdogRefreshBase|0x2a450000 + # + # NETSEC Info + # + gNetsecDxeTokenSpaceGuid.PcdNetsecDxeBaseAddress|0x522D0000 + gNetsecDxeTokenSpaceGuid.PcdEepRomBase|0x10000000 + gNetsecDxeTokenSpaceGuid.PcdEncTxDescNum|128 + gNetsecDxeTokenSpaceGuid.PcdDecRxDescNum|128 + gNetsecDxeTokenSpaceGuid.PcdJumboPacket|0 + gNetsecDxeTokenSpaceGuid.PcdFlowCtrl|0 + gNetsecDxeTokenSpaceGuid.PcdFlowCtrlStartThreshold|36 + gNetsecDxeTokenSpaceGuid.PcdFlowCtrlStopThreshold|48 + gNetsecDxeTokenSpaceGuid.PcdPauseTime|256 + gNetsecDxeTokenSpaceGuid.PcdPhyDevAddr|1 + gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000 @@ -441,3 +455,23 @@ # RNG # Silicon/Openmoko/ChaosKeyDxe/ChaosKeyDxe.inf + + # + # Networking stack + # + MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf + MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf + MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf + MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf + MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf + MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf + MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf + MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf + MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf + MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf + MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf + MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf + Silicon/Socionext/Synquacer/Drivers/Net/NetsecDxe/NetsecDxe.inf { + + DmaLib|EmbeddedPkg/Library/NonCoherentDmaLib/NonCoherentDmaLib.inf + } diff --git a/Platform/Socionext/SynquacerEvalBoard/SynquacerEvalBoard.fdf b/Platform/Socionext/SynquacerEvalBoard/SynquacerEvalBoard.fdf index befad354918e..bd06adf93b3c 100644 --- a/Platform/Socionext/SynquacerEvalBoard/SynquacerEvalBoard.fdf +++ b/Platform/Socionext/SynquacerEvalBoard/SynquacerEvalBoard.fdf @@ -166,6 +166,23 @@ READ_LOCK_STATUS = TRUE # INF Silicon/Openmoko/ChaosKeyDxe/ChaosKeyDxe.inf + # + # Networking stack + # + INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf + INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf + INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf + INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf + INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf + INF MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf + INF MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf + INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf + INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf + INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf + INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf + INF MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf + INF Silicon/Socionext/Synquacer/Drivers/Net/NetsecDxe/NetsecDxe.inf + [FV.FVMAIN_COMPACT] FvAlignment = 8 ERASE_POLARITY = 1