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.

TEST=manual, check the regex with various string

Change-Id: I403f0e4ee22b68369dd01206b6913c609841b75e
Signed-off-by: Puthikorn Voravootivat <>
Reviewed-by: Gwendal Grignou <>
(cherry picked from commit c2640286b9b2b9aa7e2b7fc8f491462d0fcac938)
Reviewed-by: Matthew Yuan <>
Tested-by: Matthew Yuan <>
1 file changed