Patchwork [09/14] Bump PROM_CLAIM_MAX_ADDR to 256MB

login
register
mail settings
Submitter Anton Blanchard
Date July 9, 2010, 5:03 a.m.
Message ID <20100709050342.169751737@samba.org>
Download mbox | patch
Permalink /patch/58332/
State Changes Requested
Headers show

Comments

Anton Blanchard - July 9, 2010, 5:03 a.m.
A number of machines are failing to boot because firmware takes up a
significant amount of the first 128MB. Bump our maximum to 256MB since these
boxes almost always have a 256MB RMO region.

Signed-off-by: Anton Blanchard <anton@samba.org>
---

Patch

Index: yaboot/include/prom.h
===================================================================
--- yaboot.orig/include/prom.h	2010-07-07 14:02:00.000000000 +1000
+++ yaboot/include/prom.h	2010-07-07 14:02:06.000000000 +1000
@@ -37,7 +37,7 @@  typedef void *phandle;
 #define PROM_INVALID_HANDLE	((prom_handle)-1UL)
 #define BOOTDEVSZ               (2048) /* iscsi args can be in excess of 1040 bytes */
 #define TOK_ISCSI               "iscsi"
-#define PROM_CLAIM_MAX_ADDR	0x8000000
+#define PROM_CLAIM_MAX_ADDR	0x10000000
 #define BOOTLASTSZ		1024
 #define FW_NBR_REBOOTSZ		4