]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
arm64: tegra: emc: Make parser support old tables
authorAlex Waterman <alexw@nvidia.com>
Wed, 14 Jan 2015 18:25:48 +0000 (10:25 -0800)
committerAlex Waterman <alexw@nvidia.com>
Fri, 23 Jan 2015 18:59:41 +0000 (10:59 -0800)
commit2f10d2d9b37363bce320c7c616340bc42fcb257e
treef0edc4a147f0d2ce90a036f4ab663463895c74e7
parent68aa3daee1113f524d9ecfc4c4448e6359e14994
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>
drivers/platform/tegra/mc/tegra_emc_dt_parse.c