<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2-platforms.git/Platform/ARM/JunoPkg, 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:31:20+00:00</updated>
<entry>
<title>Platform,Silicon: drop redundant uses of PcdArmArchTimerFreqInHz</title>
<updated>2024-06-21T11:31:20+00:00</updated>
<author>
<name>Leif Lindholm</name>
<email>quic_llindhol@quicinc.com</email>
</author>
<published>2024-06-20T10:11:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=b29e69a688d6154a84df725cee38273553062160'/>
<id>urn:sha1:b29e69a688d6154a84df725cee38273553062160</id>
<content type='text'>
PcdArmArchTimerFreqInHz is about to be removed, as it is now obsolete.
Some platforms already explicitly set it to 0, which is the default.
And some modules reference it in their .inf without actually ever
using it.

Drop these redundant uses first.

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: Meenakshi Aggarwal &lt;meenakshi.aggarwal@nxp.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;
Cc: Wenyi Xie &lt;xiewenyi2@huawei.com&gt;
Signed-off-by: Leif Lindholm &lt;quic_llindhol@quicinc.com&gt;
Reviewed-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
Reviewed-by: Nhi Pham &lt;nhi@os.amperecomputing.com&gt;
</content>
</entry>
<entry>
<title>Platform/ARM: Add optional provision to fetch and print NOR Flash info</title>
<updated>2024-05-29T15:45:55+00:00</updated>
<author>
<name>sahil</name>
<email>sahil@arm.com</email>
</author>
<published>2024-05-29T08:55:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=ed8969bc7bbff30c3b9d725789cbba997721e25e'/>
<id>urn:sha1:ed8969bc7bbff30c3b9d725789cbba997721e25e</id>
<content type='text'>
This patch adds an optional functionality in NorFlashDxe to fetch and
print NOR Flash information from NorFlashInfoLib using its JEDEC ID.

NOR Flash libraries will implement a function "NorFlashReadID" which
will fetch and return JEDEC ID. This JEDEC ID can be then printed
along with the NOR Flash info by NorFlashInfoLib. If this functionality
is not needed then the function can just return EFI_UNSUPPORTED.

Signed-off-by: sahil &lt;sahil@arm.com&gt;
Reviewed-by: Pierre Gondois &lt;pierre.gondois@arm.com&gt;
Reviewed-by: levi.yun &lt;yeoreum.yun@arm.com&gt;
Reviewed-by: Sami Mujawar &lt;sami.mujawar@arm.com&gt;
</content>
</entry>
<entry>
<title>Platform/ARM/NorFlashDxe: Switch from NorFlash.c to NorFlashDeviceLib</title>
<updated>2024-05-29T15:45:54+00:00</updated>
<author>
<name>sahil</name>
<email>sahil@arm.com</email>
</author>
<published>2024-05-29T08:55:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=44c4c207aeaa9f315ce7cf14fbd0cdbacd2dfdc4'/>
<id>urn:sha1:44c4c207aeaa9f315ce7cf14fbd0cdbacd2dfdc4</id>
<content type='text'>
NorFlashDeviceLib can be used to provide implementations of different
NOR Flash to NorFlashDxe, i.e. NorFlashDxe links with NorFlashDeviceLib
and the platforms can specify their respective NorFlashDeviceLib
instances.

This patch adds the following major changes:

1. Adds changes in NorFlashDxe to look for NorFlashDeviceLib instead of
NorFlash.c for flash specific implementation

2. Remove NorFlash.c and NorFlash.h as they are no longer required.

3. Add changes to platform description files to provide
P30NorFlashDeviceLib as NorFlashDeviceLib

Signed-off-by: sahil &lt;sahil@arm.com&gt;
Reviewed-by: Pierre Gondois &lt;pierre.gondois@arm.com&gt;
Reviewed-by: levi.yun &lt;yeoreum.yun@arm.com&gt;
Reviewed-by: Sami Mujawar &lt;sami.mujawar@arm.com&gt;
</content>
</entry>
<entry>
<title>Platform/ARM: Juno: Generate _CPC objects for JunoR2</title>
<updated>2024-01-30T14:15:55+00:00</updated>
<author>
<name>Pierre Gondois</name>
<email>pierre.gondois@arm.com</email>
</author>
<published>2024-01-29T12:08:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=d9070fb98d5d5cd9fb861ceed7653b9a0d6c3309'/>
<id>urn:sha1:d9070fb98d5d5cd9fb861ceed7653b9a0d6c3309</id>
<content type='text'>
The SsdtCpuTopologyGenerator can generate _CPC objects.
This is done by querying the SCP for the relevant performance
state information through SCMI. CM_ARM_CPC_INFO are then populated
and used to generate _CPC objects in the Ssdt Cpu topology.

Use the DynamicTablesScmiInfoLib and add the handling to generate
_CPC information.

Note that using _CPC is only possible if SCP is correctly tuned
to advertise performance levels on an abstract and unified scale.
A basic check is done to prevent the _CPC generation otherwise.

Perf level values used for testing:
- little CPUs OPPs: [181, 322, 383] * 1000
- big CPUs OPPs: [512, 833, 1024] * 1000

Also make use of the newly added PcdDevelopmentPlatformRelaxations
and add a new ENABLE_CPC build parameter ('-D ENABLE_CPC') to enable
CPC generation.

