Merge tag 'xilinx-for-v2018.01-rc2-v2' of git://www.denx.de/git/u-boot-microblaze
Xilinx changes for v2018.01-rc2-v2 fpga: - Enable loading bitstream via fit image for !xilinx platforms zynq: - Fix SPL SD boot mode zynqmp: - Not not reset in panic - Do not use simple allocator because of fat changes - Various dt chagnes - modeboot variable setup - Fix fpga loading on automotive devices - Fix coverity issues test: - Fix env test for !hush case - Stephen's patch
This commit is contained in:
@@ -126,6 +126,7 @@
|
||||
#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
|
||||
#define CONFIG_SYS_LONGHELP
|
||||
#define CONFIG_CMDLINE_EDITING
|
||||
#define CONFIG_PANIC_HANG
|
||||
#define CONFIG_SYS_MAXARGS 64
|
||||
|
||||
/* Ethernet driver */
|
||||
@@ -233,6 +234,15 @@
|
||||
|
||||
#define CONFIG_SPL_FRAMEWORK
|
||||
|
||||
#if defined(CONFIG_SPL_SPI_FLASH_SUPPORT)
|
||||
# define CONFIG_SPL_SPI_LOAD
|
||||
# define CONFIG_SYS_SPI_KERNEL_OFFS 0x80000
|
||||
# define CONFIG_SYS_SPI_ARGS_OFFS 0xa0000
|
||||
# define CONFIG_SYS_SPI_ARGS_SIZE 0xa0000
|
||||
|
||||
# define CONFIG_SYS_SPI_U_BOOT_OFFS 0x170000
|
||||
#endif
|
||||
|
||||
/* u-boot is like dtb */
|
||||
#define CONFIG_SPL_FS_LOAD_ARGS_NAME "u-boot.bin"
|
||||
#define CONFIG_SYS_SPL_ARGS_ADDR 0x8000000
|
||||
@@ -257,14 +267,14 @@
|
||||
# define CONFIG_SPL_ENV_SUPPORT
|
||||
# define CONFIG_SPL_HASH_SUPPORT
|
||||
# define CONFIG_ENV_MAX_ENTRIES 10
|
||||
#endif
|
||||
|
||||
# define CONFIG_SYS_SPL_MALLOC_START 0x20000000
|
||||
# define CONFIG_SYS_SPL_MALLOC_SIZE 0x100000
|
||||
#define CONFIG_SYS_SPL_MALLOC_START 0x20000000
|
||||
#define CONFIG_SYS_SPL_MALLOC_SIZE 0x100000
|
||||
|
||||
#ifdef CONFIG_SPL_SYS_MALLOC_SIMPLE
|
||||
# error "Disable CONFIG_SPL_SYS_MALLOC_SIMPLE. Full malloc needs to be used"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
|
||||
|
||||
@@ -344,12 +344,9 @@
|
||||
/* 3 * 64kB blocks of OCM - one is on the top because of bootrom */
|
||||
#define CONFIG_SPL_MAX_SIZE 0x30000
|
||||
|
||||
/* The highest 64k OCM address */
|
||||
#define OCM_HIGH_ADDR 0xffff0000
|
||||
|
||||
/* On the top of OCM space */
|
||||
#define CONFIG_SYS_SPL_MALLOC_START OCM_HIGH_ADDR
|
||||
#define CONFIG_SYS_SPL_MALLOC_SIZE 0x2000
|
||||
#define CONFIG_SYS_SPL_MALLOC_START CONFIG_SPL_STACK_R_ADDR
|
||||
#define CONFIG_SYS_SPL_MALLOC_SIZE 0x2000000
|
||||
|
||||
/*
|
||||
* SPL stack position - and stack goes down
|
||||
|
||||
@@ -54,6 +54,7 @@ void fpga_init(void);
|
||||
int fpga_add(fpga_type devtype, void *desc);
|
||||
int fpga_count(void);
|
||||
const fpga_desc *const fpga_get_desc(int devnum);
|
||||
int fpga_is_partial_data(int devnum, size_t img_len);
|
||||
int fpga_load(int devnum, const void *buf, size_t bsize,
|
||||
bitstream_type bstype);
|
||||
int fpga_fsload(int devnum, const void *buf, size_t size,
|
||||
|
||||
Reference in New Issue
Block a user