diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2015-09-16 22:25:33 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-09-17 19:00:54 -0700 |
commit | 542a95c87b00b1cf733e033bf7bd77e440d17725 (patch) | |
tree | 4d6dbf8ac271e7ac38cfce28afaa43ab0cbedc7a /chip/npcx/config_chip.h | |
parent | 5717b3150c8a8d43e07ce2dc8065c3515d3651f7 (diff) | |
download | chrome-ec-542a95c87b00b1cf733e033bf7bd77e440d17725.tar.gz |
cleanup: Fix npcx build
The previous commits left npcx in a bad state. Change
CONFIG_PROGRAM_MEMORY_BASE to point to the actual start of code memory
and correct the linker file.
This still results in a non-working npcx image (more changes
forthcoming) but it does build.
BUG=chrome-os-partner:23796
TEST=make clean; make buildall -j
BRANCH=None
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Change-Id: Ia300c5d18695dccd8d9fd9a6122cd7d30353adfa
Reviewed-on: https://chromium-review.googlesource.com/300295
Commit-Ready: Shawn N <shawnn@chromium.org>
Tested-by: Shawn N <shawnn@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'chip/npcx/config_chip.h')
-rw-r--r-- | chip/npcx/config_chip.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/npcx/config_chip.h b/chip/npcx/config_chip.h index 2e99987a5f..7bf70c841e 100644 --- a/chip/npcx/config_chip.h +++ b/chip/npcx/config_chip.h @@ -47,7 +47,7 @@ /* Memory mapping */ #define CONFIG_RAM_BASE 0x200C0000 /* memory address of data ram */ #define CONFIG_RAM_SIZE (0x00008000 - 0x800) /* 30KB data ram */ -#define CONFIG_PROGRAM_MEMORY_BASE 0x64000000 /* program memory base address */ +#define CONFIG_PROGRAM_MEMORY_BASE 0x100A8000 /* program memory base address */ #define CONFIG_LPRAM_BASE 0x40001600 /* memory address of lpwr ram */ #define CONFIG_LPRAM_SIZE 0x00000620 /* 1568B low power ram */ |