amd/stoneyridge: Clarify SPD structure in chip.h

Add #define values and clarify the spdAddrLookup array.

Change-Id: I39b9913a2fd52f9105e4a771f651a8d9649202e6
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/21852
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Marshall Dawson 2017-09-25 10:00:47 -06:00 committed by Aaron Durbin
parent f1f67c3b75
commit 5bb0d75566
1 changed files with 5 additions and 1 deletions

View File

@ -18,8 +18,12 @@
#include <stdint.h> #include <stdint.h>
#define MAX_NODES 1
#define MAX_DRAM_CH 1
#define MAX_DIMMS_PER_CH 2
struct soc_amd_stoneyridge_config { struct soc_amd_stoneyridge_config {
u8 spdAddrLookup[1][1][2]; u8 spdAddrLookup[MAX_NODES][MAX_DRAM_CH][MAX_DIMMS_PER_CH];
}; };
typedef struct soc_amd_stoneyridge_config config_t; typedef struct soc_amd_stoneyridge_config config_t;