Skip to contentSkip to conversation

omap3: bug fix for NOR boot support

PATCH New Penda 4 participants 4 messages Jul 30, 2009 – Aug 8, 2009 Arm/actions semi architecture

lore
Share & tools
lore

Penda

#0 lore raw

PATCH 1/1 omap3: bug fix for NOR boot support

From: Penda Naveen Kumar<[email protected]>

This patch provides bug fix, when omap3 uses nor boot.

cpu/arm_cortexa8/omap3/lowlevel_init.S +4 -4
Index: u-boot/cpu/arm_cortexa8/omap3/lowlevel_init.S
===================================================================
@@ -135,19 +135,19 @@ _go_to_speed: .word go_to_speed
 /* these constants need to be close for PIC code */
 /* The Nor has to be in the Flash Base CS0 for this condition to happen */
 flash_cfg1_addr:
-	.word (GPMC_CONFIG_CS0 + GPMC_CONFIG1)
+	.word (GPMC_CONFIG_CS0_BASE + GPMC_CONFIG1)
 flash_cfg3_addr:
-	.word (GPMC_CONFIG_CS0 + GPMC_CONFIG3)
+	.word (GPMC_CONFIG_CS0_BASE + GPMC_CONFIG3)
 flash_cfg3_val:
 	.word STNOR_GPMC_CONFIG3
 flash_cfg4_addr:
-	.word (GPMC_CONFIG_CS0 + GPMC_CONFIG4)
+	.word (GPMC_CONFIG_CS0_BASE + GPMC_CONFIG4)
 flash_cfg4_val:
 	.word STNOR_GPMC_CONFIG4
 flash_cfg5_val:
 	.word STNOR_GPMC_CONFIG5
 flash_cfg5_addr:
-	.word (GPMC_CONFIG_CS0 + GPMC_CONFIG5)
+	.word (GPMC_CONFIG_CS0_BASE + GPMC_CONFIG5)
 pll_ctl_add:
 	.word CM_CLKEN_PLL
 pll_div_add1:
#1 lore raw

PATCH 1/1 omap3: bug fix for NOR boot support

Quoted 5 lines · Naveen Kumar

From: Penda Naveen Kumar<[email protected]>

This patch provides bug fix, when omap3 uses nor boot.

Makes sense! Most probably not found earlier because most OMAP3 boards have no NOR.

Quoted 33 lines

Index: u-boot/cpu/arm_cortexa8/omap3/lowlevel_init.S
===================================================================

cpu/arm_cortexa8/omap3/lowlevel_init.S +4 -4
@@ -135,19 +135,19 @@ _go_to_speed: .word go_to_speed
 /* these constants need to be close for PIC code */
 /* The Nor has to be in the Flash Base CS0 for this condition to happen */
 flash_cfg1_addr:
-	.word (GPMC_CONFIG_CS0 + GPMC_CONFIG1)
+	.word (GPMC_CONFIG_CS0_BASE + GPMC_CONFIG1)
 flash_cfg3_addr:
-	.word (GPMC_CONFIG_CS0 + GPMC_CONFIG3)
+	.word (GPMC_CONFIG_CS0_BASE + GPMC_CONFIG3)
 flash_cfg3_val:
 	.word STNOR_GPMC_CONFIG3
 flash_cfg4_addr:
-	.word (GPMC_CONFIG_CS0 + GPMC_CONFIG4)
+	.word (GPMC_CONFIG_CS0_BASE + GPMC_CONFIG4)
 flash_cfg4_val:
 	.word STNOR_GPMC_CONFIG4
 flash_cfg5_val:
 	.word STNOR_GPMC_CONFIG5
 flash_cfg5_addr:
-	.word (GPMC_CONFIG_CS0 + GPMC_CONFIG5)
+	.word (GPMC_CONFIG_CS0_BASE + GPMC_CONFIG5)
 pll_ctl_add:
 	.word CM_CLKEN_PLL
 pll_div_add1:

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

#3 lore raw

PATCH 1/1 omap3: bug fix for NOR boot support

In reply to Penda

Dear "Penda, Naveen Kumar",

cpu/arm_cortexa8/omap3/lowlevel_init.S

Quoted 10 lines · In message <[email protected]> you…

From: Penda Naveen Kumar<[email protected]>

This patch provides bug fix, when omap3 uses nor boot.

Index: u-boot/cpu/arm_cortexa8/omap3/lowlevel_init.S
===================================================================

cpu/arm_cortexa8/omap3/lowlevel_init.S +0 -0

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
There is nothing in this world constant but inconstancy.      - Swift