This commit is contained in:
刘可亮
2024-09-03 11:16:08 +08:00
parent cf270df8d6
commit 803cac77d5
2931 changed files with 614364 additions and 31222 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023, Artinchip Technology Co., Ltd
* Copyright (c) 2023-2024, ArtInChip Technology Co., Ltd
*
* SPDX-License-Identifier: Apache-2.0
*
@@ -21,6 +21,7 @@
#include <aic_core.h>
#include <aic_flash_xip_def.h>
#include "fitimage.h"
#include "of.h"
#if defined(AIC_BOOTLOADER_CMD_XIP_BOOT) && defined(AIC_QSPI_DRV_V11)
@@ -110,6 +111,9 @@ static int do_xip_boot(int argc, char *argv[])
if (ret < 0)
goto out;
/* Read dtb from config partition */
of_fdt_dt_init_bare_nornand();
/* boot */
aicos_dcache_clean();
boot_app((void *)entry_point);