Re: [U-Boot] Driver for CONFIG_CF_QSPI

2010-08-24 Thread TsiChung Liew
Richard, The QSPI driver can be found in MCF5329 LTIB. Regards, TC On Mon, 2010-07-26 at 16:33 -0400, Richard Retanubun wrote: > Hi TC, > > I am looking to use the QSPI for MCF5270 and noticed that the cf_spi driver > only stubs this part. > Any chance there are CF_QSPI driver code written som

[U-Boot] [PATCH] ColdFire: Fix missing _IO_BASE which caused compile error

2009-07-28 Thread TsiChung Liew
The compile error was caused by a recent patch. Affected platforms - M5253DEMO.h, M5253EVBE.h, and M54455EVB.h. Adding the _IO_BASE automatically defined to 0 in asm-m68k/io.h if it isn't set in platform configuration file. Signed-off-by: TsiChung Liew --- include/asm-m68k/io.h |4 ++

[U-Boot] [PATCH] ColdFire: Fix compile warning messages

2009-07-28 Thread TsiChung Liew
Change %08lX to %08X in board.c. Remove unused variable 'oscillator' in mcf5227x/cpu_init.c and 'scm2' in mcf532x/cpu_init.c. Provide argument type cast in drivers/dma/MCD_dmaApi.c. Signed-off-by: TsiChung Liew --- cpu/mcf5227x/cpu_init.c |1 - cpu/mcf532x/cpu_init.c

[U-Boot] [PATCH] Fix FEC compile warning message

2009-07-28 Thread TsiChung Liew
Provide function protocol for icache_invalid(). Signed-off-by: TsiChung Liew --- drivers/net/mcffec.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/net/mcffec.c b/drivers/net/mcffec.c index 64be5de..d3741a7 100644 --- a/drivers/net/mcffec.c +++ b/drivers

[U-Boot] [PATCH 01/13] ColdFire: Correct bit definition

2010-03-17 Thread TsiChung Liew
Use correct definition for _MASK and _UNMASK. It was combined in the previous used and causes confusion. Signed-off-by: TsiChung Liew --- board/freescale/m54455evb/m54455evb.c |2 +- cpu/mcf5227x/cpu_init.c | 12 ++-- cpu/mcf52x2/cpu_init.c| 14 ++-- cpu

[U-Boot] [PATCH 02/13] ColdFire: Update processors' serial port configuration

2010-03-17 Thread TsiChung Liew
Provide parameter passing to uart_port_config(). Update port configuration - un-mask it before enable the bits. Signed-off-by: TsiChung Liew --- cpu/mcf5227x/cpu_init.c |4 +- cpu/mcf523x/cpu_init.c| 26 +- cpu/mcf52x2/cpu_init.c| 61

[U-Boot] [PATCH 03/13] ColdFire: Update uart_port_conf in serial driver

2010-03-17 Thread TsiChung Liew
Provide proper port passing from serial_init to uart_part_conf. Signed-off-by: TsiChung Liew --- drivers/serial/mcfuart.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/serial/mcfuart.c b/drivers/serial/mcfuart.c index 0b53140..d93b24b 100644 --- a/drivers

[U-Boot] [PATCH 04/13] ColdFire: Relocate vector table - mcf5445x

2010-03-17 Thread TsiChung Liew
existed at address 0. Signed-off-by: TsiChung Liew --- cpu/mcf5445x/cpu_init.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/cpu/mcf5445x/cpu_init.c b/cpu/mcf5445x/cpu_init.c index 00e0ca6..8d51d35 100644 --- a/cpu/mcf5445x/cpu_init.c +++ b/cpu/mcf5445x/cpu_init.c

[U-Boot] [PATCH 05/13] ColdFire: Update M5253DEMO configuration file

2010-03-17 Thread TsiChung Liew
Fix incorrect default environment for flash erase or protect range. Change offset from 0 to 0xff80. Change default ethernet setup. Signed-off-by: TsiChung Liew --- include/configs/M5253DEMO.h | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/configs

[U-Boot] [PATCH 06/13] ColdFire: M5271EVB DRAM Bring up issue

2010-03-17 Thread TsiChung Liew
Fix proper portsize: The register for portsize is either 00b, 01b, or 1xb. The value that previous assigned is 32d. Fix DRAM bring up: insert asm("nop") for every DRAM register setup Signed-off-by: TsiChung Liew --- board/freescale/m5271evb/m5271evb.c | 12 ++-- 1 files c

[U-Boot] [PATCH 08/13] ColdFire: Add CPU compile flag for mcf5301x and mcf532x

2010-03-17 Thread TsiChung Liew
Add CPU compile flag -mcpu=53015 in cpu/config.mk Signed-off-by: TsiChung Liew --- cpu/mcf532x/config.mk | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/cpu/mcf532x/config.mk b/cpu/mcf532x/config.mk index 0cb90ac..b783444 100644 --- a/cpu/mcf532x/config.mk

[U-Boot] [PATCH 07/13] ColdFire: Update Extra environment Data for M5275EVB

2010-03-17 Thread TsiChung Liew
Provide extra environment Data and default network address Signed-off-by: TsiChung Liew --- include/configs/M5275EVB.h | 28 +++- 1 files changed, 23 insertions(+), 5 deletions(-) diff --git a/include/configs/M5275EVB.h b/include/configs/M5275EVB.h index b380159

[U-Boot] [PATCH 09/13] ColdFire: Misc update for M53017

2010-03-17 Thread TsiChung Liew
Reside Ethernet buffer descriptors in SRAM instead of DRAM. Add CONFIG_SYS_TX_ETH_BUFFER in platform configuration file. Update DRAM control and SRAM control register setting. Update cache setting where size does not write to proper region. Signed-off-by: TsiChung Liew Signed-off-by: Jason Jin

[U-Boot] [PATCH 10/13] ColdFire: Fix SDRAM size on M5208evb rev E

2010-03-17 Thread TsiChung Liew
The proper SDRAM size is 32MB not 64MB Signed-off-by: Jingchang Lu --- include/configs/M5208EVBE.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/M5208EVBE.h b/include/configs/M5208EVBE.h index 32123d2..3cc259f 100644 --- a/include/configs/M5208EVBE.h +

[U-Boot] [PATCH 12/13] ColdFire: Fix incorrect M5253DEMO default environment

2010-03-17 Thread TsiChung Liew
The flash location is at 0xff80, not 0 Signed-off-by: TsiChung Liew --- include/configs/M5253DEMO.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/M5253DEMO.h b/include/configs/M5253DEMO.h index 2d2e056..1eff44c 100644 --- a/include/configs

[U-Boot] [PATCH 11/13] ColdFire: Cache update for all platforms

2010-03-17 Thread TsiChung Liew
The CF will call cache functions in lib_m68/cache.c and the cache settings are defined in platform configuration file. Signed-off-by: TsiChung Liew --- cpu/mcf5227x/start.S | 100 ++- cpu/mcf523x/start.S | 75 +- cpu/mcf52x2/start.S

[U-Boot] [PATCH 13/13] ColdFire: Fix m54455EVB save environment bug

2010-03-17 Thread TsiChung Liew
The ATMEL flash does not have buffer write feature. Assgined buffer_size = 1, so that when there is a write to the flash will not use buffer write function. Signed-off-by: TsiChung Liew --- board/freescale/m54455evb/m54455evb.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[U-Boot] [PATCH 08/16 v2] ColdFire: Update M5253DEMO configuration file

2010-03-22 Thread TsiChung Liew
Fix incorrect default environment for flash erase or protect range. Change offset from 0 to 0xff80. Remove default ethernet setup and MAC address. Signed-off-by: TsiChung Liew --- include/configs/M5253DEMO.h |9 ++--- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a

[U-Boot] [PATCH 10/16 v2] ColdFire: Update Extra environment Data for M5275EVB

2010-03-22 Thread TsiChung Liew
Provide extra environment Data. Remove default network address and MAC address. Signed-off-by: TsiChung Liew --- include/configs/M5275EVB.h | 22 +- 1 files changed, 17 insertions(+), 5 deletions(-) diff --git a/include/configs/M5275EVB.h b/include/configs/M5275EVB.h

[U-Boot] Pull request - ColdFire next

2010-03-24 Thread TsiChung Liew
e.git next Michael Durrant (1): Adding EP2500 MCF5282 board [PATCH] Philippe De Muyter (1): fix cmd_bdinfo.c:354: warning: 'print_eth' defined but not used TsiChung Liew (13): ColdFire: Correct bit definition ColdFire: Update processors' serial port con

[U-Boot] [PATCH] Compier warning cleanup

2009-06-01 Thread TsiChung Liew
From: Richard Retanubun Follow up to git commit: 19b5b533ccd522abeb501d510750693c35e20456 Cleanup on compiler warnings on unused variables now that bd->bi_enetaddr is no longer used. Signed-off-by: Richard Retanubun --- lib_m68k/board.c |3 +-- 1 files changed, 1 insertions(+), 2 deletion

[U-Boot] [PATCH] Coldfire M5271: Activate u-boot system timer interrupt.

2009-06-01 Thread TsiChung Liew
From: Richard Retanubun This patch assigns the u-boot system timer interrupt to interrupt level 3, priority 6. Without this patch the interrupt will be a level 0, priority 0, which disables it and cause u-boot functions that relies on the timer (e.g. sleep command) to never return. Signed-off-by

[U-Boot] [PATCH] Standardize the use of MCFFEC_TOUT_LOOP as a udelay(1) loop counter.

2009-06-01 Thread TsiChung Liew
From: Richard Retanubun Signed-off-by: Richard Retanubun --- drivers/net/mcfmii.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/mcfmii.c b/drivers/net/mcfmii.c index 4f1c0a0..4acc29e 100644 --- a/drivers/net/mcfmii.c +++ b/drivers/net/mcfmii.c @@ -270,7 +

[U-Boot] [PATCH] ColdFire: Update configuration file to use flash buffer write

2009-07-08 Thread TsiChung Liew
Update M52277EVB, M53017EVB and M54455EVB platform configuration file to use flash buffer write Signed-off-by: TsiChung Liew --- include/configs/M52277EVB.h |2 ++ include/configs/M53017EVB.h |2 ++ include/configs/M54455EVB.h |1 + 3 files changed, 5 insertions(+), 0 deletions

[U-Boot] [PATCH] ColdFire: Update for M54451EVB

2009-07-08 Thread TsiChung Liew
Update serial boot DRAM's Internal RAM, vector table and DRAM in start.S, serial flash's read status command over SPI and NOR flash. Signed-off-by: TsiChung Liew --- Makefile |9 +--- board/freescale/m54451evb/u-boot.spa |9 +++- cpu/mcf54

[U-Boot] [PATCH] ColdFire: Fix M53017EVB flash size

2009-07-08 Thread TsiChung Liew
Increase the flash size from 8MB to 16MB Signed-off-by: TsiChung Liew --- include/configs/M53017EVB.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/M53017EVB.h b/include/configs/M53017EVB.h index 54c385e..801f90f 100644 --- a/include/configs

[U-Boot] [PATCH] ColdFire: Add M5208EVB and MCF520x CPU support

2009-07-08 Thread TsiChung Liew
Signed-off-by: TsiChung Liew --- MAKEALL |1 + Makefile |3 + board/freescale/m5208evbe/Makefile| 44 board/freescale/m5208evbe/config.mk | 25 +++ board/freescale/m5208evbe/m5208evbe.c | 94 + board

[U-Boot] [PATCH] ColdFire: Remove compiler warning messages

2009-07-08 Thread TsiChung Liew
Remove unused variables and printf type mismatch in lib_m68k/board.c Signed-off-by: TsiChung Liew --- lib_m68k/board.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib_m68k/board.c b/lib_m68k/board.c index db45b00..a570b15 100644 --- a/lib_m68k/board.c +++ b/lib_m68k

[U-Boot] [PATCH] Coldfire: Consolidate DSPI driver

2009-07-08 Thread TsiChung Liew
Unify both MCF5227x and MCF5445x DSPI driver in CPU to driver/spi folder for common use. Signed-off-by: TsiChung Liew --- drivers/spi/Makefile |1 + drivers/spi/cf_spi.c | 357 ++ 2 files changed, 358 insertions(+), 0 deletions(-) create

[U-Boot] [PATCH] ColdFire: Add DSPI support for MCF5227x and MCF5445x

2009-07-08 Thread TsiChung Liew
Remove individual CPU specific DSPI driver. Add required feature for the common DSPI driver in cpu_init and in platform configuration file. Signed-off-by: TsiChung Liew --- cpu/mcf5227x/Makefile|2 +- cpu/mcf5227x/cpu_init.c | 53 cpu/mcf5227x/dspi.c

[U-Boot] [PATCH] Command for accessing serial flash update

2009-07-08 Thread TsiChung Liew
Change strtoul number base of argv 3 from 0 to 16 Signed-off-by: TsiChung Liew --- common/cmd_sf.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/cmd_sf.c b/common/cmd_sf.c index 6a60b16..384e6d3 100644 --- a/common/cmd_sf.c +++ b/common/cmd_sf.c @@ -48,7 +48,7

[U-Boot] [PATCH] ColdFire: Update bootargs

2009-07-08 Thread TsiChung Liew
Add a bootargs for M53017EVB and update bootargs for M54451EVB Signed-off-by: TsiChung Liew --- include/configs/M53017EVB.h |3 +++ include/configs/M54451EVB.h |2 +- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/include/configs/M53017EVB.h b/include/configs/M53017EVB.h

[U-Boot] Please pull u-boot-coldfire/master

2010-05-28 Thread TsiChung Liew
The following changes since commit c4976807cbbabd281f45466ac5e47e5639bcc9cb: Wolfgang Denk (1): Coding style cleanup, update CHANGELOG. are available in the git repository at: git://git.denx.de/u-boot-coldfire.git master Wolfgang Denk (1): Prepare v2010.06-rc1 Wolfgang Wegner