linker quark_se: Fix operator precedence bug

Without this patch, the final linker script had a memory region defined
as:

    RAM (wx) : ORIGIN = 0xA8006400, LENGTH = 55*1K - 0x20 +0x4

resulting on the wrong RAM length. Fix BSP_SHARED_RAM_SIZE definition
so the sum is always processed first.

Change-Id: I16b93adbaf27bb84b6e5d1ac433ef80f854b218c
Signed-off-by: Jesus Sanchez-Palencia <jesus.sanchez-palencia@intel.com>
This commit is contained in:
Jesus Sanchez-Palencia 2017-02-09 11:12:36 -08:00 committed by Andrew Boie
commit 98d4836105

View file

@ -25,7 +25,7 @@
/* total shared RAM size (restore info + gdt) */
#define BSP_SHARED_RAM_SIZE \
CONFIG_BSP_SHARED_GDT_RAM_SIZE+CONFIG_BSP_SHARED_RESTORE_INFO_SIZE
(CONFIG_BSP_SHARED_GDT_RAM_SIZE+CONFIG_BSP_SHARED_RESTORE_INFO_SIZE)
/*
* When DEEP_SLEEP is not enabled, the shared memory can be re-used after boot.
* Since the memory regions area are at fixed address locations, only the