Kyungmin Park [Fri, 20 Aug 2010 03:59:20 +0000 (12:59 +0900)]
s5pc210: universal: Define MIU address
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Fri, 20 Aug 2010 02:54:36 +0000 (11:54 +0900)]
s5pc210: universal: Add memory setup
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Fri, 20 Aug 2010 02:54:02 +0000 (11:54 +0900)]
s5pc210: universal: OneNAND IPL support
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Minkyu Kang [Fri, 20 Aug 2010 02:44:08 +0000 (11:44 +0900)]
s5pc210: clock: fix cal the VPLL freq
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Fri, 20 Aug 2010 02:43:49 +0000 (11:43 +0900)]
s5pc210: clock: add default setting
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Fri, 20 Aug 2010 01:53:52 +0000 (10:53 +0900)]
s5pc210: universal: remove MTD 2KB table
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Kyungmin Park [Fri, 20 Aug 2010 01:47:51 +0000 (10:47 +0900)]
s5pc210: universal: Workaround set the MASSMEMORY_EN to low
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Minkyu Kang [Fri, 20 Aug 2010 01:13:08 +0000 (10:13 +0900)]
s5pc210: universal: set mtd default to 4KB
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Fri, 20 Aug 2010 00:35:56 +0000 (09:35 +0900)]
s5pc1xx: mmc: fix mmc offset
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Fri, 20 Aug 2010 00:31:18 +0000 (09:31 +0900)]
Merge branch 'master' of party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Fri, 20 Aug 2010 00:31:02 +0000 (09:31 +0900)]
s5pc210: mmc: fix mmc offset
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Kyungmin Park [Fri, 20 Aug 2010 00:28:20 +0000 (09:28 +0900)]
s5pc210: universal: Add MMC clock (not yet work)
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Fri, 20 Aug 2010 00:09:29 +0000 (09:09 +0900)]
s5pc210: universal: Add clock comments
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Thu, 19 Aug 2010 23:59:50 +0000 (08:59 +0900)]
Merge branch 'master' of party:/pub/git/u-boot-s5pc1xx
Kyungmin Park [Thu, 19 Aug 2010 23:59:35 +0000 (08:59 +0900)]
s5pc210: universal: Add CMM for universal board
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Minkyu Kang [Thu, 19 Aug 2010 23:57:31 +0000 (08:57 +0900)]
s5pc210: usbd: fix usb phy clock
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Kyungmin Park [Thu, 19 Aug 2010 23:55:39 +0000 (08:55 +0900)]
s5pc210: universal: Enable MMC (not yet work)
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Minkyu Kang [Thu, 19 Aug 2010 11:46:36 +0000 (20:46 +0900)]
s5pc210: universal: modified dram base
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Thu, 19 Aug 2010 11:25:58 +0000 (20:25 +0900)]
s5p: clock: seperate the pclk to uart clock and pwm clock
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Thu, 19 Aug 2010 11:19:25 +0000 (20:19 +0900)]
s5pc210: add system clock setting (pclock)
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Thu, 19 Aug 2010 10:22:47 +0000 (19:22 +0900)]
Merge branch 'master' of party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Thu, 19 Aug 2010 10:22:03 +0000 (19:22 +0900)]
s5p: uart: fix setting the div value
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Jaehoon Chung [Thu, 19 Aug 2010 10:12:11 +0000 (19:12 +0900)]
s5pc110: mmc: code clean up
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Kyungmin Park [Thu, 19 Aug 2010 10:08:47 +0000 (19:08 +0900)]
s5pc210: universal: s5pc210 don't have udivslot
use the fracval
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Thu, 19 Aug 2010 10:07:34 +0000 (19:07 +0900)]
s5pc210: universal: Enable UART clocks
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Thu, 19 Aug 2010 09:53:36 +0000 (18:53 +0900)]
s5pc210: UART: use correct bytes
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Thu, 19 Aug 2010 09:53:09 +0000 (18:53 +0900)]
s5pc210: universal: Add IO retension and UART debug codes
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Minkyu Kang [Thu, 19 Aug 2010 09:03:51 +0000 (18:03 +0900)]
s5pc2xx: uart: fix the offset
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Thu, 19 Aug 2010 08:19:10 +0000 (17:19 +0900)]
s5p2xx: macro fixed
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Thu, 19 Aug 2010 08:17:36 +0000 (17:17 +0900)]
s5pc1xx: fix build error
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Thu, 19 Aug 2010 08:16:37 +0000 (17:16 +0900)]
s5p: fix the getting cpu_id
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Kyungmin Park [Thu, 19 Aug 2010 07:58:53 +0000 (16:58 +0900)]
s5pc210: universal: Fix OneNAND base address
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Thu, 19 Aug 2010 07:51:25 +0000 (16:51 +0900)]
s5pc210: universal: Add uart_asm_init
Check the UART_SEL at there.
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Minkyu Kang [Thu, 19 Aug 2010 07:49:44 +0000 (16:49 +0900)]
Merge branch 'master' of party:/pub/git/u-boot-s5pc1xx
Jaehoon Chung [Thu, 19 Aug 2010 07:49:11 +0000 (16:49 +0900)]
mmc_ipl: modify macro name
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Minkyu Kang [Thu, 19 Aug 2010 07:48:55 +0000 (16:48 +0900)]
s5p: rename CONFIG_S5PC1XX to CONFIG_S5P
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Jaehoon Chung [Thu, 19 Aug 2010 07:43:30 +0000 (16:43 +0900)]
s5pc110: seperate the c110 for mmc_ipl
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 19 Aug 2010 07:35:08 +0000 (16:35 +0900)]
mmc_ipl: code clean up
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Kyungmin Park [Thu, 19 Aug 2010 07:19:29 +0000 (16:19 +0900)]
s5pc210: universal: Fix OneNAND base address
Remove unused configs and fix wrong comments
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Minkyu Kang [Thu, 19 Aug 2010 07:01:58 +0000 (16:01 +0900)]
s5p210: universal: initial support
in processing.
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Thu, 19 Aug 2010 06:54:10 +0000 (15:54 +0900)]
s5p: gpio: make by CONFIG_S5P define
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Thu, 19 Aug 2010 06:41:20 +0000 (15:41 +0900)]
s5p: watchdog: use accessor function
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Thu, 19 Aug 2010 06:40:14 +0000 (15:40 +0900)]
s5p: serial: fix the build error
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Thu, 19 Aug 2010 06:32:49 +0000 (15:32 +0900)]
s5pc2xx: clock: fix the build error
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Thu, 19 Aug 2010 06:30:55 +0000 (15:30 +0900)]
s5p: serial: make by CONFIG_S5P define
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Thu, 19 Aug 2010 05:30:41 +0000 (14:30 +0900)]
s5pc210: clean up header files
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Thu, 19 Aug 2010 04:36:07 +0000 (13:36 +0900)]
s5p: rename s5pc1xx to s5p
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Thu, 19 Aug 2010 01:09:19 +0000 (10:09 +0900)]
s5p: usb: move to usb driver to s5p common
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Thu, 19 Aug 2010 00:03:22 +0000 (09:03 +0900)]
s5pc2xx: clock: add get_uclk function
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Wed, 18 Aug 2010 12:06:53 +0000 (21:06 +0900)]
S5P: serial: get_uclk needs the device index
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Wed, 18 Aug 2010 11:54:39 +0000 (20:54 +0900)]
S5P: serial: fix the source clock of uart (UCLK)
Because of UCLK can be generated by multiple clock source,
modified from get_pclk to get_uclk.
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Wed, 18 Aug 2010 11:45:19 +0000 (20:45 +0900)]
recovery: add missing file
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Wed, 18 Aug 2010 11:36:09 +0000 (20:36 +0900)]
s5pc2xx: clock: fix clock control
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Kyungmin Park [Wed, 18 Aug 2010 11:18:09 +0000 (20:18 +0900)]
s5pc110: Remove symlink files at recovery
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Wed, 18 Aug 2010 11:15:35 +0000 (20:15 +0900)]
s5p110: separate the c110 and c100
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Wed, 18 Aug 2010 10:41:04 +0000 (19:41 +0900)]
s5pc110: Only build 8K IPL when mmc boot
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Minkyu Kang [Wed, 18 Aug 2010 09:58:35 +0000 (18:58 +0900)]
s5pc210: initial commint (in processing..)
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Jaehoon Chung [Wed, 18 Aug 2010 07:41:20 +0000 (16:41 +0900)]
mmc: bug fixed about boot config
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Wed, 18 Aug 2010 07:35:21 +0000 (16:35 +0900)]
build: update build script for eMMC boot
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Wed, 18 Aug 2010 07:34:12 +0000 (16:34 +0900)]
mmc_ipl: enable eMMC boot
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Minkyu Kang [Tue, 17 Aug 2010 10:12:26 +0000 (19:12 +0900)]
s5p: rename function name from s5pc1xx to s5p
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Tue, 17 Aug 2010 08:56:30 +0000 (17:56 +0900)]
s5p: make s5p common feature
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Tue, 17 Aug 2010 08:53:51 +0000 (17:53 +0900)]
s5p: fimd: remove unnecessary function call
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Tue, 17 Aug 2010 04:31:29 +0000 (13:31 +0900)]
s5p: pwm: rename s5pc1xx to s5p
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Jaehoon Chung [Fri, 13 Aug 2010 06:46:46 +0000 (15:46 +0900)]
mmc_ipl: bug fixed
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Minkyu Kang [Fri, 13 Aug 2010 02:36:50 +0000 (11:36 +0900)]
s5p: gpio-i2c: move from SoC to i2c driver
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Jaehoon Chung [Thu, 12 Aug 2010 10:32:21 +0000 (19:32 +0900)]
mmc: code clean up
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Minkyu Kang [Wed, 11 Aug 2010 04:11:34 +0000 (13:11 +0900)]
s5pc1xx: universal: codes clean
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Wed, 11 Aug 2010 03:05:19 +0000 (12:05 +0900)]
s5p: use accessor function instead of SoC specific define
for prepare new s5p series SoC
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Fri, 6 Aug 2010 00:08:01 +0000 (09:08 +0900)]
drime3: ex1: fix the build error
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Thu, 5 Aug 2010 00:55:14 +0000 (09:55 +0900)]
S5P: mmc: use the standard debug macro
Use the standard debug macro instead of the costom macro
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Joonyoung Shim [Wed, 4 Aug 2010 07:03:25 +0000 (16:03 +0900)]
s5pc110: Remove CODEC_LDO_EN gpio set
Set CODEC_LDO_EN gpio at kernel.
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Minkyu Kang [Tue, 3 Aug 2010 06:06:51 +0000 (15:06 +0900)]
usbd: erase qboot area when download the image (mmc, ubi, kernel)
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Donghwa Lee [Mon, 2 Aug 2010 05:28:14 +0000 (14:28 +0900)]
s5pc110: code cleanup
Donghwa Lee [Mon, 2 Aug 2010 05:02:50 +0000 (14:02 +0900)]
s5pc110: code cleanup and added hwrevision6 for check_keypad()
Donghwa Lee [Mon, 2 Aug 2010 04:49:44 +0000 (13:49 +0900)]
s5pc110: added auto_download using vol_down and power key
In case of no camera key in the board, vol_down and power key can
be used for entering auto download mode.
Donghwa Lee [Mon, 2 Aug 2010 04:24:40 +0000 (13:24 +0900)]
Revert "s5pc110: modified auto_download using vol_down and power_key"
This reverts commit
6dda4450c3269ec467c94e11d904d5d538188fad.
Donghwa Lee [Mon, 2 Aug 2010 02:47:38 +0000 (11:47 +0900)]
s5pc110: modified auto_download using vol_down and power_key
Jaehoon Chung [Fri, 30 Jul 2010 07:14:43 +0000 (16:14 +0900)]
s5pc110: mmc: bug fixed
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Minkyu Kang [Thu, 29 Jul 2010 04:46:36 +0000 (13:46 +0900)]
make argv to const at command function
for remove this warning
warning: initialization from incompatible pointer type
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Thu, 29 Jul 2010 00:13:29 +0000 (09:13 +0900)]
Merge branch 'master' of git://git.denx.de/u-boot
Conflicts:
common/cmd_onenand.c
common/cmd_ubi.c
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Kyungmin Park [Mon, 26 Jul 2010 10:34:40 +0000 (19:34 +0900)]
s5pc110: Don't turn off LCD
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Jaehoon Chung [Mon, 26 Jul 2010 08:15:16 +0000 (17:15 +0900)]
cmd_mmc: not initialize mmc in boot write mode
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 26 Jul 2010 07:48:48 +0000 (16:48 +0900)]
s5pc1xx: universal: support 8-bit bus width mode at SDK board
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 26 Jul 2010 07:42:25 +0000 (16:42 +0900)]
mmc: add 8-bit bus mode and boot bus mode
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 26 Jul 2010 07:16:54 +0000 (16:16 +0900)]
s5pc110: mmc: support 8-bit bus width and modify delay
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Wolfgang Denk [Mon, 19 Jul 2010 09:37:00 +0000 (11:37 +0200)]
fs/fat: Big code cleanup.
- reformat
- throw out macros like FAT_DPRINT and FAT_DPRINT
- remove dead code
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Mon, 19 Jul 2010 09:36:59 +0000 (11:36 +0200)]
usb_storage.c: change progress output in debug() message
The dots printed by common/usb_storage.c as progress meter corrupt the
output for example of "fatls usb" commands like this:
=> fatls usb 0
. <<==== here
29 file.001
29 file.002
29 file.003
29 file.004
29 file.005
29 file.006
29 file.007
29 file.008
29 file.009
29 file.010
29 file.011
29 file.012
29 file.013
29 file.014
29 file.015
29 file.016
. <<==== here
29 file.017
29 file.018
29 file.019
...
Turn the progress output into a debug message.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Remy Bohmer <linux@bohmer.net>
Wolfgang Denk [Mon, 19 Jul 2010 09:36:58 +0000 (11:36 +0200)]
FAT32: fix broken root directory handling.
On FAT32, instead of fetching the cluster numbers from the FAT, the
code assumed (incorrectly) that the clusters for the root directory
were allocated contiguously. In the result, only the first cluster
could be accessed. At the typical cluster size of 8 sectors this
caused all accesses to files after the first 128 entries to fail -
"fatls" would terminate after 128 files (usually displaying a bogus
file name, occasionally even crashing the system), and "fatload"
would fail to find any files that were not in the first directory
cluster.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Mon, 19 Jul 2010 09:36:57 +0000 (11:36 +0200)]
FAT32: fix support for superfloppy-format (PBR)
"Superfloppy" format (in U-Boot called PBR) did not work for FAT32 as
the file system type string is at a different location. Add support
for FAT32.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Mon, 19 Jul 2010 09:36:56 +0000 (11:36 +0200)]
usb_storage.c: initialize device type
The device type was left uninitialized which caused later tests
against DEV_TYPE_UNKNOWN to fail. In the result, "usb part" would
attempt to print information about non-existent devices like this:
=> usb part
print_part of 0
Partition Map for USB device 0 -- Partition Type: DOS
Partition Start Sector Num Sectors Type
1 0 2031616 f8
print_part of 1
## Unknown partition table
print_part of 2
## Unknown partition table
print_part of 3
## Unknown partition table
print_part of 4
## Unknown partition table
=>
By initializing the type as DEV_TYPE_UNKNOWN we avoid all the
"Unknown partition table" messages.
[Note: the "print_part of ?" messages is left over debug code that
will be removed in another patch.]
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Remy Bohmer <linux@bohmer.net>
Wolfgang Denk [Fri, 16 Jul 2010 23:06:04 +0000 (01:06 +0200)]
cmd_usage(): simplify return code handling
Lots of code use this construct:
cmd_usage(cmdtp);
return 1;
Change cmd_usage() let it return 1 - then we can replace all these
ocurrances by
return cmd_usage(cmdtp);
This fixes a few places with incorrect return code handling, too.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Sat, 24 Jul 2010 18:41:34 +0000 (20:41 +0200)]
Merge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Sat, 24 Jul 2010 18:41:28 +0000 (20:41 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-i2c
Wolfgang Denk [Sat, 24 Jul 2010 18:34:29 +0000 (20:34 +0200)]
Merge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Sat, 24 Jul 2010 18:34:13 +0000 (20:34 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Stefan Roese [Thu, 22 Jul 2010 17:06:27 +0000 (19:06 +0200)]
ppc4xx: Enable "ecctest" command on t3corp
Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese [Thu, 22 Jul 2010 17:06:14 +0000 (19:06 +0200)]
ppc4xx: Enable "ecctest" command on katmai
Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese [Wed, 21 Jul 2010 17:06:26 +0000 (19:06 +0200)]
ppc4xx: Add ECC status info to machine-check exception for IBM DDR2 core
Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese [Wed, 21 Jul 2010 17:06:10 +0000 (19:06 +0200)]
ppc4xx: Add "ecctest" command to test/simulate ECC errors
This patch adds the "ecctest" command to test and simulate ECC errors
(single bit and/or double bit) while running from SDRAM. Currently only
the IBM DDR2 controller is supported (405EX, 440SP(e), 460EX/GT).
This is done by copying and calling functions, modifying the SDRAM
controller operation mode, in internal SRAM/OCM.
For correctable ECC errors (single bit) only the status will be printed
since the DDR2 controller doesn't provide the faulting address:
=> ecctest 1000000 1
Using address
01000000 for 1 bit ECC error injection
ECC: Correctable error
Uncorrectable ECC errors (double bit) will also display the faulting
address:
=> ecctest 1000000 2
Using address
01000000 for 2 bit ECC error injection
ECC: Uncorrectable error at 0x0001000000
To enable this "ecctest" function you need to define CONFIG_CMD_ECCTEST
in the board config header.
Tested on katmai and t3corp.
Signed-off-by: Stefan Roese <sr@denx.de>