arm64: tegra: emc: Make parser support old tables
When rev. 6 tables were added rev. 5 tables caused a problem since
they were missing certain fields present in rev. 6 tables. This patch
skips the fields present in rev. 6 fields if prior tables are detected
during parsing.
Change-Id: I2171650ab2a4f9557c0bcd312cbff9122fd1bd67
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/672483
(cherry picked from commit
3089a0ee8ade3dc5fb5ad21cc102e8c248202d42)
Reviewed-on: http://git-master/r/674044
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>