From 9b46ce8cfc8a6357a5d055c89498720107545305 Mon Sep 17 00:00:00 2001 From: Praneeth Bajjuri Date: Thu, 12 Oct 2017 22:47:05 -0500 Subject: [PATCH] arm: dra76: fastboot: extend cpu type for getvar command '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 Reviewed-by: Tom Rini --- arch/arm/mach-omap2/utils.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-omap2/utils.c b/arch/arm/mach-omap2/utils.c index 2bd8290c75..2e8778043b 100644 --- a/arch/arm/mach-omap2/utils.c +++ b/arch/arm/mach-omap2/utils.c @@ -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: -- 2.39.5