Adding a unit test for fdt_get_boot_params, and fakes to support it.

Bug: 114733240
Change-Id: I87db5e69e257a9b806fc23020d38a304c045e400
diff --git a/src/fdt_handler.c b/src/fdt_handler.c
index 91a17d8..8fa84c9 100644
--- a/src/fdt_handler.c
+++ b/src/fdt_handler.c
@@ -280,7 +280,7 @@
 
 	/* Patch fdt to reserve primary VM memory. */
 	{
-		size_t tmp = (size_t)&plat_update_boot_params;
+		size_t tmp = (size_t)&fdt_patch;
 		tmp = (tmp + 0x80000 - 1) & ~(0x80000 - 1);
 		fdt_add_mem_reservation(fdt, tmp & ~0xfffff, 0x80000);
 	}