summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@foss.st.com>2021-03-10 10:16:25 +0100
committerTom Rini <trini@konsulko.com>2021-04-22 14:09:45 -0400
commit77b8cfef531f7758f35a8598bd474713cfc2c2ec (patch)
tree7a8b7d2a94a4b5b8ca06203d744cdf1f55ce0663 /include
parent6829d60702706b95a7271fbf3db1981c7ce9e6b5 (diff)
lmb: move CONFIG_LMB in Kconfig
Migrate CONFIG_LMB in Kconfig. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/10m50_devboard.h5
-rw-r--r--include/configs/3c120_devboard.h5
-rw-r--r--include/configs/sandbox.h2
-rw-r--r--include/configs/x86-common.h2
-rw-r--r--include/image.h2
5 files changed, 1 insertions, 15 deletions
diff --git a/include/configs/10m50_devboard.h b/include/configs/10m50_devboard.h
index 768b4a6dfc3..3ffc744928f 100644
--- a/include/configs/10m50_devboard.h
+++ b/include/configs/10m50_devboard.h
@@ -35,11 +35,6 @@
#define CONFIG_BOOTP_BOOTFILESIZE
/*
- * FDT options
- */
-#define CONFIG_LMB
-
-/*
* MEMORY ORGANIZATION
* -Monitor at top of sdram.
* -The heap is placed below the monitor
diff --git a/include/configs/3c120_devboard.h b/include/configs/3c120_devboard.h
index 30bbd716b20..3f065ff315c 100644
--- a/include/configs/3c120_devboard.h
+++ b/include/configs/3c120_devboard.h
@@ -35,11 +35,6 @@
#define CONFIG_BOOTP_BOOTFILESIZE
/*
- * FDT options
- */
-#define CONFIG_LMB
-
-/*
* MEMORY ORGANIZATION
* -Monitor at top of sdram.
* -The heap is placed below the monitor
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 6e79d3f56ee..8eeccdd4264 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -22,8 +22,6 @@
#define CONFIG_SYS_TIMER_RATE 1000000
#endif
-#define CONFIG_LMB
-
#define CONFIG_HOST_MAX_DEVICES 4
/*
diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h
index 641ed2c5ecd..f186dd6b823 100644
--- a/include/configs/x86-common.h
+++ b/include/configs/x86-common.h
@@ -16,8 +16,6 @@
*/
#define CONFIG_PHYSMEM
-#define CONFIG_LMB
-
#define CONFIG_SYS_BOOTM_LEN (16 << 20)
/* SATA AHCI storage */
diff --git a/include/image.h b/include/image.h
index 3ff3c035a78..459685d4d43 100644
--- a/include/image.h
+++ b/include/image.h
@@ -434,7 +434,7 @@ typedef struct bootm_headers {
#define BOOTM_STATE_OS_GO (0x00000400)
int state;
-#ifdef CONFIG_LMB
+#if defined(CONFIG_LMB) && !defined(USE_HOSTCC)
struct lmb lmb; /* for memory mgmt */
#endif
} bootm_headers_t;