soc: arm64: intel_socfpga: changes in system_manager
SOCFPGA_SYSMGR_REG_BASE base address now read from Device tree This commit changes the way the SOCFPGA_SYSMGR_REG_BASE base address is determined. Previously, the address was hard-coded in the system_manager source file. This commit changes the code to read the address from the Device tree. This makes the code more flexible and allows the base address to be different for different boards. Signed-off-by: Navinkumar Balabakthan <navinkumar.balabakthan@intel.com>
This commit is contained in:
parent
b26a4bf31c
commit
05c38cb2f5
@ -8,7 +8,7 @@
|
||||
#define SOCFPGA_SYSTEMMANAGER_H
|
||||
|
||||
/* System Manager Register Map */
|
||||
#define SOCFPGA_SYSMGR_REG_BASE 0xffd12000
|
||||
#define SOCFPGA_SYSMGR_REG_BASE DT_REG_ADDR(DT_NODELABEL(sysmgr))
|
||||
|
||||
#define SOCFPGA_SYSMGR_SDMMC 0x28
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user