fix build error when support bootlogo.

- 1e702b,fix build error when support bootlogo.

Change-Id: I135d7b5e360644335988dbd37ce2fc4addbf6477
This commit is contained in:
sophgo-forum-service
2024-06-03 20:27:55 +08:00
committed by carbon
parent 5c388375f5
commit 7f009500c5
4 changed files with 4 additions and 1 deletions

View File

@ -876,7 +876,7 @@ static const init_fnc_t init_sequence_f[] = {
#if defined(CONFIG_SYSRESET) #if defined(CONFIG_SYSRESET)
print_resetinfo, print_resetinfo,
#endif #endif
#if defined(CONFIG_DISPLAY_CPUINFO) #if defined(CONFIG_DISPLAY_CPUINFO) && CONFIG_IS_ENABLED(CPU)
print_cpuinfo, /* display cpu info (and speed) */ print_cpuinfo, /* display cpu info (and speed) */
#endif #endif
#if defined(CONFIG_DTB_RESELECT) #if defined(CONFIG_DTB_RESELECT)

View File

@ -8,6 +8,7 @@
#include "dm/device.h" #include "dm/device.h"
#include "timer.h" #include "timer.h"
#include "asm/cache.h" #include "asm/cache.h"
#include "cpu_func.h"
#define JPU_BIT_REG_SIZE 0x1000 #define JPU_BIT_REG_SIZE 0x1000
#define JPU_BIT_REG_BASE (0x0B000000) #define JPU_BIT_REG_BASE (0x0B000000)

View File

@ -15,6 +15,7 @@
#include "jdi_osal.h" #include "jdi_osal.h"
#include "asm/cache.h" #include "asm/cache.h"
#include "jpulog.h" #include "jpulog.h"
#include "cpu_func.h"
#if defined(JPEG_FVP) #if defined(JPEG_FVP)
#define FILE_BUFFER_BASE 0xE0000000 #define FILE_BUFFER_BASE 0xE0000000

View File

@ -7,6 +7,7 @@
#include "regdefine.h" #include "regdefine.h"
#include <stdlib.h> #include <stdlib.h>
#include "asm/cache.h" #include "asm/cache.h"
#include "cpu_func.h"
#ifdef JPU_FPGA_PLATFORM #ifdef JPU_FPGA_PLATFORM
//#define ENC_SOURCE_FRAME_DISPLAY //#define ENC_SOURCE_FRAME_DISPLAY