diff options
author | Craig Hesling <hesling@chromium.org> | 2019-12-16 11:42:28 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-12-16 23:12:08 +0000 |
commit | 708e8b694ecbf53c4c41627ec5c0ef733dbc825f (patch) | |
tree | f59de4aa3faa413d61bb53ce36c0a1a173e139df | |
parent | 163104d3224a2520b9e939dc61860adf7338f546 (diff) | |
download | chrome-ec-708e8b694ecbf53c4c41627ec5c0ef733dbc825f.tar.gz |
core/minute-ia: Format linker script
This is a cleanup/reformat of the linker script.
This brings no functional change.
BRANCH=none
BUG=b:146083406
TEST=make buildall
Change-Id: I481233b20c017355b1c3c9b6e4010ea9e7ef8560
Signed-off-by: Craig Hesling <hesling@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1966289
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
-rw-r--r-- | core/minute-ia/ec.lds.S | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/core/minute-ia/ec.lds.S b/core/minute-ia/ec.lds.S index bf474130cc..c2c5bbfac7 100644 --- a/core/minute-ia/ec.lds.S +++ b/core/minute-ia/ec.lds.S @@ -24,11 +24,11 @@ SECTIONS .rodata : { /* Symbols defined here are declared in link_defs.h */ __irqprio = .; - KEEP(*(.rodata.irqprio)) + KEEP(*(.rodata.irqprio)) __irqprio_end = .; __irq_data = .; - KEEP(*(.rodata.irqs)) + KEEP(*(.rodata.irqs)) __irq_data_end = .; . = ALIGN(4); @@ -159,7 +159,7 @@ SECTIONS __data_start = .; *(.data.*); __data_end = .; - } + } . = ALIGN(4); .note.gnu.build-id : { *(.note.gnu.build-id); } @@ -185,21 +185,21 @@ SECTIONS __bss_end = .; __bss_size_words = ABSOLUTE((__bss_end - __bss_start) / 4); - /* + /* * Shared memory buffer must be at the end of - * preallocated RAM, so it can expand to use all the - * remaining RAM. + * preallocated RAM, so it can expand to use all the + * remaining RAM. */ - __shared_mem_buf = .; + __shared_mem_buf = .; } __aon_rw_end = . + CONFIG_SHAREDMEM_MINIMUM_SIZE; ASSERT((__shared_mem_buf + CONFIG_SHAREDMEM_MINIMUM_SIZE) <= - (CONFIG_RAM_BASE + CONFIG_RAM_SIZE), - "Not enough space for shared memory.") + (CONFIG_RAM_BASE + CONFIG_RAM_SIZE), + "Not enough space for shared memory.") __ram_free = (CONFIG_RAM_BASE + CONFIG_RAM_SIZE) - - (__shared_mem_buf + CONFIG_SHAREDMEM_MINIMUM_SIZE); + (__shared_mem_buf + CONFIG_SHAREDMEM_MINIMUM_SIZE); /* TODO: Adjust __image_size to proper value for core minute-ia later */ __image_size = . - CONFIG_ISH_BOOT_START; |