[edk2-devel] [edk2-platforms PATCH v4 2/7] Silicon/Marvell: Odyssey SmcLib

2024-05-04 Thread Narinder Dhillon
From: Narinder Dhillon This patch provides SMC call needed by Odyssey to determine size of available memory. Signed-off-by: Narinder Dhillon --- Silicon/Marvell/Library/SmcLib/SmcLib.c | 24 +++ Silicon/Marvell/Library/SmcLib/SmcLib.inf | 29 +++

[edk2-devel] [edk2-platforms PATCH v4 0/7] Silicon/Marvell/OdysseyPkg

2024-05-04 Thread Narinder Dhillon
From: Narinder Dhillon New Marvell Odyssey SoC This patchset contains only the very basic elements needed to boot to EDK2 UiApp on Marvell Odyssey SoC - ARM BL31 firmware component copies EDK2 image into memory, so it is always executing from memory - There is a SMC library to get system

[edk2-devel] [edk2-platforms PATCH v4 7/7] Silicon/Marvell: Odyssey project description files

2024-05-04 Thread Narinder Dhillon
From: Narinder Dhillon This patch adds Odyssey SoC project description and flash description files. Signed-off-by: Narinder Dhillon --- Platform/Marvell/OdysseyPkg/OdysseyPkg.dsc| 219 ++ Platform/Marvell/OdysseyPkg/OdysseyPkg.fdf| 304 +

[edk2-devel] [edk2-platforms PATCH v4 1/7] Silicon/Marvell: New Marvell Odyssey processor

2024-05-04 Thread Narinder Dhillon
From: Narinder Dhillon This patch adds helper library to initialize Odyssey SoC. Signed-off-by: Narinder Dhillon --- .../OdysseyLib/AArch64/ArmPlatformHelper.S| 97 .../Library/OdysseyLib/OdysseyLib.c | 79 ++ .../Library/OdysseyLib/OdysseyLib.inf

[edk2-devel] [edk2-platforms PATCH v4 4/7] Silicon/Marvell: Device tree driver

2024-05-04 Thread Narinder Dhillon
From: Narinder Dhillon This patch adds a device tree driver that is used to read board configuration information from a device tree. Signed-off-by: Narinder Dhillon --- .../Drivers/Fdt/FdtClientDxe/FdtClientDxe.c | 382 ++ .../Drivers/Fdt/FdtClientDxe/FdtClientDxe.inf | 43

[edk2-devel] [edk2-platforms PATCH v4 6/7] Silicon/Marvell: Command to dump device tree

2024-05-04 Thread Narinder Dhillon
From: Narinder Dhillon This patch adds an EDK2 shell command to dump configuration device tree. Signed-off-by: Narinder Dhillon --- .../Marvell/Applications/DumpFdt/DumpFdt.c| 344 ++ .../Marvell/Applications/DumpFdt/DumpFdt.inf | 52 +++

[edk2-devel] [edk2-platforms PATCH v4 3/7] Silicon/Marvell: Odyssey watchdog driver

2024-05-04 Thread Narinder Dhillon
From: Narinder Dhillon This patch adds watchdog driver for Odyssey SoC. Signed-off-by: Narinder Dhillon --- .../Drivers/Wdt/GtiWatchdogDxe/GtiWatchdog.c | 408 ++ .../Wdt/GtiWatchdogDxe/GtiWatchdogDxe.inf | 45 ++ 2 files changed, 453 insertions(+) create mode 100644

[edk2-devel] [edk2-platforms PATCH v4 5/7] Silicon/Marvell: Driver to publish device tree

2024-05-04 Thread Narinder Dhillon
From: Narinder Dhillon This patch adds driver that can provide device tree to OS if user so wishes. PCD's are used to enable this, default is not to take this action. Signed-off-by: Narinder Dhillon --- .../Drivers/Fdt/FdtPlatformDxe/FdtPlatform.c | 255 ++