mirror of
https://github.com/zephyrproject-rtos/zephyr.git
synced 2024-12-04 10:18:24 +08:00
a1b77fd589
git grep -l 'u\(8\|16\|32\|64\)_t' | \ xargs sed -i "s/u\(8\|16\|32\|64\)_t/uint\1_t/g" git grep -l 's\(8\|16\|32\|64\)_t' | \ xargs sed -i "s/s\(8\|16\|32\|64\)_t/int\1_t/g" Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
295 lines
7.1 KiB
C
295 lines
7.1 KiB
C
/*
|
|
* Copyright (c) 2019, MADMACHINE LIMITED
|
|
*
|
|
* refer to hal_nxp board file
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <zephyr/types.h>
|
|
|
|
#if defined(XIP_BOOT_HEADER_ENABLE) && (XIP_BOOT_HEADER_ENABLE == 1)
|
|
#if defined(XIP_BOOT_HEADER_DCD_ENABLE) && (XIP_BOOT_HEADER_DCD_ENABLE == 1)
|
|
#if defined(__CC_ARM) || defined(__ARMCC_VERSION) || defined(__GNUC__)
|
|
__attribute__((section(".boot_hdr.dcd_data")))
|
|
#elif defined(__ICCARM__)
|
|
#pragma location = ".boot_hdr.dcd_data"
|
|
#endif
|
|
|
|
const uint8_t dcd_data[] = {
|
|
0xD2,
|
|
|
|
0x04, 0x30,
|
|
|
|
0x41,
|
|
|
|
0xCC, 0x03, 0xAC, 0x04,
|
|
|
|
0x40, 0x0F, 0xC0, 0x68, 0xFF, 0xFF, 0xFF, 0xFF,
|
|
|
|
0x40, 0x0F, 0xC0, 0x6C, 0xFF, 0xFF, 0xFF, 0xFF,
|
|
|
|
0x40, 0x0F, 0xC0, 0x70, 0xFF, 0xFF, 0xFF, 0xFF,
|
|
|
|
0x40, 0x0F, 0xC0, 0x74, 0xFF, 0xFF, 0xFF, 0xFF,
|
|
|
|
0x40, 0x0F, 0xC0, 0x78, 0xFF, 0xFF, 0xFF, 0xFF,
|
|
|
|
0x40, 0x0F, 0xC0, 0x7C, 0xFF, 0xFF, 0xFF, 0xFF,
|
|
|
|
0x40, 0x0F, 0xC0, 0x80, 0xFF, 0xFF, 0xFF, 0xFF,
|
|
|
|
0x40, 0x0D, 0x80, 0x30, 0x00, 0x00, 0x20, 0x01,
|
|
|
|
0x40, 0x0D, 0x81, 0x00, 0x00, 0x1D, 0x00, 0x00,
|
|
|
|
0x40, 0x0F, 0xC0, 0x14, 0x00, 0x01, 0x0D, 0x40,
|
|
|
|
0x40, 0x1F, 0x80, 0x14, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x18, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x1C, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x20, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x24, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x28, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x2C, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x30, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x34, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x38, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x3C, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x40, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x44, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x48, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x4C, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x50, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x54, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x58, 0x00, 0x00, 0x00, 0x00,
|
|
0x40, 0x1F, 0x80, 0x5C, 0x00, 0x00, 0x00, 0x00,
|
|
0x40, 0x1F, 0x80, 0x60, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x64, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x68, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x6C, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x70, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x74, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x78, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x7C, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x84, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x88, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x8C, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x90, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x94, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x98, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0x9C, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0xA0, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0xA4, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0xA8, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0xAC, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0xB0, 0x00, 0x00, 0x00, 0x10,
|
|
|
|
0x40, 0x1F, 0x80, 0xB4, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x80, 0xB8, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x1F, 0x82, 0x04, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x08, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x0C, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x10, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x14, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x18, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x1C, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x20, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x24, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x28, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x2C, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x30, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x34, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x38, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x3C, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x40, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x44, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x48, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x4C, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x50, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x54, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x58, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x5C, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x60, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x64, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x68, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x6C, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x70, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x74, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x78, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x7C, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x80, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x84, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x88, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x8C, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x90, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x94, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x98, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0x9C, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0xA0, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0xA4, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x1F, 0x82, 0xA8, 0x00, 0x01, 0x10, 0xF9,
|
|
|
|
0x40, 0x2F, 0x00, 0x00, 0x10, 0x00, 0x00, 0x04,
|
|
|
|
0x40, 0x2F, 0x00, 0x08, 0x00, 0x03, 0x05, 0x24,
|
|
|
|
0x40, 0x2F, 0x00, 0x0C, 0x06, 0x03, 0x05, 0x24,
|
|
|
|
0x40, 0x2F, 0x00, 0x10, 0x80, 0x00, 0x00, 0x1B,
|
|
|
|
0x40, 0x2F, 0x00, 0x14, 0x82, 0x00, 0x00, 0x1B,
|
|
|
|
0x40, 0x2F, 0x00, 0x18, 0x84, 0x00, 0x00, 0x1B,
|
|
|
|
0x40, 0x2F, 0x00, 0x1C, 0x86, 0x00, 0x00, 0x1B,
|
|
|
|
0x40, 0x2F, 0x00, 0x20, 0x90, 0x00, 0x00, 0x21,
|
|
|
|
0x40, 0x2F, 0x00, 0x24, 0xA0, 0x00, 0x00, 0x19,
|
|
|
|
0x40, 0x2F, 0x00, 0x28, 0xA8, 0x00, 0x00, 0x17,
|
|
|
|
0x40, 0x2F, 0x00, 0x2C, 0xA9, 0x00, 0x00, 0x1B,
|
|
|
|
0x40, 0x2F, 0x00, 0x30, 0x00, 0x00, 0x00, 0x21,
|
|
|
|
0x40, 0x2F, 0x00, 0x04, 0x00, 0x00, 0x79, 0xA8,
|
|
|
|
0x40, 0x2F, 0x00, 0x40, 0x00, 0x00, 0x0F, 0x31,
|
|
|
|
0x40, 0x2F, 0x00, 0x44, 0x00, 0x65, 0x29, 0x22,
|
|
|
|
0x40, 0x2F, 0x00, 0x48, 0x00, 0x01, 0x09, 0x20,
|
|
|
|
0x40, 0x2F, 0x00, 0x4C, 0x50, 0x21, 0x0A, 0x08,
|
|
|
|
0x40, 0x2F, 0x00, 0x80, 0x00, 0x00, 0x00, 0x21,
|
|
|
|
0x40, 0x2F, 0x00, 0x84, 0x00, 0x88, 0x88, 0x88,
|
|
|
|
0x40, 0x2F, 0x00, 0x94, 0x00, 0x00, 0x00, 0x02,
|
|
|
|
0x40, 0x2F, 0x00, 0x98, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x2F, 0x00, 0x90, 0x80, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x2F, 0x00, 0x9C, 0xA5, 0x5A, 0x00, 0x0F,
|
|
|
|
0xCF, 0x00, 0x0C, 0x1C, 0x40, 0x2F, 0x00, 0x3C, 0x00, 0x00, 0x00, 0x01,
|
|
|
|
0xCC, 0x00, 0x14, 0x04,
|
|
|
|
0x40, 0x2F, 0x00, 0x90, 0x80, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x2F, 0x00, 0x9C, 0xA5, 0x5A, 0x00, 0x0C,
|
|
|
|
0xCF, 0x00, 0x0C, 0x1C, 0x40, 0x2F, 0x00, 0x3C, 0x00, 0x00, 0x00, 0x01,
|
|
|
|
0xCC, 0x00, 0x14, 0x04,
|
|
|
|
0x40, 0x2F, 0x00, 0x90, 0x80, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x2F, 0x00, 0x9C, 0xA5, 0x5A, 0x00, 0x0C,
|
|
|
|
0xCF, 0x00, 0x0C, 0x1C, 0x40, 0x2F, 0x00, 0x3C, 0x00, 0x00, 0x00, 0x01,
|
|
|
|
0xCC, 0x00, 0x1C, 0x04,
|
|
|
|
0x40, 0x2F, 0x00, 0xA0, 0x00, 0x00, 0x00, 0x33,
|
|
|
|
0x40, 0x2F, 0x00, 0x90, 0x80, 0x00, 0x00, 0x00,
|
|
|
|
0x40, 0x2F, 0x00, 0x9C, 0xA5, 0x5A, 0x00, 0x0A,
|
|
|
|
0xCF, 0x00, 0x0C, 0x1C, 0x40, 0x2F, 0x00, 0x3C, 0x00, 0x00, 0x00, 0x01,
|
|
|
|
0xCC, 0x00, 0x0C, 0x04, 0x40, 0x2F, 0x00, 0x4C, 0x50, 0x21, 0x0A, 0x09
|
|
};
|
|
|
|
#else
|
|
const uint8_t dcd_data[] = { 0x00 };
|
|
#endif
|
|
#endif
|