update nxp mcux sdk, also enable dcache in board_init()
This commit is contained in:
parent
d553768eef
commit
e68c235a71
8 changed files with 11 additions and 7 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit a242602a02fee2945287d446801217904a26fc7e
|
||||
Subproject commit ae2ab01d9d70ad00cd0e935c2552bd5f0e5c0294
|
||||
|
|
@ -46,6 +46,10 @@ const uint8_t dcd_data[] = { 0x00 };
|
|||
|
||||
void board_init(void)
|
||||
{
|
||||
#if defined(__DCACHE_PRESENT) && __DCACHE_PRESENT
|
||||
if (SCB_CCR_DC_Msk != (SCB_CCR_DC_Msk & SCB->CCR)) SCB_EnableDCache();
|
||||
#endif
|
||||
|
||||
// Init clock
|
||||
BOARD_BootClockRUN();
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ __attribute__((section(".boot_hdr.boot_data")))
|
|||
/*************************************
|
||||
* Boot Data
|
||||
*************************************/
|
||||
const BOOT_DATA_T boot_data = {
|
||||
const BOOT_DATA_T g_boot_data = {
|
||||
BOARD_BOOT_START, /* boot start location */
|
||||
BOARD_BOOT_LENGTH, /* bootloader size 32K */
|
||||
PLUGIN_FLAG, /* Plugin flag */
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ __attribute__((section(".boot_hdr.boot_data")))
|
|||
/*************************************
|
||||
* Boot Data
|
||||
*************************************/
|
||||
const BOOT_DATA_T boot_data = {
|
||||
const BOOT_DATA_T g_boot_data = {
|
||||
BOARD_BOOT_START, /* boot start location */
|
||||
BOARD_BOOT_LENGTH, /* bootloader size 48K */
|
||||
PLUGIN_FLAG, /* Plugin flag*/
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ __attribute__((section(".boot_hdr.boot_data")))
|
|||
/*************************************
|
||||
* Boot Data
|
||||
*************************************/
|
||||
const BOOT_DATA_T boot_data = {
|
||||
const BOOT_DATA_T g_boot_data = {
|
||||
BOARD_BOOT_START, /* boot start location */
|
||||
BOARD_BOOT_LENGTH, /* bootloader size 48K */
|
||||
PLUGIN_FLAG, /* Plugin flag */
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ __attribute__((section(".boot_hdr.boot_data")))
|
|||
/*************************************
|
||||
* Boot Data
|
||||
*************************************/
|
||||
const BOOT_DATA_T boot_data = {
|
||||
const BOOT_DATA_T g_boot_data = {
|
||||
BOARD_BOOT_START, /* boot start location */
|
||||
BOARD_BOOT_LENGTH, /* bootloader size 48K */
|
||||
PLUGIN_FLAG, /* Plugin flag */
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ __attribute__((section(".boot_hdr.boot_data")))
|
|||
/*************************************
|
||||
* Boot Data
|
||||
*************************************/
|
||||
const BOOT_DATA_T boot_data = {
|
||||
const BOOT_DATA_T g_boot_data = {
|
||||
BOARD_BOOT_START, /* boot start location */
|
||||
BOARD_BOOT_LENGTH, /* bootloader size 48K */
|
||||
PLUGIN_FLAG, /* Plugin flag */
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ __attribute__((section(".boot_hdr.boot_data")))
|
|||
/*************************************
|
||||
* Boot Data
|
||||
*************************************/
|
||||
const BOOT_DATA_T boot_data = {
|
||||
const BOOT_DATA_T g_boot_data = {
|
||||
BOARD_BOOT_START, /* boot start location */
|
||||
BOARD_BOOT_LENGTH, /* bootloader size 32K */
|
||||
PLUGIN_FLAG, /* Plugin flag */
|
||||
|
|
|
|||
Loading…
Reference in a new issue