mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
firmware: zynqmp: Store driver data in data section
Store the driver data in the data section to make the data usable before relocation. Additionally mark the driver data static to restrict the access. Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Link: https://lore.kernel.org/r/20230523124215.30915-5-stefan.herbrechtsmeier-oss@weidmueller.com Signed-off-by: Michal Simek <michal.simek@amd.com>
This commit is contained in:
committed by
Michal Simek
parent
ec4739775a
commit
497322436d
@@ -23,10 +23,10 @@
|
||||
#define XST_PM_NO_ACCESS 2002L
|
||||
#define XST_PM_ALREADY_CONFIGURED 2009L
|
||||
|
||||
struct zynqmp_power {
|
||||
static struct zynqmp_power {
|
||||
struct mbox_chan tx_chan;
|
||||
struct mbox_chan rx_chan;
|
||||
} zynqmp_power = {};
|
||||
} zynqmp_power __section(".data");
|
||||
|
||||
#define NODE_ID_LOCATION 5
|
||||
|
||||
|
||||
Reference in New Issue
Block a user