Introduce a new `.dev.info` section in the PPC linker script to
handle device-specific information. This section is required by
common code (common/device.c: device_init(), device_get_class() ).
This section is aligned to `POINTER_ALIGN`, with `_sdevice` and `_edevice`
marking the start and end of the section, respectively.
Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
Acked-by: Shawn Anastasio <sanastasio@raptorengineering.com>
---
Changes in V4:
- use newly refactored DT_DEV_INFO
---
Changes in V3:
- use refactored DT_DEV_INFO macros.
- Add Acked-by: Shawn Anastasio <sanastasio@raptorengineering.com>
---
xen/arch/ppc/xen.lds.S | 2 ++
1 file changed, 2 insertions(+)
diff --git a/xen/arch/ppc/xen.lds.S b/xen/arch/ppc/xen.lds.S
index 0c4b94814b..9222213484 100644
--- a/xen/arch/ppc/xen.lds.S
+++ b/xen/arch/ppc/xen.lds.S
@@ -94,6 +94,8 @@ SECTIONS
CONSTRUCTORS
} :text
+ DT_DEV_INFO(.dev.info) /* Devicetree based device info */
+
. = ALIGN(PAGE_SIZE); /* Init code and data */
__init_begin = .;
DECL_SECTION(.init.text) {
--
2.46.1