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:
parent
41869a6534
commit
efb71ed0ce
7 changed files with 24 additions and 1 deletions
|
@ -284,3 +284,7 @@ hardware_click
|
|||
#if defined(HAVE_PLAY_FREQ)
|
||||
play_frequency
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_BOOTDATA)
|
||||
boot_data
|
||||
#endif
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
#define MODEL_NAME "Sandisk Sansa Clip+"
|
||||
#define FIRMWARE_OFFSET_FILE_DATA 8
|
||||
#define FIRMWARE_OFFSET_FILE_CRC 0
|
||||
/* Define if boot data from bootloader has been enabled for the target */
|
||||
#define HAVE_BOOTDATA
|
||||
|
||||
#define HAVE_MULTIDRIVE
|
||||
#define NUM_DRIVES 2
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
#define MODEL_NAME "Sandisk Sansa Clipv2"
|
||||
#define FIRMWARE_OFFSET_FILE_DATA 8
|
||||
#define FIRMWARE_OFFSET_FILE_CRC 0
|
||||
/* Define if boot data from bootloader has been enabled for the target */
|
||||
#define HAVE_BOOTDATA
|
||||
|
||||
#define HW_SAMPR_CAPS SAMPR_CAP_ALL
|
||||
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
#define MODEL_NAME "Sandisk Sansa Zip"
|
||||
#define FIRMWARE_OFFSET_FILE_DATA 8
|
||||
#define FIRMWARE_OFFSET_FILE_CRC 0
|
||||
/* Define if boot data from bootloader has been enabled for the target */
|
||||
#define HAVE_BOOTDATA
|
||||
|
||||
#define HAVE_MULTIDRIVE
|
||||
#define NUM_DRIVES 2
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
/* For Rolo and boot loader */
|
||||
#define MODEL_NUMBER 43
|
||||
#define MODEL_NAME "Sandisk Sansa Fuze"
|
||||
/* Define if boot data from bootloader has been enabled for the target */
|
||||
#define HAVE_BOOTDATA
|
||||
|
||||
#define HW_SAMPR_CAPS SAMPR_CAP_ALL
|
||||
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
/* For Rolo and boot loader */
|
||||
#define MODEL_NUMBER 68
|
||||
#define MODEL_NAME "Sandisk Sansa Fuze v2"
|
||||
/* Define if boot data from bootloader has been enabled for the target */
|
||||
#define HAVE_BOOTDATA
|
||||
|
||||
#define HW_SAMPR_CAPS SAMPR_CAP_ALL
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue