feat(manifest): disallow overlap with `load-address`
Disallow overlaps between memory regions and `load-address`, unless the
memory region is relative.
Change-Id: I78a788925f97bdc056711b21371d63d8b8eb32d8
Signed-off-by: Karl Meakin <karl.meakin@arm.com>
diff --git a/inc/hf/boot_params.h b/inc/hf/boot_params.h
index 56f2bd8..02a9b4b 100644
--- a/inc/hf/boot_params.h
+++ b/inc/hf/boot_params.h
@@ -8,22 +8,11 @@
#pragma once
-#include <stdbool.h>
-
-#include "hf/arch/cpu.h"
-
-#include "hf/fdt.h"
-#include "hf/mm.h"
-#include "hf/mpool.h"
+#include "hf/mem_range.h"
#define MAX_MEM_RANGES 20
#define MAX_DEVICE_MEM_RANGES 10
-struct mem_range {
- paddr_t begin;
- paddr_t end;
-};
-
struct boot_params {
cpu_id_t cpu_ids[MAX_CPUS];
size_t cpu_count;