blob: 40b7e1a84584d128b8216e9d526898ea1a2eaa04 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#include "config.h"
2
3#define DOWNLOADER_BUFFER_BASE CONFIG_USB_DMA_BUF_ADDR
4
xf.libdd93d52023-05-12 07:10:14 -07005#if CONFIG_ZX297520V3T_64M_UBOOT
lh9ed821d2023-04-07 01:36:19 -07006#define DOWNLOADER_BUFFER_SIZE 0x3000000 /* 48M */
xf.libdd93d52023-05-12 07:10:14 -07007#elif CONFIG_ZX297520V3T_128M_UBOOT
8#define DOWNLOADER_BUFFER_SIZE 0x7000000 /* 112M */
lh9ed821d2023-04-07 01:36:19 -07009#else
10#define DOWNLOADER_BUFFER_SIZE 0x1A00000 /*26M*/
11#endif
12
13//#define DOWNLOADER_BUFFER_SIZE (CONFIG_SYS_SDRAM_SIZE-0xA00000)
14//#define DOWNLOADER_BUFFER_SIZE 0x80000
15//#define CONFIG_LOAD_CRC
16