diff options
author | Angel Pons <th3fanbus@gmail.com> | 2021-03-28 13:43:13 +0200 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2021-04-05 13:01:29 +0000 |
commit | afb3d7e7ecccdc1fbde66fe08252bd97de4df35d (patch) | |
tree | da6ba2eaf03d9afd52e1fc95d2b540ec230246be /src/soc | |
parent | 4774012515db737c3aada7ced093851346aece4d (diff) | |
download | coreboot-afb3d7e7ecccdc1fbde66fe08252bd97de4df35d.tar.xz |
device/dram/ddr3: Get rid of useless typedefs
These typedefs are not necessary. Remove them, and rename some elements
to avoid any confusion with other DRAM generations, such as DDR4.
Change-Id: Ibe40f33372358262c540e371f7866b06a4ac842a
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51895
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/intel/baytrail/romstage/raminit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/baytrail/romstage/raminit.c b/src/soc/intel/baytrail/romstage/raminit.c index f62c998bd7..79614afc16 100644 --- a/src/soc/intel/baytrail/romstage/raminit.c +++ b/src/soc/intel/baytrail/romstage/raminit.c @@ -55,7 +55,7 @@ static void ABI_X86 send_to_console(unsigned char b) static void populate_smbios_tables(void *dram_data, int speed, int num_channels) { - dimm_attr dimm; + struct dimm_attr_ddr3_st dimm; enum spd_status status; /* Decode into dimm_attr struct */ |