summaryrefslogtreecommitdiff
path: root/src/lib/ramdetect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ramdetect.c')
-rw-r--r--src/lib/ramdetect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ramdetect.c b/src/lib/ramdetect.c
index 5416a580dd..2c83092ebc 100644
--- a/src/lib/ramdetect.c
+++ b/src/lib/ramdetect.c
@@ -19,7 +19,7 @@
#define OVERLAP(a, b, s, e) ((b) > (s) && (a) < (e))
-static int probe_mb(const uintptr_t dram_start, const uintptr_t size)
+int __weak probe_mb(const uintptr_t dram_start, const uintptr_t size)
{
uintptr_t addr = dram_start + (size * MiB) - sizeof(uint32_t);
static const uint32_t patterns[] = {