From patchwork Fri Jul 9 05:03:39 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Blanchard X-Patchwork-Id: 58332 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bilbo.ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id 501521007DC for ; Fri, 9 Jul 2010 15:11:21 +1000 (EST) Received: by ozlabs.org (Postfix, from userid 1010) id B3CAA1007D1; Fri, 9 Jul 2010 15:11:20 +1000 (EST) Message-Id: <20100709050342.169751737@samba.org> User-Agent: quilt/0.48-1 Date: Fri, 09 Jul 2010 15:03:39 +1000 From: Anton Blanchard To: yaboot-devel@lists.ozlabs.org Subject: [patch 09/14] Bump PROM_CLAIM_MAX_ADDR to 256MB References: <20100709050330.507659708@samba.org> Content-Disposition: inline; filename=prom_claim_max_256MB X-BeenThere: yaboot-devel@lists.ozlabs.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Technical and development discussion regarding yaboot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: yaboot-devel-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Errors-To: yaboot-devel-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org 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 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