diff --git a/chip/mec1322/config_chip.h b/chip/mec1322/config_chip.h index db30d8ddb9..3b8f0c6ef7 100644 --- a/chip/mec1322/config_chip.h +++ b/chip/mec1322/config_chip.h @@ -54,17 +54,10 @@ #define CONFIG_MEC_SRAM_SIZE (CONFIG_MEC_SRAM_BASE_END - \ CONFIG_MEC_SRAM_BASE_START) -/* 0k RAM for Loader */ -#define CONFIG_RAM_SIZE_LOADER 0x00000000 -/* 24k RAM for RO /RW */ -#define CONFIG_RAM_SIZE_RORW 0x00006000 - -#define CONFIG_RAM_SIZE_TOTAL (CONFIG_RAM_SIZE_LOADER + \ - CONFIG_RAM_SIZE_RORW) -#define CONFIG_RAM_BASE_RORW (CONFIG_MEC_SRAM_BASE_END - \ - CONFIG_RAM_SIZE_TOTAL) -#define CONFIG_RAM_BASE CONFIG_RAM_BASE_RORW -#define CONFIG_RAM_SIZE CONFIG_RAM_SIZE_TOTAL +/* 24k RAM for RO / RW / loader */ +#define CONFIG_RAM_SIZE 0x00006000 +#define CONFIG_RAM_BASE (CONFIG_MEC_SRAM_BASE_END - \ + CONFIG_RAM_SIZE) /* System stack size */ #define CONFIG_STACK_SIZE 4096 diff --git a/include/config.h b/include/config.h index bdffee4cfa..619dd2c04d 100644 --- a/include/config.h +++ b/include/config.h @@ -1383,21 +1383,9 @@ /* Base address of RAM for the chip */ #undef CONFIG_RAM_BASE -/* Base address of RAM for RO/RW. */ -#undef CONFIG_RAM_BASE_RORW - /* Size of RAM available on the chip, in bytes */ #undef CONFIG_RAM_SIZE -/* Size of RAM for loader */ -#undef CONFIG_RAM_SIZE_LOADER - -/* Size of RAM for RO/RW */ -#undef CONFIG_RAM_SIZE_RORW - -/* Size of RAM for RO/RW & loader */ -#undef CONFIG_RAM_SIZE_TOTAL - /* Support IR357x Link voltage regulator debugging / reprogramming */ #undef CONFIG_REGULATOR_IR357X