Wolfgang Denk
47a6989c10
Code cleanup
18 years ago
Jon Loeliger
7237c033b0
Moved i2c driver out of cpu/mpc86xx/i2c.c into drivers/fsl_i2c.c
...
in an effort to begin to unify the umpteen FSL I2C drivers that
are all otherwise very similar.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
18 years ago
Jon Loeliger
1fd5699a4a
Coding style changes to remove local varible blocks
...
and reformat a bit nicer.
18 years ago
Jon Loeliger
7b382b7125
Fix whitespace issues.
18 years ago
John Traill
f55df18187
Fix missing tCycle/modfreq calculation.
...
Signed-off-by: John Traill <john.traill@freescale.com>
18 years ago
Jon Loeliger
afbdc649f8
Modified makefile for new build mechanism.
...
Signed-off-by: Jon Loeliger <jdl@freescale.com>
19 years ago
Jon Loeliger
d14ba6a798
Handle 86xx SVR values according to the new Reference Manual.
...
Both 8641 and 8641D have SVR == 0x8090, and are distinguished
by the byte in bits 16-23 instead.
Thanks to Jason Jin for noticing.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
19 years ago
Jon Loeliger
9bff7a69a8
Remove trailing empty lines.
19 years ago
Jon Loeliger
cd6d73d5b8
Remove bogus msync and use volatile asm.
19 years ago
Jon Loeliger
ffff3ae56f
General indent and whitespace cleanups.
19 years ago
Jon Loeliger
41a0e8b304
Cleanup compiler warnings.
19 years ago
Haiying Wang
67256678f0
Copy Global Data Pointer to r29 for DECLARE_GLOBAL_DATA_PTR
19 years ago
Haiying Wang
0d9ccc55ed
Copy Global Data Pointer to r29 for DECLARE_GLOBAL_DATA_PTR
19 years ago
John Traill
91a414c7d1
Fix caslat calculation
...
Signed-off-by: John Traill <john.traill@freescale.com>
19 years ago
Jon Loeliger
709d3073e7
Convert to mac-address in ethernet nodes.
19 years ago
Haiying Wang
239db37c94
Move get_board_sys_clk to board directory
19 years ago
John Traill
492900b985
Fix 8641HPCN pollution
19 years ago
Jin Zhengxiong-R64188
fa7db9c377
Enable PCIE1 for MPC8641HPCN board
...
Signed-off-by: Jason Jin <Jason.jin@freescale.com>
19 years ago
Jon Loeliger
0e4c2a17ca
Do not enable address translation on secondary CPUs.
...
Do not set up BATs on secondary CPUs. Let Linux do the nasty.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
19 years ago
Jon Loeliger
8ecc971618
Fix a get_board_sys_clk() use-before-def warning.
...
Signed-off-by: Jon Loeliger <jdl@jdl.com>
19 years ago
Jon Loeliger
c934f655f9
Review cleanups.
...
Signed-off-by: Jon Loeliger <jdl@freescale.com>
19 years ago
Jon Loeliger
cb5965fb95
White space cleanup.
...
Some 80-column cleanups.
Convert printf() to puts() where possible.
Use #include "spd_sdram.h" as needed.
Enhanced reset command usage message a bit.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
19 years ago
Jon Loeliger
4d3d729c16
Moved mpc8641hpcn_board_reset() out of cpu/ into board/.
...
Signed-off-by: Jon Loeliger <jdl@freescale.com>
19 years ago
Jon Loeliger
b2a941de06
Remove dead debug code.
...
Signed-off-by: Jon Loeliger <jdl@jdl.com>
19 years ago
Jon Loeliger
126aa70f10
Move mpc86xx PIXIS code to board directory
...
First cut at moving the PIXIS platform code out of
the 86xx cpu directory and into board/mpc8641hpcn
where it belongs.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
19 years ago
Haiying Wang
38cee12dcf
Improve "reset" command's interaction with watchdog.
...
"reset altbank" will reset another bank WITHOUT watch dog timer enabled
"reset altbank wd" will reset another bank WITH watch dog enabled
"diswd" will disable watch dog after u-boot boots up successfully
Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
19 years ago
Haiying Wang
70205e5a6d
Fix two SDRAM setup bugs.
...
Fix ECC setup bug.
Enable 1T/2T based on number of DIMMs present.
Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
19 years ago
Jon Loeliger
14e37081ff
Change arbitration to round-robin for SMP linux.
19 years ago
Jon Loeliger
9a655876e5
Enable dual DDR controllers and interleaving.
19 years ago
Jon Loeliger
cccce5d058
Remove L2 Cache invalidate polling.
19 years ago
Haiying Wang
6cfea33477
Remove unneeded INIT_RAM_LOCK cache twiddling.
...
Correctly tracks r29 as global data pointer now.
Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
19 years ago
Jon Loeliger
5c9efb36a6
Cleanup whitespaces and style issues.
...
Removed //-style comments.
Use 80-column lines.
Remove trailing whitespace.
Remove dead code and debug cruft.
19 years ago
Jon Loeliger
debb7354d1
Initial support for MPC8641 HPCN board.
19 years ago