platform/drm-tests: Modify DRAM tool to check compatibility

Modify Mediatek DRAM bandwidth measuring tool to check the device tree
to make sure we aren't on an incompatible device. This program probes
raw physical memory addresses, so it's important to make sure we are on
the right platform lest we brick something.

TEST=Tested on Asurada and Elm

Change-Id: Ic1c081508bb816c2eba026d7e8248ccd96b493c8
Reviewed-by: Miguel Casas <>
Reviewed-by: Miguel Casas-Sanchez <>
Tested-by: Justin Green <>
Commit-Queue: Justin Green <>
1 file changed