Date:2009-08-30 15:55:14 (10 years 9 months ago)
Author:Xiangfu Liu
Commit:845ae95905a1680e74aea7c2565bb51ed19cbbdb
Message:fix the SDRAM_BANK4. should be 0 or 1

Files: usbboot/xburst_stage1/main.c (2 diffs)

Change Details

usbboot/xburst_stage1/main.c
4747    UART_BASE = UART0_BASE + fw_args->use_uart * 0x1000;
4848    CONFIG_BAUDRATE = 57600;
4949    SDRAM_BW16 = 1;
50    SDRAM_BANK4 = 4;
50    SDRAM_BANK4 = 1;
5151    SDRAM_ROW = 13;
5252    SDRAM_COL = 9;
5353    CONFIG_MOBILE_SDRAM = 0;
...... 
7373    UART_BASE = UART0_BASE + fw_args->use_uart * 0x1000;
7474    CONFIG_BAUDRATE = fw_args->boudrate;
7575    SDRAM_BW16 = fw_args->bus_width;
76    SDRAM_BANK4 = fw_args->bank_num * 4;
76    SDRAM_BANK4 = fw_args->bank_num;
7777    SDRAM_ROW = fw_args->row_addr;
7878    SDRAM_COL = fw_args->col_addr;
7979    CONFIG_MOBILE_SDRAM = fw_args->is_mobile;

Archive Download the corresponding diff file



interactive