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.

BUG=b:217445002
TEST=Tested on Asurada and Elm

Change-Id: Ic1c081508bb816c2eba026d7e8248ccd96b493c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/drm-tests/+/3646307
Reviewed-by: Miguel Casas <mcasas@google.com>
Reviewed-by: Miguel Casas-Sanchez <mcasas@chromium.org>
Tested-by: Justin Green <greenjustin@google.com>
Commit-Queue: Justin Green <greenjustin@google.com>
1 file changed