[U-Boot] [PATCH] Adds WATCHDOG_RESET() function call to lib_m68k dtimer_interrupt.

2009-06-01 Thread Tsi-Chung Liew
From: Richard Retanubun Ported from lib_ppc/interrupts.c, this adds the ability for the coldfire system timer to auto-reset the watchdog when dtimer_interrupts is called. Signed-off-by: Richard Retanubun --- lib_m68k/time.c | 13 - 1 files changed, 12 insertions(+), 1 deletions(-

[U-Boot] [PATCH] Add I2C speed and divider formula for ColdFire

2009-04-09 Thread Tsi-Chung Liew
From: TsiChung Liew Implement formula to obtain I2C speed and internal bus divider. This will provide accurate divider than fix table divider value. Signed-off-by: TsiChung Liew --- drivers/i2c/fsl_i2c.c | 76 + 1 files changed, 51 insertions(+

[U-Boot] [PATCH] ColdFire: PLATFORM_CPPFLAGS updates for new compiler

2009-03-17 Thread Tsi-Chung Liew
From: TsiChung Liew Update PLATFORM_CPPFLAGS to accept 4.3.x version of ColdFire compiler. Signed-off-by: TsiChung Liew --- cpu/mcf5227x/config.mk |4 ++-- cpu/mcf523x/config.mk|2 +- cpu/mcf52x2/config.mk|2 +- cpu/mcf532x/config.mk|2 +- cpu/mcf5445x/config.mk

[U-Boot] [PATCH] ColdFire: Fix incorrect definition

2009-03-17 Thread Tsi-Chung Liew
From: TsiChung Liew Signed-off-by: TsiChung Liew --- include/asm-m68k/m5301x.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/asm-m68k/m5301x.h b/include/asm-m68k/m5301x.h index 52bbb87..80cefc4 100644 --- a/include/asm-m68k/m5301x.h +++ b/include/asm-m68k/m

[U-Boot] [PATCH] ColdFire: Fix M5329EVB and M5373EVB nand issue

2009-03-17 Thread Tsi-Chung Liew
From: TsiChung Liew The Nand flash was unable to read and write properly due to Nand Chip Select (nCE) setup was in reverse order. Also, increase the Nand time out value to 60. Signed-off-by: TsiChung Liew --- board/freescale/m5329evb/nand.c |6 -- board/freescale/m5373evb/nand.c |

[U-Boot] [PATCH] ColdFire: Provide gzip image size V2 & V3 platforms

2009-03-17 Thread Tsi-Chung Liew
From: TsiChung Liew Default gzip bootm size is 8MB. Some platforms require more than 8MB Signed-off-by: TsiChung Liew --- include/configs/M52277EVB.h |1 + include/configs/M5235EVB.h |1 + include/configs/M5253DEMO.h |1 + include/configs/M5253EVBE.h |1 + include/configs/M527

[U-Boot] [PATCH] ColdFire: Fix M54451 serial boot dram setup

2009-03-17 Thread Tsi-Chung Liew
From: TsiChung Liew The serial boot dram extended/standard mode register was not setup and was using default DRAM setup causing the U-boot was unstable to boot up in serial mode. Signed-off-by: TsiChung Liew --- cpu/mcf5445x/start.S |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)

[U-Boot] [PATCH] ColdFire: Fix M5329EVB and M5373EVB nand issue

2008-10-27 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Fix compilation issue caused by a few mismatches. Provide proper nand chip select enable/disable in nand_hwcontrol() rather than in board_nand_init() just enable once. Remove redundant local nand driver functions - nand_read_byte(), nand_write_byte() and nan

[U-Boot] [PATCH v2 5/9] ColdFire: Add mii driver in drivers/net

2008-10-23 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> All CF platforms' mii.c are consolidated into one Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- drivers/net/Makefile |4 +- drivers/net/mcffec.c | 18 +--- drivers/net/mcfmii.c | 321 ++ 3 files

[U-Boot] [PATCH v2 9/9] ColdFire: Fix compilation error

2008-10-23 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> The error was caused by the change for strmhz() in cpu.c. A few of them were one extra close parenthesis. Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- cpu/mcf5227x/cpu.c | 10 +- cpu/mcf523x/cpu.c |4 ++-- cpu/mcf532x/cpu.c |4 +

[U-Boot] [PATCH v2 6/9] ColdFire: Use CFI driver for M5272C3

2008-10-23 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- board/freescale/m5272c3/Makefile |2 +- board/freescale/m5272c3/flash.c | 378 -- include/configs/M5272C3.h| 14 +- 3 files changed, 11 insertions(+), 3

[U-Boot] [PATCH v2 4/9] ColdFire: Relocate FEC's GPIO and mii functions protocols

2008-10-23 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Place FEC pin assignments in cpu_init.c from platform's mii.c Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- cpu/mcf523x/cpu_init.c | 24 +++- cpu/mcf52x2/cpu_init.c | 78 +++ cpu/mcf5

[U-Boot] [PATCH v2 1/9] ColdFire: Remove linker file

2008-10-23 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Each different build for M54455EVB and M5235EVB will create a u-boot.lds linker file. It is redundant to keep the u-boot.lds Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- board/freescale/m5235evb/u-boot.lds | 144 --

[U-Boot] [PATCH 18/19] ColdFire: Add M53017EVB Platform

2008-10-22 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- MAINTAINERS |1 + MAKEALL |1 + Makefile |3 + board/freescale/m53017evb/Makefile| 44 ++ board/f

[U-Boot] [PATCH 17/19] ColdFire: Add MCF5301x CPU header files

2008-10-22 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- include/asm-m68k/immap.h | 32 +++ include/asm-m68k/immap_5301x.h | 324 + include/asm-m68k/m5301x.h | 604 3 files changed, 960

[U-Boot] [PATCH 19/19] ColdFire: Fix compilation error

2008-10-22 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> The error was caused by the change for strmhz() in cpu.c. A few of them were one extra close parenthesis. Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- cpu/mcf5227x/cpu.c | 10 +- cpu/mcf523x/cpu.c |4 ++-- cpu/mcf532x/cpu.c |4 +

[U-Boot] [PATCH 16/19] ColdFire: Add MCF5301x CPU support

2008-10-22 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- cpu/mcf532x/cpu.c | 21 +- cpu/mcf532x/cpu_init.c | 202 cpu/mcf532x/speed.c| 119 cpu/mcf532x/start.S|

[U-Boot] [PATCH 15/19] ColdFire: Add SBF support for M52277EVB

2008-10-22 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Add serial boot support Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- Makefile | 22 +++- board/freescale/m52277evb/config.mk |4 +- board/freescale/m52277evb/m52277evb.c | 26 +++- board/freescale/m52277evb/u-

[U-Boot] [PATCH 14/19] ColdFire: Use CFI driver for M5272C3

2008-10-22 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- board/freescale/m5272c3/Makefile |2 +- board/freescale/m5272c3/flash.c | 378 -- include/configs/M5272C3.h| 14 +- 3 files changed, 11 insertions(+), 3

[U-Boot] [PATCH 13/19] ColdFire: Add mii driver in drivers/net

2008-10-22 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> All CF platforms' mii.c are consolidated into one Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- drivers/net/Makefile |4 +- drivers/net/mcffec.c | 18 +--- drivers/net/mcfmii.c | 321 ++ 3 files

[U-Boot] [PATCH 12/19] ColdFire: Relocate FEC's GPIO and mii functions protocols

2008-10-22 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Place FEC pin assignments in cpu_init.c from platform's mii.c Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- cpu/mcf523x/cpu_init.c | 24 +++- cpu/mcf52x2/cpu_init.c | 78 +++ cpu/mcf5

[U-Boot] [PATCH 11/19] ColdFire: Remove platforms mii.c file - 4

2008-10-22 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Will use mcfmii.c driver in drivers/net rather than keep creating new mii.c for each future platform. Remove M5475EVB and M5485EVB's mii.c Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- board/freescale/m547xevb/Makefile |2 +- board/freescale/m54

[U-Boot] [PATCH 10/19] ColdFire: Remove platforms mii.c file - 3

2008-10-22 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Will use mcfmii.c driver in drivers/net rather than keep creating new mii.c for each future platform. Remove M5329EVB, M5373EVB, M54451EVB & M54455EVB's mii.c Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- board/freescale/m5329evb/Makefile |2 +-

[U-Boot] [PATCH 09/19] ColdFire: Remove platforms mii.c file - 2

2008-10-22 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Will use mcfmii.c driver in drivers/net rather than keep creating new mii.c for each future platform. Remove M5271EVB, M5272C3, M5275EVB and M5282EVB's mii.c Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- board/freescale/m5271evb/Makefile |2 +-

[U-Boot] [PATCH 08/19] ColdFire: Remove platforms mii.c file - 1

2008-10-22 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Will use mcfmii.c driver in drivers/net rather than keep creating new mii.c for each future platform. Remove EB+MCF-EV123, cobra5272, idmr and M5235EVB's mii.c Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- board/BuS/EB+MCF-EV123/Makefile |2 +-

[U-Boot] [PATCH 07/19] ColdFire: Modules header files cleanup - 6

2008-10-22 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Consolidate FlexBus structures and definitions in immap_5xxx.h and m5xxx.h to more unify modules header files. Apply changes to mcf52x2's cpu_init.c Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- cpu/mcf52x2/cpu_init.c | 271 ++-

[U-Boot] [PATCH 06/19] ColdFire: Modules header files cleanup - 5

2008-10-22 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Consolidate interrupt control structures and definitions in immap_5xxx.h and m5xxx.h to more unify module header file - 2 Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- include/asm-m68k/m5227x.h | 233 +-- i

[U-Boot] [PATCH 05/19] ColdFire: Modules header files cleanup - 4

2008-10-22 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Consolidate interrupt control structures and definitions in immap_5xxx.h and m5xxx.h to more unify module header file - 1 Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- include/asm-m68k/coldfire/intctrl.h | 246 +++ i

[U-Boot] [PATCH 03/19] ColdFire: Modules header files cleanup - 2

2008-10-22 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Consolidate FlexCan and PWM structures and definitions in immap_5xxx.h and m5xxx.h to more unify modules header files Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- include/asm-m68k/coldfire/flexcan.h | 219 +++ inclu

[U-Boot] [PATCH 04/19] ColdFire: Modules header files cleanup - 3

2008-10-22 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Consolidate RNG, MDHA and SKHA structures and definitions in immap_5xxx.h and m5xxx.h to more unify modules header files. SSI cleanup. Remove USB Host structure from immap_5329.h Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- include/asm-m68k/coldfir

[U-Boot] [PATCH 02/19] ColdFire: Modules header files cleanup - 1

2008-10-22 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Consolidate ATA, ePORT and QSPI structures and definitions in immap_5xxx.h to more unify modules header files. Append DSPI support for m547x_8x. Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- include/asm-m68k/coldfire/ata.h | 79 +

[U-Boot] [PATCH 01/19] ColdFire: Remove linker file

2008-10-22 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Each different build for M54455EVB and M5235EVB will create a u-boot.lds linker file. It is redundant to keep the u-boot.lds Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- board/freescale/m5235evb/u-boot.lds | 144 --

[U-Boot] [PATCH] mtd: SPI Flash: Support the STMicro Flash

2008-08-28 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Add MTD SPI Flash support for M25P16, M25P20, M25P32, M25P40, M25P64, M25P80, M25P128. Signed-off-by: Jason McMullan <[EMAIL PROTECTED]> Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- drivers/mtd/spi/Makefile |1 + drivers/mtd/spi/spi

[U-Boot] [PATCH] mtd: SPI Flash: Support the STMicro Flash

2008-08-22 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Add MTD SPI Flash support for M25P16, M25P20, M25P32, M25P40, M25P64, M25P80, M25P128. Signed-off-by: Jason McMullan <[EMAIL PROTECTED]> Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- drivers/mtd/spi/Makefile |1 + drivers/mtd/spi/spi

[U-Boot] [PATCH] mtd: SPI Flash: Support the STMicro Flash

2008-08-22 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Add MTD SPI Flash support for M25P16, M25P20, M25P32, M25P40, M25P64, M25P80, M25P128. Signed-off-by: Jason McMullan <[EMAIL PROTECTED]> Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- drivers/mtd/spi/Makefile |1 + drivers/mtd/spi/spi

[U-Boot] [PATCH 5/8] ColdFire: Fix compiling error

2008-08-21 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Caused by typo and non-related function Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- board/freescale/m5329evb/nand.c |4 ++-- board/freescale/m5373evb/nand.c |4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/board/free

[U-Boot] [PATCH 8/8] ColdFire: I2C fix for multiple platforms

2008-08-21 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- cpu/mcf5227x/speed.c|4 cpu/mcf523x/cpu_init.c |4 ++-- cpu/mcf523x/speed.c |4 cpu/mcf52x2/cpu_init.c | 12 +++- cpu/mcf52x2/speed.c |

[U-Boot] [PATCH 7/8] ColdFire: Add CONFIG_MII_INIT for M5272C3

2008-08-21 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- include/configs/M5272C3.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/M5272C3.h b/include/configs/M5272C3.h index 9f1585e..fc457e3 100644 --- a/include/configs

[U-Boot] [PATCH 6/8] ColdFire: Multiple fixes for MCF5445x platforms

2008-08-21 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Add FEC pin set and mii reset in __mii_init(). Change legacy flash vendor from 2 to AMD LEGACY (0xFFF0), change cfi_offset to 0, and change CFG_FLASH_CFI to CONFIG_FLASH_CFI_LEGACY. Correct M54451EVB and M54455EVB env settings in configuration file. Signed-

[U-Boot] [PATCH 4/8] ColdFire: Change the SDRAM BRD2WT timing from 3 to 7

2008-08-21 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> The user manuals recommend 7. Signed-off-by: Kurt Mahan <[EMAIL PROTECTED]> Acked-by: TsiChung Liew <[EMAIL PROTECTED]> --- include/configs/M5475EVB.h |2 +- include/configs/M5485EVB.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff -

[U-Boot] [PATCH 3/8] ColdFire: Raise uart baudrate to 115200 bps

2008-08-21 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> M5249EVB, M5271EVB, M5272C3, M5275EVB and M5282EVB platforms uart baudrate increase from 19200 to 115200 bps Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- include/configs/M5249EVB.h |4 ++-- include/configs/M5271EVB.h |2 +- include/configs/

[U-Boot] [PATCH 1/8] ColdFire: Fix board.c warning message

2008-08-21 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Implicit declaration of nand_init() warning message Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- lib_m68k/board.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/lib_m68k/board.c b/lib_m68k/board.c index e59c6b0..9f4442e

[U-Boot] [PATCH 2/8] Fix ColdFire FEC warning messages

2008-08-21 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Types mismatch and implicit declaration of icache_invalid() warning messages Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- drivers/net/fsl_mcdmafec.c | 17 + drivers/net/mcffec.c |4 2 files changed, 13 insertions(+)

[U-Boot] [PATCH] mtd: SPI Flash: Support the STMicro Flash

2008-08-21 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Add MTD SPI Flash support for M25P16, M25P40, M25P64, and M25P80. Signed-off-by: Jason McMullan <[EMAIL PROTECTED]> Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- drivers/mtd/spi/stmicro.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)

[U-Boot] [PATCH] ColdFire: Add FEC Buffer descriptors in SRAM

2008-08-19 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Add FEC Buffer descriptors and data buffer in SRAM for faster execution and access. Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- drivers/net/mcffec.c | 42 -- 1 files changed, 36 insertions(+), 6 deletions(

[U-Boot] [PATCH] Add I2C frequency dividers for ColdFire

2008-08-19 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> The existing I2C freqency dividers for FDR does not apply to ColdFire platforms; thus, a seperate table is added based on MCF5xxx Reference Manual Signed-off-by: Luigi 'Comio' Mantellini <[EMAIL PROTECTED]> Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> -

[U-Boot] [PATCH] CFI: Fix AMD Legacy sector protect

2008-08-19 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> New implement sector lock and unlock or softlock commands do not exist in AMD legacy flash. Thus, causing issue when erasing AMD legacy flash (such as lv040) Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- drivers/mtd/cfi_flash.c | 12 +---

[U-Boot] [PATCH] Change CFG_ENV_SIZE to CFG_ENV_SECT_SIZE for SPI sector erase

2008-08-12 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> The CFG_ENV_SIZE is not suitable used for SPI flash erase sector size. Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- common/env_sf.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/env_sf.c b/common/env_sf.c index d6

[U-Boot] [PATCH] ColdFire: Move m5272c3 from board to board/freescale

2008-08-12 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- Makefile |2 +- board/freescale/m5272c3/Makefile | 44 board/freescale/m5272c3/config.mk | 25 +++ board/freescale/m5272c3/flash.c| 378 +

[U-Boot] [PATCH] ColdFire: Move m5282evb from board to board/freescale

2008-08-12 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- Makefile|2 +- board/freescale/m5282evb/Makefile | 44 + board/freescale/m5282evb/config.mk | 25 +++ board/freescale/m5282evb/m5282evb.c | 93 +++ boa

[U-Boot] [PATCH] ColdFire: Move m5271evb from board to board/freescale

2008-08-12 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- Makefile|2 +- board/freescale/m5271evb/Makefile | 44 + board/freescale/m5271evb/config.mk | 25 +++ board/freescale/m5271evb/m5271evb.c | 123 ++

[U-Boot] [PATCH] ColdFire: Raise M5253EVBE uart baudrate to 115200 bps

2008-08-12 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- include/configs/M5253EVBE.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/M5253EVBE.h b/include/configs/M5253EVBE.h index f5e1b64..5653a39 100644 --- a/include/

[U-Boot] [PATCH] ColdFire: Fix M5253EVB dram bring up issue

2008-08-12 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- board/freescale/m5253evbe/m5253evbe.c | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/board/freescale/m5253evbe/m5253evbe.c b/board/freescale/m5253evbe/m5253evbe.c in

[U-Boot] [PATCH] ColdFire: Multiple fixes for M5282EVB

2008-08-12 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Incorrect CFG_HZ value, change 100 to 1000. Rename #waring to #warning. RAMBAR1 uses twice in start.S, rename the later to FLASHBAR. Insert nop for DRAM setup. And, env_offset in linker file. Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- board/f

[U-Boot] [PATCH] ColdFire: Fix FEC transmit issue for MCF5282

2008-08-12 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- drivers/net/mcffec.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/mcffec.c b/drivers/net/mcffec.c index 58ed5e3..5218ab6 100644 --- a/drivers/net/mcffec.c +++ b

[U-Boot] [PATCH] ColdFire: Implement SBF feature for M5445EVB

2008-08-12 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- Makefile | 16 ++- board/freescale/m54455evb/m54455evb.c | 14 ++- board/freescale/m54455evb/u-boot.stm | 136 + cpu/mcf5445x/cpu_init.c |

[U-Boot] [PATCH] ColdFire: Add M54451EVB platform support for MCF5445x

2008-08-12 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- MAKEALL |1 + Makefile | 24 +++ board/freescale/m54451evb/Makefile| 44 board/freescale/m54451evb/config.mk | 27 +++ board

[U-Boot] [PATCH] ColdFire: Add Serial Flash support for M54455EVB

2008-08-12 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- include/configs/M54455EVB.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/configs/M54455EVB.h b/include/configs/M54455EVB.h index b7b5da0..e68b26e 100644 --- a/includ

[U-Boot] [PATCH] ColdFire: Add M5253DEMO platform support for MCF5253

2008-08-12 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- MAINTAINERS |1 + MAKEALL |1 + Makefile |3 + board/freescale/m5253demo/Makefile| 44 +++ board/free

[U-Boot] [PATCH] ColdFire: Add SSPI feature for MCF5445x

2008-08-12 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- cpu/mcf5445x/dspi.c | 178 +-- include/configs/M54455EVB.h | 16 - lib_m68k/board.c| 17 3 files changed, 204 insertions(+), 7 del

[U-Boot] [PATCH] ColdFire: Use CFI Flash driver for M54455EVB

2008-08-12 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> Remove non-common flash driver in board/freescale/m54455evb/flash.c. The non-cfi flash will use CONFIG_FLASH_CFI_LEGACY to configure the flash attribute. Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- board/freescale/m54455evb/Makefile|4 +-

[U-Boot] [PATCH] Change CFG_ENV_SIZE to CFG_ENV_SECT_SIZE for SPI sector erase

2008-08-12 Thread Tsi-Chung Liew
From: TsiChung Liew <[EMAIL PROTECTED]> The CFG_ENV_SIZE is not suitable used for SPI flash erase sector size if CFG_ENV_SIZE is less than CFG_ENV_SECT_SIZE. Add condition check if CFG_ENV_SIZE is larger than CFG_ENV_SECT_SIZE, calculate the right number of sectors for erasing. Signed-off-by: Tsi