*/
#include <common.h>
#include <init.h>
+#include <lmb.h>
+#include <asm/global_data.h>
DECLARE_GLOBAL_DATA_PTR;
return 0;
}
+
+static ulong get_sp(void)
+{
+ ulong ret;
+
+ asm("mov %0, sp" : "=r"(ret) : );
+ return ret;
+}
+
+void arch_lmb_reserve(struct lmb *lmb)
+{
+ arch_lmb_reserve_generic(lmb, get_sp(), gd->ram_top, 16384);
+}