From: Praneeth Bajjuri Date: Fri, 13 Oct 2017 03:47:05 +0000 (-0500) Subject: arm: dra76: fastboot: extend cpu type for getvar command X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=9b46ce8cfc8a6357a5d055c89498720107545305;p=u-boot.git 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 --- 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: