From efa329cb892c8b9a5e453638b3ca57c94b71e9a2 Mon Sep 17 00:00:00 2001 From: wdenk Date: Tue, 23 Mar 2004 20:18:25 +0000 Subject: * Add start-up delay to make sure power has stabilized before attempting to switch on USB on SX1 board. * Patch by Josef Wagner, 18 Mar 2004: - Add support for MicroSys XM250 board (PXA255) - Add support for MicroSys PM828 board (MPC8280) - Add support for 32 MB Flash on PM825/826 - new SDRAM refresh rate for PM825/PM826 - added support for MicroSys PM520 (MPC5200) - replaced Query by Identify command in CPU86/flash.c to support 28F160F3B * Fix wrap around problem with udelay() on ARM920T * Add support for Macronix flash on TRAB board --- board/sx1/platform.S | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'board/sx1/platform.S') diff --git a/board/sx1/platform.S b/board/sx1/platform.S index 3048128..bd54df1 100644 --- a/board/sx1/platform.S +++ b/board/sx1/platform.S @@ -118,30 +118,21 @@ platformsetup: str r1, [r0] /* EMIFS GlB Configuration. (value 0x12 most likely) */ ldr r0, _GPIO_PIN_CONTROL_REG - ldrh r1,[r0] + mov r1,#0 orr r1, r1, #0x0001 /* M_PCM_SYNC */ orr r1, r1, #0x4000 /* IPC_ACTIVE */ - orr r1, r1, #0x0002 /* A_IRDA_OFF */ - orr r1, r1, #0x0800 /* A_SWITCH */ - orr r1, r1, #0x8000 /* A_USB_ON */ strh r1,[r0] ldr r0, _GPIO_DIR_CONTROL_REG - ldrh r1,[r0] + mov r1,#0 bic r1, r1, #0x0001 /* M_PCM_SYNC */ bic r1, r1, #0x4000 /* IPC_ACTIVE */ - bic r1, r1, #0x0002 /* A_IRDA_OFF */ - bic r1, r1, #0x0800 /* A_SWITCH */ - bic r1, r1, #0x8000 /* A_USB_ON */ strh r1,[r0] ldr r0, _GPIO_DATA_OUTPUT_REG - ldrh r1,[r0] + mov r1,#0 bic r1, r1, #0x0001 /* M_PCM_SYNC */ orr r1, r1, #0x4000 /* IPC_ACTIVE */ - orr r1, r1, #0x0002 /* A_IRDA_OFF */ - bic r1, r1, #0x0800 /* A_SWITCH */ - bic r1, r1, #0x8000 /* A_USB_ON */ strh r1,[r0] /* Setup some clock domains */ -- cgit v1.1