diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c index 56663fe..9f3d950 100644 --- a/arch/arm/lib/bootm.c +++ b/arch/arm/lib/bootm.c @@ -158,7 +158,7 @@ initrd_start = data->initrd_res->start; initrd_end = data->initrd_res->end; initrd_size = resource_size(data->initrd_res); - free_mem = PAGE_ALIGN(initrd_end); + free_mem = PAGE_ALIGN(initrd_end + 1); } ret = bootm_load_devicetree(data, free_mem);