ARM: tegra: loki: update check for fab based
Ray Poudrier [Tue, 3 Dec 2013 00:58:05 +0000 (16:58 -0800)]
With correcting the fab/sku reading in BL,
we need to update the checks here to ensure
emc DVFS is still enabled on the correct boards.

Bug 1412411
Bug 1326949

Change-Id: I934d8324d7a0164f6adc6f8feaffc42f81f8a602
Signed-off-by: Ray Poudrier <rapoudrier@nvidia.com>
Reviewed-on: http://git-master/r/337479
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: David Dastous St Hilaire <ddastoussthi@nvidia.com>
Tested-by: Aly Hirani <ahirani@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

arch/arm/mach-tegra/board-loki-memory.c

index a568dc1..976f19f 100644 (file)
@@ -11355,7 +11355,7 @@ int __init loki_emc_init(void)
        tegra_get_board_info(&bi);
 
        if (bi.board_id == BOARD_E2548) {
-               switch (bi.sku) {
+               switch (bi.fab) {
                case 0x0:
                        pr_info("Loading Loki A02 EMC table.\n");
                        tegra_emc_device.dev.platform_data =