<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2-platforms.git/Silicon/Marvell, branch CodeCleanup</title>
<subtitle>EDK II sample platform branches and tags (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2-platforms.git/atom?h=CodeCleanup</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/atom?h=CodeCleanup'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/'/>
<updated>2024-06-21T11:28:46+00:00</updated>
<entry>
<title>Platform/SbsaQemu: fix .dsc line endings</title>
<updated>2024-06-21T11:28:46+00:00</updated>
<author>
<name>Leif Lindholm</name>
<email>quic_llindhol@quicinc.com</email>
</author>
<published>2024-06-20T10:05:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=901d6e59b9a65ccc434ce67575564b59c201164f'/>
<id>urn:sha1:901d6e59b9a65ccc434ce67575564b59c201164f</id>
<content type='text'>
A patch adding a mapping for ImagePropertiesRecordLib introduced a bunch of
LF line endings in otherwise CRLF files, so clean that up.

Cc: Ard Biesheuvel &lt;ardb+tianocore@kernel.org&gt;
Cc: Chuong Tran &lt;chuong@os.amperecomputing.com&gt;
Cc: Graeme Gregory &lt;graeme@xora.org.uk&gt;
Cc: Marcin Juszkiewicz &lt;marcin.juszkiewicz@linaro.org&gt;
Cc: Marcin Wojtas &lt;marcin.s.wojtas@gmail.com&gt;
Cc: Meenakshi Aggarwal &lt;meenakshi.aggarwal@nxp.com&gt;
Cc: Narinder Dhillon &lt;ndhillon@marvell.com&gt;
Cc: Nhi Pham &lt;nhi@os.amperecomputing.com&gt;
Cc: Rebecca Cran &lt;rebecca@os.amperecomputing.com&gt;
Cc: Sami Mujawar &lt;sami.mujawar@arm.com&gt;
Cc: Thomas Abraham &lt;thomas.abraham@arm.com&gt;
Signed-off-by: Leif Lindholm &lt;quic_llindhol@quicinc.com&gt;
Reviewed-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
Reviewed-by: Marcin Juszkiewicz &lt;marcin.juszkiewicz@linaro.org&gt;
</content>
</entry>
<entry>
<title>Silicon/Marvell/Armada7k8k: Add ImagePropertiesRecordLib Instance</title>
<updated>2023-12-01T08:07:32+00:00</updated>
<author>
<name>Taylor Beebe</name>
<email>taylor.d.beebe@gmail.com</email>
</author>
<published>2023-12-01T00:34:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=4cd6927d1f332c46a38110770fd76f81c7e8a846'/>
<id>urn:sha1:4cd6927d1f332c46a38110770fd76f81c7e8a846</id>
<content type='text'>
ImagePropertiesRecordLib is used by DxeMain and PiSmmCore, so it
needs to be added to most platforms.

Signed-off-by: Taylor Beebe &lt;taylor.d.beebe@gmail.com&gt;
Cc: Marcin Wojtas &lt;mw@semihalf.com&gt;
Cc: Leif Lindholm &lt;quic_llindhol@quicinc.com&gt;
</content>
</entry>
<entry>
<title>multiple Arm platforms: set WritePolicyValid for all cache types</title>
<updated>2023-11-22T15:12:53+00:00</updated>
<author>
<name>Marcin Juszkiewicz</name>
<email>marcin.juszkiewicz@linaro.org</email>
</author>
<published>2023-11-15T12:46:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=10e2eb030de3fa96433009465aab6eff0f199117'/>
<id>urn:sha1:10e2eb030de3fa96433009465aab6eff0f199117</id>
<content type='text'>
acpiview complains:

ERROR: On Arm based systems, all cache properties must be provided in
the cache type structure. Missing 'Write Policy Valid' flag.

ACPI specification says:

&gt; Set to 1 if the write policy attribute described is valid. A value
&gt; of 0 indicates that, where possible, processor architecture specific
&gt; discovery mechanisms should be used to ascertain the value of this
&gt; attribute.

Signed-off-by: Marcin Juszkiewicz &lt;marcin.juszkiewicz@linaro.org&gt;
Reviewed-by: Leif Lindholm &lt;quic_llindhol@quicinc.com&gt;
</content>
</entry>
<entry>
<title>Silicon/Marvell: Restructure package</title>
<updated>2023-11-16T17:09:52+00:00</updated>
<author>
<name>Narinder Dhillon</name>
<email>ndhillon@marvell.com</email>
</author>
<published>2023-11-02T03:45:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=ec5de71d83f3a6327c90887456782d15565e6e36'/>
<id>urn:sha1:ec5de71d83f3a6327c90887456782d15565e6e36</id>
<content type='text'>
Current Marvell package structure makes it difficult to add new silicon
packages that reuse common elements without creating nested DEC files.

This patch creates a new MarvellSiliconPkg folder and moves the current
common elements inside it.

Also gMarvellTokenSpaceGuid has been renamed to
gMarvellSiliconTokenSpaceGuid to align with new package name.

Signed-off-by: Narinder Dhillon &lt;ndhillon@marvell.com&gt;
Reviewed-by: Leif Lindholm &lt;quic_llindhol@quicinc.com&gt;
</content>
</entry>
<entry>
<title>Silicon/Marvell/RealTimeClockLib: remove superfluous instance init steps</title>
<updated>2023-10-24T13:19:17+00:00</updated>
<author>
<name>Laszlo Ersek</name>
<email>lersek@redhat.com</email>
</author>
<published>2023-10-20T12:19:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=d8945e541f7d2ed48718c1c618c603e9c7f9df76'/>
<id>urn:sha1:d8945e541f7d2ed48718c1c618c603e9c7f9df76</id>
<content type='text'>
RealTimeClockLib instances are consumed by edk2's
EmbeddedPkg/RealTimeClockRuntimeDxe driver. In its entry point function
InitializeRealTimeClock(), the driver:

(1) calls LibRtcInitialize(),

(2) sets the GetTime(), SetTime(), GetWakeupTime() and SetWakeupTime()
    runtime services to its own similarly-named functions -- where those
    functions wrap the corresponding RealTimeClockLib APIs,

(3) installs EFI_REAL_TIME_CLOCK_ARCH_PROTOCOL with a NULL protocol
    interface.

Steps (2) and (3) conform to PI v1.8 sections II-9.7.2.4 through
II-9.7.2.7.

However, this means that LibRtcInitialize() (of any RealTimeClockLib
instance) should not itself (a) set the GetTime(), SetTime(),
GetWakeupTime() and SetWakeupTime() runtime services, nor (b) install
EFI_REAL_TIME_CLOCK_ARCH_PROTOCOL. The runtime service pointers will be
overwritten in step (2) anyway, and step (3) will uselessly install a
second (NULL-interface) EFI_REAL_TIME_CLOCK_ARCH_PROTOCOL instance in the
protocol database. (The protocol only serves to notify the DXE Foundation
about said runtime services being available.)

Clean up Silicon/Marvell/RealTimeClockLib accordingly (it only has code
that's redundant for step (3); it does not try to set "gRT" fields).

(Note that the lib instance INF file already does not list
gEfiRealTimeClockArchProtocolGuid.)

Build-tested only (with "Armada70x0Db.dsc").

Cc: Leif Lindholm &lt;quic_llindhol@quicinc.com&gt;
Cc: Marcin Wojtas &lt;mw@semihalf.com&gt;
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=4565
Signed-off-by: Laszlo Ersek &lt;lersek@redhat.com&gt;
Message-Id: &lt;20231020121903.44986-6-lersek@redhat.com&gt;
Acked-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
</content>
</entry>
<entry>
<title>Armada7k8k/RealTimeClockLib: hide LibRtcVirtualNotifyEvent</title>
<updated>2023-10-13T10:11:57+00:00</updated>
<author>
<name>Laszlo Ersek</name>
<email>lersek@redhat.com</email>
</author>
<published>2023-10-12T09:09:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=7e4b91ce9cd9ebe85eba1c6d8438522d45e4aaac'/>
<id>urn:sha1:7e4b91ce9cd9ebe85eba1c6d8438522d45e4aaac</id>
<content type='text'>
The RealTimeClockLib class header in edk2 mistakenly declares a function
called LibRtcVirtualNotifyEvent(). No component ever calls this function
crossing module boundaries; all RealTimeClockLib instances in edk2 and
edk2-platforms are supposed to register (and do register) their
SetVirtualAddressMap() notification functions.

Rename LibRtcVirtualNotifyEvent() to VirtualNotifyEvent(), and make it
static, in preparation for removing the LibRtcVirtualNotifyEvent()
declaration from the lib class header later. Also hoist the function
definition above the reference.

Build-tested only, with the following platforms:

- Platform/Marvell/Armada70x0Db/Armada70x0Db.dsc
- Platform/Marvell/Armada80x0Db/Armada80x0Db.dsc
- Platform/SolidRun/Armada80x0McBin/Armada80x0McBin.dsc
- Platform/SolidRun/Cn913xCEx7Eval/Cn913xCEx7Eval.dsc

("Platform/Marvell/Cn913xDb/Cn913xDbA.dsc" fails to build regardless:
"build" complains that
"Silicon/Marvell/OcteonTx/DeviceTree/T91/$(PLATFORM_NAME).inf" is missing,
and as far as I can see, not even the
"Silicon/Marvell/OcteonTx/DeviceTree" directory exists.)

Cc: Leif Lindholm &lt;quic_llindhol@quicinc.com&gt;
Cc: Marcin Wojtas &lt;mw@semihalf.com&gt;
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=4564
Signed-off-by: Laszlo Ersek &lt;lersek@redhat.com&gt;
Reviewed-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
</content>
</entry>
<entry>
<title>Silicon/Marvell: Fix setting I2cStatus in MvI2cEnableConf</title>
<updated>2023-05-10T22:36:50+00:00</updated>
<author>
<name>Rebecca Cran</name>
<email>rebecca@bsdio.com</email>
</author>
<published>2023-05-10T15:34:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=1f8ff3b1c03fab1fc5af285c2d939904e560c1c2'/>
<id>urn:sha1:1f8ff3b1c03fab1fc5af285c2d939904e560c1c2</id>
<content type='text'>
Fix setting I2cStatus in MvI2cEnableConf.

Signed-off-by: Rebecca Cran &lt;rebecca@bsdio.com&gt;
Reviewed-by: Marcin Wojtas &lt;mw@semihalf.com&gt;
</content>
</entry>
<entry>
<title>Silicon/Armada7k8k: Use MdeModulePkg's SataControllerDxe</title>
<updated>2023-05-10T06:15:13+00:00</updated>
<author>
<name>Pedro Falcato</name>
<email>pedro.falcato@gmail.com</email>
</author>
<published>2023-05-09T16:14:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=42a677e992d294c92ddeac0df9128c90810c5b1b'/>
<id>urn:sha1:42a677e992d294c92ddeac0df9128c90810c5b1b</id>
<content type='text'>
As part of an effort to remove OvmfPkg/SataControllerDxe, switch to the
generic version in MdeModulePkg.

Cc: Leif Lindholm &lt;quic_llindhol@quicinc.com&gt;
Cc: Marcin Wojtas &lt;mw@semihalf.com&gt;
Signed-off-by: Pedro Falcato &lt;pedro.falcato@gmail.com&gt;
Acked-by: Ard Biesheuvel &lt;ardb+tianocore@kernel.org&gt;
</content>
</entry>
<entry>
<title>Silicon/Marvell: Drop use of NONSECURE ARM memory region type</title>
<updated>2023-02-15T18:34:24+00:00</updated>
<author>
<name>Ard Biesheuvel</name>
<email>ardb@kernel.org</email>
</author>
<published>2023-02-13T08:14:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=f5bca45953a6c3d9e3e98394970e08dde6ad1ced'/>
<id>urn:sha1:f5bca45953a6c3d9e3e98394970e08dde6ad1ced</id>
<content type='text'>
The ARM memory region types with the NONSECURE qualification should only
be used in places where this makes a difference, i.e., in the secure
world. The Marvell firmware generally runs at EL2, which is non-secure
only (in ARM v8.0) so the NONSECURE marking is unnecessary here, and
should be dropped.

Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
Reviewed-by: Leif Lindholm &lt;quic_llindhol@quicinc.com&gt;
</content>
</entry>
<entry>
<title>Marvell: Add VariableFlashInfoLib</title>
<updated>2022-06-10T09:16:57+00:00</updated>
<author>
<name>Marcin Wojtas</name>
<email>mw@semihalf.com</email>
</author>
<published>2022-06-09T23:51:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=242e681ed8edc4f92ebd3aef91655477d06aecb2'/>
<id>urn:sha1:242e681ed8edc4f92ebd3aef91655477d06aecb2</id>
<content type='text'>
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3479

This patch adds an instance for the library class VariableFlashInfoLib
that was recently introduced in MdeModulePkg. This change is made to
allow the new variable driver to build that has a dependency on
this library class and does not require any further platform changes.

Signed-off-by: Marcin Wojtas &lt;mw@semihalf.com&gt;
Reviewed-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
Reviewed-by: Sunny Wang &lt;sunny.wang@arm.com&gt;
</content>
</entry>
</feed>