Signed-off-by: Pierre Gondois &lt;pierre.gondois@arm.com&gt;
Reviewed-by: Sami Mujawar &lt;sami.mujawar@arm.com&gt;
</content>
</entry>
<entry>
<title>Platform/ARM: Juno: Generate _PSD objects</title>
<updated>2024-01-30T14:06:48+00:00</updated>
<author>
<name>Pierre Gondois</name>
<email>pierre.gondois@arm.com</email>
</author>
<published>2024-01-29T12:08:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=29dfaefcbb21cc0f21b7fb8237de1f6137764492'/>
<id>urn:sha1:29dfaefcbb21cc0f21b7fb8237de1f6137764492</id>
<content type='text'>
The SsdtCpuTopologyGenerator can generate _PSD objects.
Add _PSD information and handling to the Configuration Manager
to generate them.

Reviewed-by: Sami Mujawar &lt;sami.mujawar@arm.com&gt;
Signed-off-by: Pierre Gondois &lt;pierre.gondois@arm.com&gt;
</content>
</entry>
<entry>
<title>Platform/ARM: Juno: Fix typo</title>
<updated>2024-01-30T14:06:48+00:00</updated>
<author>
<name>Pierre Gondois</name>
<email>pierre.gondois@arm.com</email>
</author>
<published>2024-01-29T12:08:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=d7f0d0c78029ded6996cf81ef5d4bd613bd9914c'/>
<id>urn:sha1:d7f0d0c78029ded6996cf81ef5d4bd613bd9914c</id>
<content type='text'>
Fix a typo.

Reviewed-by: Sami Mujawar &lt;sami.mujawar@arm.com&gt;
Signed-off-by: Pierre Gondois &lt;pierre.gondois@arm.com&gt;
</content>
</entry>
<entry>
<title>Platform/Arm: Disable memmap platform timers for JunoR0</title>
<updated>2023-09-11T11:16:38+00:00</updated>
<author>
<name>Sami Mujawar</name>
<email>sami.mujawar@arm.com</email>
</author>
<published>2023-06-07T15:25:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=fc22c0e6970924ab77c1cbb7127bf71f233a995a'/>
<id>urn:sha1:fc22c0e6970924ab77c1cbb7127bf71f233a995a</id>
<content type='text'>
Juno includes a system-level wakeup timer which is an implementation
of the ARM Generic Timer architecture.
The CNTCTL frame contains some registers that are accessible using a
Non-Secure access. Juno R0 incorrectly limits these accesses to Secure
access only. This issue is documented in the Juno Errata
832219: APB port security breaks SBSA compliance
https://developer.arm.com/documentation/epm008857/latest

This results in a crash when the OS tries to access these registers.
Therefore, disable memory mapped platform timers for Juno R0.

Cc: Ard Biesheuvel &lt;ardb+tianocore@kernel.org&gt;
Cc: Thomas Abraham &lt;thomas.abraham@arm.com&gt;
Cc: Sudeep Holla &lt;Sudeep.Holla@arm.com&gt;

Signed-off-by: Sami Mujawar &lt;sami.mujawar@arm.com&gt;
Reported-by: Sudeep Holla &lt;Sudeep.Holla@arm.com&gt;
Tested-by: Sudeep Holla &lt;Sudeep.Holla@arm.com&gt;
Reviewed-by: Pierre Gondois &lt;pierre.gondois@arm.com&gt;
</content>
</entry>
<entry>
<title>Platform/ARM/JunoPkg: Enable the NOOPT build</title>
<updated>2023-04-12T11:27:45+00:00</updated>
<author>
<name>Rebecca Cran</name>
<email>rebecca@bsdio.com</email>
</author>
<published>2023-04-11T13:46:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=9ca87c716f8a6d12ba7c5baa5b868344032f981a'/>
<id>urn:sha1:9ca87c716f8a6d12ba7c5baa5b868344032f981a</id>
<content type='text'>
Enable the NOOPT build for the Juno platform. This is useful for
source-level debugging.

Signed-off-by: Rebecca Cran &lt;rebecca@bsdio.com&gt;
</content>
</entry>
<entry>
<title>Platform/ARM/JunoPkg: Bump the FV size to 2MB</title>
<updated>2023-04-12T11:27:38+00:00</updated>
<author>
<name>Rebecca Cran</name>
<email>rebecca@bsdio.com</email>
</author>
<published>2023-04-11T13:46:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=e702edbb394fad404d82646fac429903d5d67e70'/>
<id>urn:sha1:e702edbb394fad404d82646fac429903d5d67e70</id>
<content type='text'>
Increase the FV size from 996KB to 2MB. This allows more features to be
accommodated in the firmware image, such as HTTPS boot. It also allows a
NOOPT build to be added, which is useful for source-level debugging.

Add a comment explaining that the size chosen doesn't reflect the actual
size of the Flash Device but is instead selected to reduce the amount of
time needed to copy the image to the target.

Update the BlockSize and NumBlocks to reflect the 256KB block size of
the main area on the Juno R2.

Signed-off-by: Rebecca Cran &lt;rebecca@bsdio.com&gt;
</content>
</entry>
<entry>
<title>Platform/ARM/JunoPkg: Set PcdArmArchTimerFreqInHz to 0 to read from CNTFRQ_EL0</title>
<updated>2023-02-21T08:46:18+00:00</updated>
<author>
<name>Rebecca Cran</name>
<email>rebecca@quicinc.com</email>
</author>
<published>2023-02-21T01:02:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=e20ee6e3a65dca6242bd983b1169f309dc733795'/>
<id>urn:sha1:e20ee6e3a65dca6242bd983b1169f309dc733795</id>
<content type='text'>
If PcdArmArchTimerFreqInHz is zero, the value of the timer frequency
will be read from CNTFRQ_EL0. Avoid hard-coding the value in ArmJuno.dsc
and instead let the ArmArchTimerLib driver read it from the SoC.

Signed-off-by: Rebecca Cran &lt;rebecca@quicinc.com&gt;
Reviewed-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
</content>
</entry>
</feed>
