diff options
author | Shakeeb <shakeebbk@in.ibm.com> | 2016-06-02 06:26:42 -0500 |
---|---|---|
committer | Prachi Gupta <pragupta@us.ibm.com> | 2016-06-08 11:45:58 -0500 |
commit | 9531a7342adc05e3b0b86cd97056ef27dbb1522a (patch) | |
tree | 980468c80dbf8b525ec19119276db1446546f890 /sbe | |
parent | 7c1f954734ddabf2cea98e4ce9f0f4a27f4f78fb (diff) | |
download | talos-sbe-9531a7342adc05e3b0b86cd97056ef27dbb1522a.tar.gz talos-sbe-9531a7342adc05e3b0b86cd97056ef27dbb1522a.zip |
Adjust PIBMEM base to reduce sbe_pibmem.bin size
Change-Id: I2600dcadcd225cebc791522d973e6705296dd0b9
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25290
Tested-by: Jenkins Server
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'sbe')
-rw-r--r-- | sbe/image/linksbe.cmd | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/sbe/image/linksbe.cmd b/sbe/image/linksbe.cmd index 1a74de72..24670e06 100644 --- a/sbe/image/linksbe.cmd +++ b/sbe/image/linksbe.cmd @@ -1,3 +1,27 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: sbe/image/linksbe.cmd $ */ +/* */ +/* OpenPOWER sbe Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2015,2016 */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); */ +/* you may not use this file except in compliance with the License. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ +/* implied. See the License for the specific language governing */ +/* permissions and limitations under the License. */ +/* */ +/* IBM_PROLOG_END_TAG */ // Need to do this so that elf32-powerpc is not modified! #undef powerpc @@ -13,12 +37,14 @@ MEMORY { // increasing ram size as workaround so that pibmem image compilation // doe not fail. - sram : ORIGIN = SBE_BASE_ORIGIN, LENGTH = SBE_BASE_LENGTH + 0xF000 + // TODO: Reducing the SBE_BASE_ORIGIN by 0xF000 to reduce the size of + // generated sbe_pibmem.bin. Just a workaround to use pibmem for poweron + sram : ORIGIN = SBE_BASE_ORIGIN - 0xF000, LENGTH = SBE_BASE_LENGTH + 0xF000 } SECTIONS { - . = SBE_BASE_ORIGIN; + . = SBE_BASE_ORIGIN - 0xF000; .vectors : {. = ALIGN(512); *(.vectors)} > sram .fixed . : {. = ALIGN(512); *(.fixed) } > sram |