[U-Boot,v5,08/18] bcm235xx: boot0 hook: adjust to unified boot0 semantics

Message ID 1507645279-25188-9-git-send-email-philipp.tomsich@theobroma-systems.com
State Accepted
Delegated to: Philipp Tomsich
Headers show
Series
  • rockchip: back-to-bootrom: replace assembly-implementation with C-code
Related show

Commit Message

Dr. Philipp Tomsich Oct. 10, 2017, 2:21 p.m.
This updates the BCM235xx boot0-hook to the updated boot0 semantics
by emitting _start and the vector table before the boot0 hook (as
was the case before).

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>

Version-changes: 5
- ran 'whitespace-cleanup'

---

Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None

 arch/arm/include/asm/arch-bcm235xx/boot0.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Dr. Philipp Tomsich Nov. 7, 2017, 2:18 p.m. | #1
> This updates the BCM235xx boot0-hook to the updated boot0 semantics
> by emitting _start and the vector table before the boot0 hook (as
> was the case before).
> 
> Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> 
> Version-changes: 5
> - ran 'whitespace-cleanup'
> ---
> 
> Changes in v5: None
> Changes in v4: None
> Changes in v3: None
> Changes in v2: None
> 
>  arch/arm/include/asm/arch-bcm235xx/boot0.h | 2 ++
>  1 file changed, 2 insertions(+)
> 

Applied to u-boot-rockchip/next, thanks!

Patch

diff --git a/arch/arm/include/asm/arch-bcm235xx/boot0.h b/arch/arm/include/asm/arch-bcm235xx/boot0.h
index a747bd3..28f05ba 100644
--- a/arch/arm/include/asm/arch-bcm235xx/boot0.h
+++ b/arch/arm/include/asm/arch-bcm235xx/boot0.h
@@ -5,5 +5,7 @@ 
  */
 
 /* BOOT0 header information */
+_start:
+	ARM_VECTORS
 	.word	0xbabeface
 	.word	_end - _start