fdtdec: Reorder fdtdec_set_carveout() parameters for consistency

The fdtdec_set_carveout() function's parameters are inconsistent with
the parameters passed to fdtdec_add_reserved_memory(). Fix up the order
to make it more consistent.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
diff --git a/board/nvidia/p2371-2180/p2371-2180.c b/board/nvidia/p2371-2180/p2371-2180.c
index 5807725..bc0a133 100644
--- a/board/nvidia/p2371-2180/p2371-2180.c
+++ b/board/nvidia/p2371-2180/p2371-2180.c
@@ -138,8 +138,8 @@
 		return err;
 	}
 
-	err = fdtdec_set_carveout(dst, node, "memory-region", 0, "framebuffer",
-				  NULL, 0, &fb);
+	err = fdtdec_set_carveout(dst, node, "memory-region", 0, &fb,
+				  "framebuffer", NULL, 0);
 	if (err < 0) {
 		printf("failed to set carveout for %s: %d\n", node, err);
 		return err;
diff --git a/board/nvidia/p2771-0000/p2771-0000.c b/board/nvidia/p2771-0000/p2771-0000.c
index e35e6b6..cde5eff 100644
--- a/board/nvidia/p2771-0000/p2771-0000.c
+++ b/board/nvidia/p2771-0000/p2771-0000.c
@@ -114,8 +114,8 @@
 		return err;
 	}
 
-	err = fdtdec_set_carveout(dst, node, "memory-region", 0, "framebuffer",
-				  NULL, 0, &fb);
+	err = fdtdec_set_carveout(dst, node, "memory-region", 0, &fb,
+				  "framebuffer", NULL, 0);
 	if (err < 0) {
 		printf("failed to set carveout for %s: %d\n", node, err);
 		return err;
diff --git a/board/nvidia/p3450-0000/p3450-0000.c b/board/nvidia/p3450-0000/p3450-0000.c
index f169164..e737fc1 100644
--- a/board/nvidia/p3450-0000/p3450-0000.c
+++ b/board/nvidia/p3450-0000/p3450-0000.c
@@ -137,8 +137,8 @@
 		return err;
 	}
 
-	err = fdtdec_set_carveout(dst, node, "memory-region", 0, "framebuffer",
-				  NULL, 0, &fb);
+	err = fdtdec_set_carveout(dst, node, "memory-region", 0, &fb,
+				  "framebuffer", NULL, 0);
 	if (err < 0) {
 		printf("failed to set carveout for %s: %d\n", node, err);
 		return err;