From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:4010:c07::242; helo=mail-lf0-x242.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-lf0-x242.google.com (mail-lf0-x242.google.com [IPv6:2a00:1450:4010:c07::242]) (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 A228F209831EA for ; Fri, 13 Jul 2018 01:12:33 -0700 (PDT) Received: by mail-lf0-x242.google.com with SMTP id a134-v6so26451765lfe.6 for ; Fri, 13 Jul 2018 01:12:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4xVjUC5Zz/Ns+a8DbrJpbgKHs7eiuKY0WO9b2UZDMtY=; b=SmdzJ7rf0/GT1I7/1oJHQdb6xLsepRT/GycAUHN2ucRcobAReSdoqBg0oEUrFEQFfU E4xpWG3HFxrbb2dnUbIru+fQ2FcRrMOfkH0vTkS1BNt9NGZbWHystNYOfRER9sEGVBc9 OPrexyqz8SuarEAwp6mvypUE7kbXmYfqZ2R4rkOAHY76MdKXvA9XCqcxOMqhNxNk7976 s0hneWlhG3aSfSPe7x30gvGo6UXJD0upciTxV9/uV+nRaA48uiUYno1IzzNzZeCzUqzP EdAcKGI6AM8vmvNnRutpIkrf/ORT4pB9bWLkju2vEV5xZ1MMYKR3kD4DFTRmCjkXKhWg 07jQ== 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=4xVjUC5Zz/Ns+a8DbrJpbgKHs7eiuKY0WO9b2UZDMtY=; b=H9k4mwhQeChiQdchqef81pRHXV70BC9HPjXlHoG4oeuHUIGgiTjKUoV4JM300I9dUv tntDjAiBOwp5tW404ZK9S/eC+jP7zinSQUSb14iZFt9tDExPFJL0yl/paav/9o7oABCP WKrsMoln1yr59Zz1f48Y4SoDxMk+JJ2BgwQ6JnE8qNwmzxRcNqXyYrYKIuJ/OPaps/QY yF6JlQIvsKTtNjJA6FPB4UpQzSZAd5Ig/BGYaJOpdkyx7/tZkuGhvZi0nc17KtYZgXwI Gbewnj3pYzNxlAtq5gFBuhX8ebHwV+3wipi4BxJ/jgZg6I9jNnbjC+GOS95V59pISIP3 BIlw== X-Gm-Message-State: AOUpUlFQbtQwccGPWSWfgkj3acjZJBR6x0m+MLQ5TQPm+HE/HOpJgQu/ LSSZWsCWYG4AARK0wLDACaMYQIRMYW8= X-Google-Smtp-Source: AAOMgpehc27f6xDv3zesrjlazEhAEyYR99dLVyRogedBGrQRLItEgMRzwY4oQux4m6sI56edVfNvZw== X-Received: by 2002:a19:6801:: with SMTP id d1-v6mr4401597lfc.8.1531469551631; Fri, 13 Jul 2018 01:12:31 -0700 (PDT) Received: from gilgamesh.semihalf.com (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id m29-v6sm6485484lfj.45.2018.07.13.01.12.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 13 Jul 2018 01:12:30 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, ard.biesheuvel@linaro.org, nadavh@marvell.com, hannah@marvell.com, mw@semihalf.com, jsd@semihalf.com, jaz@semihalf.com Date: Fri, 13 Jul 2018 10:12:13 +0200 Message-Id: <1531469533-31787-7-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1531469533-31787-1-git-send-email-mw@semihalf.com> References: <1531469533-31787-1-git-send-email-mw@semihalf.com> Subject: [platforms: PATCH v2 6/6] Marvell/Armada7k8k: Enable ICU configuration X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2018 08:12:34 -0000 This patch enables the ICU (Interrupt Consolidation Unit) configuration in the common platform initialization driver. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marcin Wojtas Reviewed-by: Ard Biesheuvel --- Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc | 1 + Silicon/Marvell/Armada7k8k/Drivers/PlatInitDxe/PlatInitDxe.inf | 1 + Silicon/Marvell/Armada7k8k/Drivers/PlatInitDxe/PlatInitDxe.c | 2 ++ 3 files changed, 4 insertions(+) diff --git a/Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc b/Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc index a9d67a2..27b14ed 100644 --- a/Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc +++ b/Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc @@ -32,6 +32,7 @@ #SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # [LibraryClasses.common] + ArmadaIcuLib|Silicon/Marvell/Library/IcuLib/IcuLib.inf ArmadaSoCDescLib|Silicon/Marvell/Armada7k8k/Library/Armada7k8kSoCDescLib/Armada7k8kSoCDescLib.inf ArmPlatformLib|Silicon/Marvell/Armada7k8k/Library/Armada7k8kLib/Armada7k8kLib.inf ComPhyLib|Silicon/Marvell/Library/ComPhyLib/ComPhyLib.inf diff --git a/Silicon/Marvell/Armada7k8k/Drivers/PlatInitDxe/PlatInitDxe.inf b/Silicon/Marvell/Armada7k8k/Drivers/PlatInitDxe/PlatInitDxe.inf index 803dc6e..5503463 100644 --- a/Silicon/Marvell/Armada7k8k/Drivers/PlatInitDxe/PlatInitDxe.inf +++ b/Silicon/Marvell/Armada7k8k/Drivers/PlatInitDxe/PlatInitDxe.inf @@ -30,6 +30,7 @@ Silicon/Marvell/Marvell.dec [LibraryClasses] + ArmadaIcuLib ComPhyLib DebugLib MppLib diff --git a/Silicon/Marvell/Armada7k8k/Drivers/PlatInitDxe/PlatInitDxe.c b/Silicon/Marvell/Armada7k8k/Drivers/PlatInitDxe/PlatInitDxe.c index 1efad77..18b6783 100644 --- a/Silicon/Marvell/Armada7k8k/Drivers/PlatInitDxe/PlatInitDxe.c +++ b/Silicon/Marvell/Armada7k8k/Drivers/PlatInitDxe/PlatInitDxe.c @@ -12,6 +12,7 @@ **/ +#include #include #include #include @@ -40,6 +41,7 @@ ArmadaPlatInitDxeEntryPoint ( MvComPhyInit (); UtmiPhyInit (); MppInitialize (); + ArmadaIcuInitialize (); return EFI_SUCCESS; } -- 2.7.4