| 8d6fb77a | 31-Dec-2023 |
Rohit Mathew <Rohit.Mathew@arm.com> |
refactor(neoverse-rd): remove soc_css.mk from common makefile
The soc_css.mk file within the plat/arm/soc module currently implements initialization functions for the PCIe controller and NIC400 with
refactor(neoverse-rd): remove soc_css.mk from common makefile
The soc_css.mk file within the plat/arm/soc module currently implements initialization functions for the PCIe controller and NIC400 within the SOC specification. However, as none of the Neoverse reference design platforms necessitate the initialization of PCIe or NIC400, remove the soc_css.mk from the common makefile.
Additionally, empty initialization functions for PCIe and NIC400 are added to satisfy the requirements of the plat/arm common code, which expects these functions to be present.
Signed-off-by: Rohit Mathew <Rohit.Mathew@arm.com> Change-Id: Ia431af62f48fc224962d64902dd3acfbf0b93935
show more ...
|
| c396c823 | 26-Feb-2024 |
Rohit Mathew <rohit.mathew@arm.com> |
refactor(neoverse-rd): move defines out of platform_def.h
Presently, the second generation platforms have direct references to CSS and ROS specific addresses within RD-N2's platform header file (pla
refactor(neoverse-rd): move defines out of platform_def.h
Presently, the second generation platforms have direct references to CSS and ROS specific addresses within RD-N2's platform header file (platform_def.h). Moreover, there are platform port specific macros defined within platform_def.h To enhance organization and appropriateness, relocate these definitions to nrd_css_def2.h, nrd_ros_def2.h and nrd_arm_platform_def1.h files accordingly. Reuse these definitions within the platform_def.h files as needed.
Additionally, remove reference to the unused PLAT_ARM_GICC_BASE macro from the individual platform_def.h file.
Signed-off-by: Rohit Mathew <rohit.mathew@arm.com> Change-Id: I9a237c3ae28d7e209188e2c37c8494b4a420ee83
show more ...
|
| 7f693bd9 | 26-Feb-2024 |
Rohit Mathew <rohit.mathew@arm.com> |
refactor(neoverse-rd): add defines for ROM, SRAM and DRAM2
In the current setup, the base and size of the ROM, SRAM, and DRAM2 regions are directly defined in the nrd_fw_def2.h file for N2 CPU based
refactor(neoverse-rd): add defines for ROM, SRAM and DRAM2
In the current setup, the base and size of the ROM, SRAM, and DRAM2 regions are directly defined in the nrd_fw_def2.h file for N2 CPU based platforms. To enhance modularity and appropriateness, introduce macros for these definitions in the respective css file (nrd_css_def2.h). While the maximum sizes for ROM, SRAM, and DRAM2 are specified in the css specification, the actual implementation sizes may vary. Consequently, relocate the size macros to the platform-specific platform_def.h file for individual platforms.
Signed-off-by: Rohit Mathew <rohit.mathew@arm.com> Change-Id: I30988bf63cf942f68188a70697cc43cb6af96a9c
show more ...
|
| 947e7872 | 19-Mar-2024 |
Rohit Mathew <rohit.mathew@arm.com> |
refactor(neoverse-rd): define naming convention for RoS macros
As part of the refactoring for the second generation platforms, introduce a naming convention for macros within nrd_ros_def2.h and nrd_
refactor(neoverse-rd): define naming convention for RoS macros
As part of the refactoring for the second generation platforms, introduce a naming convention for macros within nrd_ros_def2.h and nrd_ros_fw_def2.h. All macros, except those related to page table entries, must adhere to the format NRD_ROS_<name>. Page table entry macros are handled separately and are not part of this patch.
Signed-off-by: Rohit Mathew <rohit.mathew@arm.com> Change-Id: Ifcdc30b1c80b9848b793de2013095fc98d57bec6
show more ...
|
| 069bad71 | 18-Mar-2024 |
Rohit Mathew <rohit.mathew@arm.com> |
refactor(neoverse-rd): define naming convention for CSS macros
As part of the refactoring for the second generation of platforms, introduce a naming convention for macros within nrd_css_def2.h and n
refactor(neoverse-rd): define naming convention for CSS macros
As part of the refactoring for the second generation of platforms, introduce a naming convention for macros within nrd_css_def2.h and nrd_css_fw_def2.h. All macros, except those related to page table entries, must adhere to the format NRD_CSS_<name>. Page table entry macros are handled separately and are not part of this patch.
Signed-off-by: Rohit Mathew <rohit.mathew@arm.com> Change-Id: Ib168320e12f06cd034342c011909896de463ab27
show more ...
|
| 37f59e4e | 18-Mar-2024 |
Rohit Mathew <rohit.mathew@arm.com> |
refactor(neoverse-rd): refactor mmap macro for RoS device memory region
There are two macros that define ROS device memory map range and attributes - one for local chip and the other for remote chip
refactor(neoverse-rd): refactor mmap macro for RoS device memory region
There are two macros that define ROS device memory map range and attributes - one for local chip and the other for remote chip. Refactor these two macros into a single macro that uses the chip ID to identify the local or the remote chip.
Signed-off-by: Rohit Mathew <rohit.mathew@arm.com> Change-Id: I58eb65c2f046b6074f848f1448cd10a7dcc37f74
show more ...
|
| 9f1ba0af | 18-Mar-2024 |
Rohit Mathew <rohit.mathew@arm.com> |
refactor(neoverse-rd): refactor mmap macro for CSS device memory region
There are two macros that define CSS device memory map range and attributes - one for local chip and the other for remote chip
refactor(neoverse-rd): refactor mmap macro for CSS device memory region
There are two macros that define CSS device memory map range and attributes - one for local chip and the other for remote chip. Refactor these two macros into a single macro that uses the chip ID to identify the local or the remote chip. While at it, rename the macro that defines the memory map range and attributes for the remote shared RAM region.
Signed-off-by: Rohit Mathew <rohit.mathew@arm.com> Change-Id: Ieddd5c81f6261490dbacb97160858903e56d327a
show more ...
|
| edd480d9 | 18-Mar-2024 |
Rohit Mathew <rohit.mathew@arm.com> |
refactor(neoverse-rd): set mmap naming convention
Presently, for the second generation platforms based on the N2 CPU, macros related to page table entries lack a consistent naming convention. This a
refactor(neoverse-rd): set mmap naming convention
Presently, for the second generation platforms based on the N2 CPU, macros related to page table entries lack a consistent naming convention. This absence may lead to potential mix-ups, such as css definitions in soc files, and can contribute to decreased code clarity. To address this, establish the following naming convention:
- NRD_CSS_<name>_MMAP for CSS related page table entries - NRD_ROS_<name>_MMAP for ROS related page table entries
Signed-off-by: Rohit Mathew <rohit.mathew@arm.com> Change-Id: I7bf1f9b0ddfd0444c802a23143de6a163f127731
show more ...
|
| 13e7d35c | 18-Mar-2024 |
Rohit Mathew <rohit.mathew@arm.com> |
refactor(neoverse-rd): refactor nrd_soc_css_def_v2.h file
Continuing the refactoring of the various definition for platforms based on N2/V2 CPU, refactor the definitions in the nrd_soc_css_def_v2.h
refactor(neoverse-rd): refactor nrd_soc_css_def_v2.h file
Continuing the refactoring of the various definition for platforms based on N2/V2 CPU, refactor the definitions in the nrd_soc_css_def_v2.h file into the following files as appropriate.
- nrd_ros_def2.h: includes RoS hardware related definitions - nrd_plat_arm_def2.h: includes platform port related definitions
Signed-off-by: Rohit Mathew <rohit.mathew@arm.com> Change-Id: Ib447e67a0a42722735297b27b7f5017bc146156c
show more ...
|
| d26dae7c | 18-Mar-2024 |
Rohit Mathew <rohit.mathew@arm.com> |
refactor(neoverse-rd): refactor nrd_soc_platform_def_v2.h file
Continuing the refactoring of the various definitions for the second generation platforms based on the N2/V2 CPU, refactor the definiti
refactor(neoverse-rd): refactor nrd_soc_platform_def_v2.h file
Continuing the refactoring of the various definitions for the second generation platforms based on the N2/V2 CPU, refactor the definitions in the nrd_soc_platform_def_v2.h file into the following files as appropriate.
- nrd_ros_def2.h: includes RoS hardware related definitions - nrd_ros_fw_def2.h: includes RoS firmware related definitions - nrd_plat_arm_def2.h: includes platform port related definitions
RoS (Rest Of System) is used to refer to the part of the reference design platform that excludes CSS. The file inclusions in the platform_def.h file of the platforms have been updated accordingly.
Signed-off-by: Rohit Mathew <rohit.mathew@arm.com> Change-Id: I393e6f4a84be45f1781ea281bd55fa813803f6db
show more ...
|
| 01a27ecc | 26-Feb-2024 |
Rohit Mathew <rohit.mathew@arm.com> |
refactor(neoverse-rd): refactor nrd_base_platform_def.h
The nrd_base_platform_def.h file includes CSS, RoS, firmware and platform port related definitions. This approach of consolidating the various
refactor(neoverse-rd): refactor nrd_base_platform_def.h
The nrd_base_platform_def.h file includes CSS, RoS, firmware and platform port related definitions. This approach of consolidating the various definitions for multiple generation of platforms into the nrd_base_platform_def.h file is not scaling well.
So in preparation of moving away from the use of nrd_base_platform_def.h file for the second generation platforms based on N2/V2 CPUs, split the definitions in this file into multiple include files. The new files into which the definitions are refactored are -
- nrd_css_def2.h: includes CSS hardware related definitions - nrd_css_fw_def2.h: includes CSS firmware related definitions - nrd_ros_fw_def2.h: includes RoS firmware related definitions - nrd_plat_arm_def2.h: includes platform port elated definitions
RoS (Rest Of System) is used to refer to the part of the reference design platform that excludes CSS. The definitions that are only relavant to the aforementioned platforms have been refactored from the nrd_base_platform_def.h file.
Signed-off-by: Rohit Mathew <rohit.mathew@arm.com> Change-Id: I45f680857328fa77f0977897490b225bdb29efe4
show more ...
|