arm: dra76: fastboot: extend cpu type for getvar command
authorPraneeth Bajjuri <praneeth@ti.com>
Fri, 13 Oct 2017 03:47:05 +0000 (22:47 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 16 Oct 2017 13:43:34 +0000 (09:43 -0400)
'commit fa24eca1f20a ("omap: Add routine for setting fastboot variables")'
adds initial support and usage of "fastboot getvar" command
for DRA75x and DRA72x devices.

and
'commit 0f9e6aee9dbc ("arm: dra76: Add support for ES1.0 detection")'
adds initial dra76 device definition

This patch is to extend usage of "fastboot getvar" for DRA76 device.

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

index 2bd8290c756bafe0c8ea5b20bf5f3c173b54e90e..2e8778043b7063e5af1cfcf598cbbe1cc8687266 100644 (file)
@@ -26,6 +26,9 @@ static void omap_set_fastboot_cpu(void)
        u32 cpu_rev = omap_revision();
 
        switch (cpu_rev) {
+       case DRA762_ES1_0:
+               cpu = "DRA762";
+               break;
        case DRA752_ES1_0:
        case DRA752_ES1_1:
        case DRA752_ES2_0: