Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 56190b60 authored by Ranjith Lohithakshan's avatar Ranjith Lohithakshan Committed by Tony Lindgren
Browse files

omap3: AM35xx: Initialize omap_chip bits



AM35xx is functionally similar to OMAP3430 ES3.1 from a
powerdomain/clockdomain perspective. This patch initializes the
omap_chip bits on AM35xx for use by powerdomain and clockdomain code.

Signed-off-by: default avatarRanjith Lohithakshan <ranjithl@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 4cac6018
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -372,6 +372,8 @@ void __init omap2_check_revision(void)
	} else if (cpu_is_omap242x()) {
	} else if (cpu_is_omap242x()) {
		/* Currently only supports 2420ES2.1.1 and 2420-all */
		/* Currently only supports 2420ES2.1.1 and 2420-all */
		omap_chip.oc |= CHIP_IS_OMAP2420;
		omap_chip.oc |= CHIP_IS_OMAP2420;
	} else if (cpu_is_omap3505() || cpu_is_omap3517()) {
		omap_chip.oc = CHIP_IS_OMAP3430 | CHIP_IS_OMAP3430ES3_1;
	} else if (cpu_is_omap343x()) {
	} else if (cpu_is_omap343x()) {
		omap_chip.oc = CHIP_IS_OMAP3430;
		omap_chip.oc = CHIP_IS_OMAP3430;
		if (omap_rev() == OMAP3430_REV_ES1_0)
		if (omap_rev() == OMAP3430_REV_ES1_0)