diff options
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2013-05-21 14:07:41 -0500 |
---|---|---|
committer | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2013-06-03 22:35:21 +0200 |
commit | 32610462d12bee4f901e7f5eefef63f200f22805 (patch) | |
tree | 796f4d5bcc4ff5034f11615da8413ca7289f54da /util/lint | |
parent | 8e4bb92898992446b6264f06b4f20236a65ae962 (diff) |
spd.h: Add all known SPD_MEMORY_TYPE definitions.
This file was missing some definitions, so add them. Also turn the defines
into an enum. The reason for doing this is that functions can now
explicitly take an spd_memory_type as a parameter:
> int do_something_with_dram(enum spd_memory_type type, ...)
Which is a lot more explicit and readable than:
> int do_something_with_dram(u8 type, ...)
These are used in the VX900 branch.
Change-Id: Ic7871e82c2523a94eac8e07979a8e34e0b459b46
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-on: http://review.coreboot.org/3266
Tested-by: build bot (Jenkins)
Diffstat (limited to 'util/lint')
0 files changed, 0 insertions, 0 deletions