lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | #include "config.h"
|
| 2 |
|
| 3 | #define DOWNLOADER_BUFFER_BASE CONFIG_USB_DMA_BUF_ADDR
|
| 4 |
|
xf.li | bdd93d5 | 2023-05-12 07:10:14 -0700 | [diff] [blame] | 5 | #if CONFIG_ZX297520V3T_64M_UBOOT
|
lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 6 | #define DOWNLOADER_BUFFER_SIZE 0x3000000 /* 48M */
|
xf.li | bdd93d5 | 2023-05-12 07:10:14 -0700 | [diff] [blame] | 7 | #elif CONFIG_ZX297520V3T_128M_UBOOT
|
| 8 | #define DOWNLOADER_BUFFER_SIZE 0x7000000 /* 112M */
|
lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 9 | #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 |
|