Add boot data to MOST AS3525 Devices

Adds boot data to as3525 devices Sansa C200v2 E200v2 Clip Clipv2 Clip+ ClipZip
fuze, fuzev2 m200v4

Adds boot_data to features.txt

default arm crt0.s now had boot data if HAVE_BOOTDATA is defined

Change-Id: I614a556696540511a69fc12a4520b01c268bf8a9
This commit is contained in:
William Wilgus 2017-02-08 04:46:54 +01:00 committed by Amaury Pouly
parent 41869a6534
commit efb71ed0ce
7 changed files with 24 additions and 1 deletions

View file

@ -21,6 +21,10 @@
#include "config.h"
#include "cpu.h"
#if defined(HAVE_BOOTDATA) && !defined(BOOTLOADER)
#include "bootdata.h"
#endif
.section .init.text,"ax",%progbits
.global start
@ -137,6 +141,11 @@ newstart:
ldr ip, =main @ make sure we are using the virtual address
bx ip
#if defined(HAVE_BOOTDATA) && !defined(BOOTLOADER)
/* boot data structure */
put_boot_data_here
#endif
/* Cache-align interrupt stacks */
.balign 32
@ -149,4 +158,4 @@ irq_stack:
fiq_stack:
svc_stack:
end:
end: