diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/octopus/romstage.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/google/octopus/romstage.c b/src/mainboard/google/octopus/romstage.c index 9e5734bb67..43349a0660 100644 --- a/src/mainboard/google/octopus/romstage.c +++ b/src/mainboard/google/octopus/romstage.c @@ -17,6 +17,7 @@ #include <boardid.h> #include <console/console.h> #include <ec/google/chromeec/ec.h> +#include <memory_info.h> #include <soc/meminit.h> #include <soc/romstage.h> @@ -33,7 +34,7 @@ static void save_dimm_info_by_sku_config(void) void mainboard_save_dimm_info(void) { - char part_num_store[32]; + char part_num_store[DIMM_INFO_PART_NUMBER_SIZE]; const char *part_num = NULL; if (!IS_ENABLED(CONFIG_DRAM_PART_NUM_IN_CBI)) { |