From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-la0-x22b.google.com ([2a00:1450:4010:c03::22b]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XF8yt-0004Iq-2i for barebox@lists.infradead.org; Wed, 06 Aug 2014 21:42:47 +0000 Received: by mail-la0-f43.google.com with SMTP id hr17so2814403lab.2 for ; Wed, 06 Aug 2014 14:42:24 -0700 (PDT) From: Antony Pavlov Date: Thu, 7 Aug 2014 01:42:10 +0400 Message-Id: <1407361335-14875-2-git-send-email-antonynpavlov@gmail.com> In-Reply-To: <1407361335-14875-1-git-send-email-antonynpavlov@gmail.com> References: <1407361335-14875-1-git-send-email-antonynpavlov@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 1/6] openrisc: generic board: reserve 512K for barebox To: barebox@lists.infradead.org Here is a linker's error message for some configurations: or1k-elf-ld: barebox section `.eh_frame' will not fit in region `ram' or1k-elf-ld: region `ram' overflowed by 16868 bytes This patch increases space reserved for barebox from 256K to 512K so the error's probability is dramatically decreased. Signed-off-by: Antony Pavlov Cc: Franck Jullien --- arch/openrisc/boards/generic/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/openrisc/boards/generic/config.h b/arch/openrisc/boards/generic/config.h index 6ebab42..10c33a1 100644 --- a/arch/openrisc/boards/generic/config.h +++ b/arch/openrisc/boards/generic/config.h @@ -13,8 +13,8 @@ #define OPENRISC_SOPC_ETHOC_BASE 0x92000000 -/* We reserve 256K for barebox */ -#define BAREBOX_RESERVED_SIZE 0x40000 +/* We reserve 512K for barebox */ +#define BAREBOX_RESERVED_SIZE 0x80000 /* Barebox will be at top of main memory */ #define OPENRISC_SOPC_TEXT_BASE (OPENRISC_SOPC_MEMORY_BASE + OPENRISC_SOPC_MEMORY_SIZE - BAREBOX_RESERVED_SIZE) -- 2.0.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox