mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-25 18:44:40 +02:00
[usbboot] sync defines with jz4760.h
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
parent
e90f2f2f25
commit
dd5adf5bb1
@ -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 */
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user