From patchwork Thu Apr 18 02:13:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 237393 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 619572C0195 for ; Thu, 18 Apr 2013 12:15:14 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B91704A2D7; Thu, 18 Apr 2013 04:15:12 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ufnb5QElGeqO; Thu, 18 Apr 2013 04:15:12 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E9A184A2C6; Thu, 18 Apr 2013 04:14:54 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5247F4A2D3 for ; Thu, 18 Apr 2013 04:14:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g7w3l0I+TSws for ; Thu, 18 Apr 2013 04:14:39 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-vb0-f74.google.com (mail-vb0-f74.google.com [209.85.212.74]) by theia.denx.de (Postfix) with ESMTPS id AFB1E4A2C8 for ; Thu, 18 Apr 2013 04:14:32 +0200 (CEST) Received: by mail-vb0-f74.google.com with SMTP id w16so235797vbb.1 for ; Wed, 17 Apr 2013 19:14:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=HT2lESwBzngFpGVdHDheSdbXaKAhtXabNRnUkLDhFR4=; b=D0UY57DQGRr9hlbz/asCSJ0/4trItNuQa9pZM8MEB8xBYKlpfus1rGDHD3ZkL2X9/o Kbr67e228wbOsFhKsEBUlsJmCWXy7sJNLTXZCLLlrh81QfVK778f/zVoza3nPQHYd04+ oCBgo7s09Pre8x4ZaXRArFGRvjvyQMhhVQXIyvfR/J4Qv+fVgbnuJDeC48EoBJXVN8Aw 4EOXH8BGR/sSHCjpRW6xfXIQi7bDAOBACADb1Wy/WpO2AlIcVZm+RsA7rl5myEvvIecG wOCGL70PVkRDJaD40Ersk+HWUF8X/gV1Jr16VrSeoaT9bf1m/fDSahf4wdA+mB9vuMGG awjg== X-Received: by 10.236.134.239 with SMTP id s75mr4302228yhi.39.1366251271371; Wed, 17 Apr 2013 19:14:31 -0700 (PDT) Received: from corp2gmr1-1.hot.corp.google.com (corp2gmr1-1.hot.corp.google.com [172.24.189.92]) by gmr-mx.google.com with ESMTPS id p70si2106971yhd.5.2013.04.17.19.14.31 (version=TLSv1.1 cipher=AES128-SHA bits=128/128); Wed, 17 Apr 2013 19:14:31 -0700 (PDT) Received: from kaka.mtv.corp.google.com (kaka.mtv.corp.google.com [172.22.83.1]) by corp2gmr1-1.hot.corp.google.com (Postfix) with ESMTP id 3AC7132B08C; Wed, 17 Apr 2013 19:14:10 -0700 (PDT) Received: by kaka.mtv.corp.google.com (Postfix, from userid 121222) id D561B1607AE; Wed, 17 Apr 2013 19:14:09 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Date: Wed, 17 Apr 2013 19:13:31 -0700 Message-Id: <1366251228-19884-3-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.8.2.1 In-Reply-To: <1366251228-19884-1-git-send-email-sjg@chromium.org> References: <1366251228-19884-1-git-send-email-sjg@chromium.org> X-Gm-Message-State: ALoCoQmtPXFAjLggE5owh6U92eOYVVvv87fo9nPZXnZ/qtNkciPCXOeFwfdgJlQUqh1Ljc00ALrmvxOzU2U9HgTfuCDoW+oU4ZvCKjC9kxh6rKY2usOy8+sknlAlGjWqJx/anBIoxksxpFm8Sjwi29ijDv2Y54O062BKHomY6FP6NZoW231d+leXeYaYU4kS+3iqfHUqxb0p Cc: Graeme Russ , u-boot-review@google.com Subject: [U-Boot] [PATCH 02/19] x86: Remove unused portion of link script X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Since we don't have real-mode code now, we can remove this chunk of the link script. Signed-off-by: Simon Glass Acked-by: Graeme Russ --- arch/x86/cpu/u-boot.lds | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/arch/x86/cpu/u-boot.lds b/arch/x86/cpu/u-boot.lds index 2d6911a..b4ecd4b 100644 --- a/arch/x86/cpu/u-boot.lds +++ b/arch/x86/cpu/u-boot.lds @@ -79,18 +79,6 @@ SECTIONS /DISCARD/ : { *(.interp*) } /DISCARD/ : { *(.gnu*) } - /* 16bit realmode trampoline code */ - .realmode REALMODE_BASE : AT ( LOADADDR(.rel.dyn) + SIZEOF(.rel.dyn) ) { KEEP(*(.realmode)) } - - __realmode_start = LOADADDR(.realmode); - __realmode_size = SIZEOF(.realmode); - - /* 16bit BIOS emulation code (just enough to boot Linux) */ - .bios 0 : AT ( LOADADDR(.realmode) + SIZEOF(.realmode) ) { KEEP(*(.bios)) } - - __bios_start = LOADADDR(.bios); - __bios_size = SIZEOF(.bios); - #ifdef CONFIG_X86_RESET_VECTOR /*