arm: dra76: fastboot: extend cpu type for getvar command
authorPraneeth Bajjuri <praneeth@ti.com>
Wed, 25 Apr 2018 20:56:34 +0000 (15:56 -0500)
committerTom Rini <trini@konsulko.com>
Tue, 8 May 2018 13:07:37 +0000 (09:07 -0400)
'commit dda0bd674481 ("arm: dra762: Add support for device package identification")'
introduces ABZ and ACD package identification.

This patch is to extend usage of "fastboot getvar cpu" for
DRA76x ABZ and ACD devices.

Helps in fixing the boot warning.

Warning: fastboot.cpu: unknown CPU rev: 123863298
on
CPU  : DRA762-GP ES1.0 ABZ package
Model: TI AM5748 IDK
Board: AM574x IDK REV 1.0A

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-omap2/utils.c

index 92a6f799d45c4f32fc41cab43fe71c24d29a260f..dc7b37f1643500d864e3defcfd59d3735fde0220 100644 (file)
@@ -29,6 +29,8 @@ static void omap_set_fastboot_cpu(void)
 
        switch (cpu_rev) {
        case DRA762_ES1_0:
+       case DRA762_ABZ_ES1_0:
+       case DRA762_ACD_ES1_0:
                cpu = "DRA762";
                break;
        case DRA752_ES1_0: