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::243; helo=mail-lf0-x243.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-lf0-x243.google.com (mail-lf0-x243.google.com [IPv6:2a00:1450:4010:c07::243]) (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 537022267F0F5 for ; Sun, 15 Apr 2018 22:09:49 -0700 (PDT) Received: by mail-lf0-x243.google.com with SMTP id q9-v6so20117353lfk.9 for ; Sun, 15 Apr 2018 22:09:49 -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=6Iv/bP+MdKht7p90MJRLNV3paUHWS7e2ecV8glY6l+Q=; b=fLtyKcsQc9MWHDJXQm9HraoZmp1LKxcV6Yz1OG8VJ6dEiqp/pHs7lwSgwUBPlcghDn TC7r/6KSr0rcbjQ7i3NCm5ouutLVpnYw944SIdJ8JkvxgocTCFr8sNThf8GZKLtQGje0 +TSqcSs+CQnJKnvLT+KQn11UNG9Olao9Bdkrw3tQ/NkD0nWrsd3a0ssFxgM1KZ3Q10WB K7YxA/Y1aXVm7js0mYQ5wElVC57Wxj8cXmR4Inch9ckU/FlT8gBNu04dsnLRgnbKWX5A nwHT9yTw/vY6kHRpZjVISaAlgY1FX/EBEEdM8xU6xDzIc7ZQ73lVUF0QQolhRx8GwK0p QpHQ== 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=6Iv/bP+MdKht7p90MJRLNV3paUHWS7e2ecV8glY6l+Q=; b=Wx7WnONrwlN1iLI6VZj3k7BqD1qYTm+8uYlgtcbEoj3kNV05z0nR6dG/RTBhcUtBGK 0TP03ZojTesKitEzYlto5cCrv59ynKGE4xxETEmteqXDdFObNcMnTW835a3Txc3R/eKz be8kaEv+Hcvu9f7WAwf2pfzImt3FASUe0iH4VYjxG/5hjhwTO93oRjU/0n99S4fg2M+W ZdC7Y/8hBBpi3QTv7zIWa/0We367QCoLYNrhTMifxklR7ConQ8vNW3RoZcN42/oK/eO6 331zA1QusqkAQhkXRaaTo7tVV4lpV6EQhv3r0yUnXJ39BdfwFvzdfl+eXbQRgcNXIMIC EFaA== X-Gm-Message-State: ALQs6tBFNAy8x6CqChkal0bxwz0dqOfq1DMKoEZePYWam5PzJaCg4x4W LkSsIhCUyuyc8poPjjZG1jIvNmTc+54= X-Google-Smtp-Source: AIpwx4/ZQ1EeBIGJ8Q4qaPdmKdPxqCiWeZWtUdfae/VNMw1k1lBAqkuLR69bxygdaRRRJJvV3tAI+w== X-Received: by 10.46.151.70 with SMTP id f6mr2812127ljj.140.1523855387320; Sun, 15 Apr 2018 22:09:47 -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 d27-v6sm2683717lfb.6.2018.04.15.22.09.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 15 Apr 2018 22:09:46 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, ard.biesheuvel@linaro.org, nadavh@marvell.com, neta@marvell.com, jinghua@marvell.com, mw@semihalf.com, jsd@semihalf.com, jaz@semihalf.com Date: Mon, 16 Apr 2018 07:09:13 +0200 Message-Id: <1523855353-9262-3-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1523855353-9262-1-git-send-email-mw@semihalf.com> References: <1523855353-9262-1-git-send-email-mw@semihalf.com> Subject: [platforms PATCH 2/2] Marvell/Armada: RealTimeClockLib: Depend on gEfiCpuArchProtocolGuid X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2018 05:09:49 -0000 Recent changes in the EDK2 mainline resulted in breaking RTC functionality of Armada platforms. The RealTimeClockLib instance calls gDS->SetMemorySpaceAttributes() in the LibRtcInitialize() public function. This DXE service depends on the CPU Arch Protocol. Add it to the depex. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marcin Wojtas --- Silicon/Marvell/Armada7k8k/Library/RealTimeClockLib/RealTimeClockLib.inf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Silicon/Marvell/Armada7k8k/Library/RealTimeClockLib/RealTimeClockLib.inf b/Silicon/Marvell/Armada7k8k/Library/RealTimeClockLib/RealTimeClockLib.inf index 2f842e8..59c71c4 100644 --- a/Silicon/Marvell/Armada7k8k/Library/RealTimeClockLib/RealTimeClockLib.inf +++ b/Silicon/Marvell/Armada7k8k/Library/RealTimeClockLib/RealTimeClockLib.inf @@ -25,7 +25,7 @@ FILE_GUID = fa81e889-045b-4c96-9093-742554fd0588 MODULE_TYPE = BASE VERSION_STRING = 1.0 - LIBRARY_CLASS = RealTimeClockLib + LIBRARY_CLASS = RealTimeClockLib|DXE_RUNTIME_DRIVER [Sources.common] RealTimeClockLib.c @@ -50,3 +50,6 @@ [Pcd] gMarvellTokenSpaceGuid.PcdRtcEnabled + +[Depex.common.DXE_RUNTIME_DRIVER] + gEfiCpuArchProtocolGuid -- 2.7.4