Browse Source

arm: dra76: fastboot: extend cpu type for getvar command

'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>
Praneeth Bajjuri 6 years ago
parent
commit
cd30f3fc9e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      arch/arm/mach-omap2/utils.c

+ 2 - 0
arch/arm/mach-omap2/utils.c

@@ -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: