app/aboot: Fix the ramdisk address to be added in the dt or atag.
The ramdisk address that needs to updated in the dt or atags
should be a PA.
CRs-Fixed: 419899
Change-Id: I0ae4f1454ed21e0c989adadc1f162898397df466
diff --git a/app/aboot/aboot.c b/app/aboot/aboot.c
index f4c2b10..5b03052 100644
--- a/app/aboot/aboot.c
+++ b/app/aboot/aboot.c
@@ -384,7 +384,9 @@
{
int ret = 0;
void (*entry)(unsigned, unsigned, unsigned*) = (entry_func_ptr*)(PA((addr_t)kernel));
- uint32_t tags_phys = platform_get_virt_to_phys_mapping((addr_t)tags);
+ uint32_t tags_phys = PA((addr_t)tags);
+
+ ramdisk = PA(ramdisk);
#if DEVICE_TREE
/* Update the Device Tree */