1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-01 08:29:41 +02:00

[usbboot] sync defines with jz4760.h

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
Xiangfu Liu 2010-07-22 14:56:40 +08:00
parent e90f2f2f25
commit dd5adf5bb1
2 changed files with 6 additions and 6 deletions

View File

@ -1521,7 +1521,7 @@ do { \
*************************************************************************/
#define IRDA_BASE UART0_BASE
#define UART_BASE UART0_BASE
//#define UART_BASE UART0_BASE
#define UART_OFF 0x1000
/* Register Offset */

View File

@ -6,8 +6,8 @@
* Copyright (C) 2006 Ingenic Semiconductor Inc.
*
*/
#include "target/jz4760.h"
#include "target/xburst_types.h"
#include "target/jz4760.h"
#include "board-jz4760.h"
extern volatile u32 UART_BASE;
@ -463,8 +463,8 @@ static int ddr_dma_test(int print_flag) {
volatile unsigned int tmp;
register unsigned int cpu_clk;
long int memsize, banksize, testsize;
REG_DMAC_DMADCKE(0) = 0x3f;
REG_DMAC_DMADCKE(1) = 0x3f;
REG_DMAC_DMACKE(0) = 0x3f;
REG_DMAC_DMACKE(1) = 0x3f;
#ifndef CONFIG_DDRC
banks = (SDRAM_BANK4 ? 4 : 2) *(CONFIG_NR_DRAM_BANKS);
@ -849,8 +849,8 @@ void sdram_init_4760(void)
//add driver power
REG_EMC_PMEMPS2 |= (3 << 18);
REG_DMAC_DMADCKE(0) = 0x3f;
REG_DMAC_DMADCKE(1) = 0x3f;
REG_DMAC_DMACKE(0) = 0x3f;
REG_DMAC_DMACKE(1) = 0x3f;
int i, num = 0, tsel = 0, msel, hl;
volatile unsigned int tmp_cnt;
register unsigned int tmp, cpu_clk, mem_clk, ddr_twr, ns, ns_int;