sdm845Pkg: Library: sdm845Lib: sdm845Helper.S: save fdt address
This commit is contained in:
parent
d315c5c4e7
commit
8dc1d36bab
@ -26,6 +26,8 @@ startlabel:
|
||||
bne docopy
|
||||
ret
|
||||
docopy:
|
||||
mov x10, FixedPcdGet64 (DeviceTreeStore)
|
||||
str x0, [x10] // oh my fdt
|
||||
// find our start address by getting our expected offset, then subtracting it from our actual address
|
||||
ldr x6, =FixedPcdGet64 (PcdFdBaseAddress)
|
||||
sub x5, x5, x6 // x5 now holds offset of ArmPlatformPeiBootAction from start of FD base
|
||||
|
@ -44,3 +44,4 @@
|
||||
gArmTokenSpaceGuid.PcdSystemMemorySize
|
||||
gArmTokenSpaceGuid.PcdFdBaseAddress
|
||||
gArmTokenSpaceGuid.PcdFdSize
|
||||
gsdm845PkgTokenSpaceGuid.DeviceTreeStore
|
||||
|
@ -63,3 +63,5 @@
|
||||
gsdm845PkgTokenSpaceGuid.PcdDeviceVendor|"Qualcomm"|VOID*|0x0000a301
|
||||
gsdm845PkgTokenSpaceGuid.PcdDeviceProduct|"Snapdragon 845 Device"|VOID*|0x0000a302
|
||||
gsdm845PkgTokenSpaceGuid.PcdDeviceCodeName|"sdm845"|VOID*|0x0000a303
|
||||
|
||||
gsdm845PkgTokenSpaceGuid.DeviceTreeStore|0x83300000|UINT64|0x0000a501
|
||||
|
Loading…
Reference in New Issue
Block a user