platform_MemCheck: Support more ram type when parse mosys result
Currently this test look for string like DDR3-1600 when parsing
the memory spd timing result from mosys. This make the test fail
when mosys return string like LPDDR3-1600. This patch changes
the parser to support modifier for memory type to make it work
with more memory types such as LPDDR3, DDR3L, GDDR5, etc.
BUG=chrome-os-partner:37193
TEST=manual, check the regex with various string
Change-Id: I403f0e4ee22b68369dd01206b6913c609841b75e
Signed-off-by: Puthikorn Voravootivat <puthik@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/255542
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
1 file changed