diff mbox series

[1/3] arm: dra76: fastboot: extend cpu type for getvar command

Message ID 1524689794-5413-1-git-send-email-praneeth@ti.com
State Accepted
Commit cd30f3fc9e4bfee2c314eda1995dc0edb092847c
Headers show
Series [1/3] arm: dra76: fastboot: extend cpu type for getvar command | expand

Commit Message

Bajjuri, Praneeth April 25, 2018, 8:56 p.m. UTC
'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>
---
 arch/arm/mach-omap2/utils.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Bajjuri, Praneeth April 25, 2018, 9:05 p.m. UTC | #1
Only one patch in the series.

Wrong subject [PATCH 1/3]


On 4/25/2018 3:56 PM, Praneeth Bajjuri wrote:
> '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>
> ---
>   arch/arm/mach-omap2/utils.c | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/mach-omap2/utils.c b/arch/arm/mach-omap2/utils.c
> index 1d39625..391055e 100644
> --- a/arch/arm/mach-omap2/utils.c
> +++ b/arch/arm/mach-omap2/utils.c
> @@ -30,6 +30,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:
Tom Rini April 26, 2018, 11:21 a.m. UTC | #2
On Wed, Apr 25, 2018 at 03:56:34PM -0500, Praneeth Bajjuri wrote:

> '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>


-- 
Tom
Tom Rini May 8, 2018, 5:16 p.m. UTC | #3
On Wed, Apr 25, 2018 at 03:56:34PM -0500, Praneeth Bajjuri wrote:

> '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>


Applied to u-boot/master, thanks!

-- 
Tom
diff mbox series

Patch

diff --git a/arch/arm/mach-omap2/utils.c b/arch/arm/mach-omap2/utils.c
index 1d39625..391055e 100644
--- a/arch/arm/mach-omap2/utils.c
+++ b/arch/arm/mach-omap2/utils.c
@@ -30,6 +30,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: