TsiChung Liew
42b68af106
ColdFire: PLATFORM_CPPFLAGS updates for new compiler
...
Update PLATFORM_CPPFLAGS to accept 4.3.x version of
ColdFire compiler.
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
16 years ago
Peter Tyser
561858ee7d
Update U-Boot's build timestamp on every compile
...
Use the GNU 'date' command to auto-generate a new U-Boot
timestamp on every compile.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
16 years ago
TsiChung Liew
1b27084422
ColdFire: Fix compilation error
...
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 <Tsi-Chung.Liew@freescale.com>
16 years ago
TsiChung Liew
536e7dac16
ColdFire: Add MCF5301x CPU and M53017EVB support
...
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
16 years ago
TsiChung Liew
f3962d3f57
ColdFire: Relocate FEC's GPIO and mii functions protocols
...
Place FEC pin assignments in cpu_init.c from platform's
mii.c
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
16 years ago
Wolfgang Denk
08ef89ecd1
Use strmhz() to format clock frequencies
...
Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years ago
Jean-Christophe PLAGNIOL-VILLARD
6d0f6bcf33
rename CFG_ macros to CONFIG_SYS
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years ago
Ben Warren
89973f8a82
Introduce netdev.h header file and remove externs
...
This addresses all drivers whose initializers have already
been moved to board_eth_init()/cpu_eth_init().
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
16 years ago
TsiChung Liew
eec567a67e
ColdFire: I2C fix for multiple platforms
...
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
16 years ago
Ben Warren
86882b8077
Moved initialization of MCFFEC Ethernet driver to CPU directory
...
Added a cpu_eth_init() function to coldfire CPU directories and
removed code from net/eth.c
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
16 years ago
Wolfgang Denk
53677ef18e
Big white-space cleanup.
...
This commit gets rid of a huge amount of silly white-space issues.
Especially, all sequences of SPACEs followed by TAB characters get
removed (unless they appear in print statements).
Also remove all embedded "vim:" and "vi:" statements which hide
indentation problems.
Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years ago
Wolfgang Denk
bd98ee60df
Revert "ColdFire: Get information from the correct GCC"
...
This reverts commit b7166e05a5
(replaced by commit c4e5f52a58
).
17 years ago
TsiChung Liew
b7166e05a5
ColdFire: Get information from the correct GCC
...
Signed-off-by: Kurt Mahan <kmahan@freescale.com>
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
17 years ago
TsiChung Liew
9b46432fc6
ColdFire: Fix alignment issue after CONFIG_IDENT_STRING in start.S
...
When the version_string function in start.S is not 4-byte align,
it will cause the compiler generates "unaligned opcodes detected
in executable segment". This issue affects all ColdFire CPUs.
By adding .align 4 after CONFIG_IDENT_STRING, it will pad 0's if
it is not aligned.
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Acked-by: John Rigby <jrigby@freescale.com>
17 years ago
TsiChungLiew
aa5f1f9dc8
ColdFire: Add M5373EVB platform support - 2
...
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Signed-off by: John Rigby <jrigby@freescale.com>
17 years ago
TsiChungLiew
248c7c1483
ColdFire: MCF532x - Update do_reset() using core reset
...
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years ago
TsiChungLiew
d9240a5f82
ColdFire: Update cpu flag for 4.2-xx compiler
...
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years ago
TsiChungLiew
c67e12e705
ColdFire 5329: Assign correct SDRAM size and fix cache
...
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years ago
Wolfgang Denk
1218abf1b5
Fix cases where DECLARE_GLOBAL_DATA_PTR was not declared as global
...
Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years ago
TsiChungLiew
f52e78304d
ColdFire: MCF5329 update cache
...
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
18 years ago
Stefan Roese
3ba4c2d68f
Coding style cleanup
...
Signed-off-by: Stefan Roese <sr@denx.de>
18 years ago
TsiChungLiew
a41de1f0d3
Port enabled for I2C signals and chipselects port configuration.
...
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
18 years ago
TsiChungLiew
8d1d66af54
Added uart_gpio_conf() in serial_init(), seperated uart port configuration from cpu_init() to uart_gpio_conf()
...
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
18 years ago
TsiChung
0dca874db6
Cache update and added CFG_UNIFY_CACHE
...
Enabled cache in cpu_init_f() for faster flash to mem allocation. Updated cache handling in start.S. Applied cache invalidate in fec_send() and fec_recv(). Added CFG_UNIFY_CACHE for CF V3 only.
Signed-off-by: TsiChung <tcliew@Goku.(none)>
18 years ago
TsiChungLiew
2e3f25ae90
Create interrupts.c and modify Makefile
...
interrupt_init() and dtimer_intr_setup() are placed in interrupts.c. Added interrupts.o to Makefile
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
18 years ago
TsiChungLiew
ddd104f1ed
Enable Icache
...
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
18 years ago
TsiChungLiew
b9bf3de377
Update header file and some clean up
...
Replaced immap_5329.h and m5329.h with immap.h. Removed whitespaces.
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
18 years ago
TsiChungLiew
84a015b52e
Update header file and enable icache
...
Replaced immap_5329.h and m5329.h with immap.h. Enabled icache_enable() in cpu_init_r().
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
18 years ago
TsiChungLiew
7a17e759c7
Update header file and removed interrupt_init()
...
Replace immap_5329.h and m5329.h with immap.h. Removed interrupt_init() and placed it in interrupts.c
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
18 years ago
TsiChung Liew
8e585f02f8
Added M5329AFEE and M5329BFEE Platforms
...
Added board/freescale/m5329evb, cpu/mcf532x, drivers/net,
drivers/serial, immap_5329.h, m5329.h, mcfrtc.h,
include/configs/M5329EVB.h, lib_m68k/interrupts.c, and
rtc/mcfrtc.c
Modified CREDITS, MAKEFILE, Makefile, README, common/cmd_bdinfo.c,
common/cmd_mii.c, include/asm-m68k/byteorder.h, include/asm-m68k/fec.h,
include/asm-m68k/io.h, include/asm-m68k/mcftimer.h,
include/asm-m68k/mcfuart.h, include/asm-m68k/ptrace.h,
include/asm-m68k/u-boot.h, lib_m68k/Makefile, lib_m68k/board.c,
lib_m68k/time.c, net/eth.c and rtc/Makefile
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
18 years ago