Mercurial > nand-ecoscentric
annotate packages/io/nand/current/ChangeLog @ 3399:3c98ca6c7e46
io/nand: Deparent CYGPKG_IO_NAND from CYGPKG_IO, for consistency in the configtool with most other packages.
| author | Ross Younger <wry@ecoscentric.com> |
|---|---|
| date | Fri, 16 Jan 2015 11:39:54 +1300 |
| parents | aecb165864c8 |
| children |
| rev | line source |
|---|---|
|
3399
3c98ca6c7e46
io/nand: Deparent CYGPKG_IO_NAND from CYGPKG_IO, for consistency in the configtool with most other packages.
Ross Younger <wry@ecoscentric.com>
parents:
3398
diff
changeset
|
1 2015-01-16 Ross Younger <wry@ecoscentric.com> |
|
3c98ca6c7e46
io/nand: Deparent CYGPKG_IO_NAND from CYGPKG_IO, for consistency in the configtool with most other packages.
Ross Younger <wry@ecoscentric.com>
parents:
3398
diff
changeset
|
2 |
|
3c98ca6c7e46
io/nand: Deparent CYGPKG_IO_NAND from CYGPKG_IO, for consistency in the configtool with most other packages.
Ross Younger <wry@ecoscentric.com>
parents:
3398
diff
changeset
|
3 * cdl/nand.cdl: Deparent CYGPKG_IO_NAND from CYGPKG_IO, for |
|
3c98ca6c7e46
io/nand: Deparent CYGPKG_IO_NAND from CYGPKG_IO, for consistency in the configtool with most other packages.
Ross Younger <wry@ecoscentric.com>
parents:
3398
diff
changeset
|
4 consistency with most other packages. |
|
3c98ca6c7e46
io/nand: Deparent CYGPKG_IO_NAND from CYGPKG_IO, for consistency in the configtool with most other packages.
Ross Younger <wry@ecoscentric.com>
parents:
3398
diff
changeset
|
5 |
|
3398
aecb165864c8
io/nand: Make interface richer - Add plf_priv member of device struct, CYG_NAND_DEVICE_2, CYG_NAND_ECC_ALG_DECLARATION
Ross Younger <wry@ecoscentric.com>
parents:
3397
diff
changeset
|
6 2015-01-12 Ross Younger <wry@ecoscentric.com> |
|
aecb165864c8
io/nand: Make interface richer - Add plf_priv member of device struct, CYG_NAND_DEVICE_2, CYG_NAND_ECC_ALG_DECLARATION
Ross Younger <wry@ecoscentric.com>
parents:
3397
diff
changeset
|
7 |
|
aecb165864c8
io/nand: Make interface richer - Add plf_priv member of device struct, CYG_NAND_DEVICE_2, CYG_NAND_ECC_ALG_DECLARATION
Ross Younger <wry@ecoscentric.com>
parents:
3397
diff
changeset
|
8 * include/nand_device.h: Add 'plf_priv' member of device struct and |
|
aecb165864c8
io/nand: Make interface richer - Add plf_priv member of device struct, CYG_NAND_DEVICE_2, CYG_NAND_ECC_ALG_DECLARATION
Ross Younger <wry@ecoscentric.com>
parents:
3397
diff
changeset
|
9 CYG_NAND_DEVICE_2 initialiser macro. |
|
aecb165864c8
io/nand: Make interface richer - Add plf_priv member of device struct, CYG_NAND_DEVICE_2, CYG_NAND_ECC_ALG_DECLARATION
Ross Younger <wry@ecoscentric.com>
parents:
3397
diff
changeset
|
10 * include/nand_ecc.h: Add CYG_NAND_ECC_ALG_DECLARATION |
|
aecb165864c8
io/nand: Make interface richer - Add plf_priv member of device struct, CYG_NAND_DEVICE_2, CYG_NAND_ECC_ALG_DECLARATION
Ross Younger <wry@ecoscentric.com>
parents:
3397
diff
changeset
|
11 |
|
3396
ca49a7404897
io/nand: Tweak initialiser priority
Ross Younger <wry@ecoscentric.com>
parents:
3395
diff
changeset
|
12 2014-12-06 Ross Younger <wry@ecoscentric.com> |
|
ca49a7404897
io/nand: Tweak initialiser priority
Ross Younger <wry@ecoscentric.com>
parents:
3395
diff
changeset
|
13 |
|
ca49a7404897
io/nand: Tweak initialiser priority
Ross Younger <wry@ecoscentric.com>
parents:
3395
diff
changeset
|
14 * src/nandinit.cxx: Another tweak to initialiser priority |
|
3397
4cce65f46b89
io/nand: Add mechanism for devices to provide partition geometry later than device init time
Ross Younger <wry@ecoscentric.com>
parents:
3396
diff
changeset
|
15 * include/nand_device.h src/nand.c: Add mechanism for devices to |
|
4cce65f46b89
io/nand: Add mechanism for devices to provide partition geometry later than device init time
Ross Younger <wry@ecoscentric.com>
parents:
3396
diff
changeset
|
16 provide partition geometry later than device init time |
|
3396
ca49a7404897
io/nand: Tweak initialiser priority
Ross Younger <wry@ecoscentric.com>
parents:
3395
diff
changeset
|
17 |
|
3394
7905ed422fdf
io/nand: Rename CYGINT_IO_NAND_TEST_PARTITION to CYGNUM_IO_NAND_TEST_PARTITION.
Ross Younger <wry@ecoscentric.com>
parents:
3393
diff
changeset
|
18 2014-12-02 Ross Younger <wry@ecoscentric.com> |
|
7905ed422fdf
io/nand: Rename CYGINT_IO_NAND_TEST_PARTITION to CYGNUM_IO_NAND_TEST_PARTITION.
Ross Younger <wry@ecoscentric.com>
parents:
3393
diff
changeset
|
19 |
|
7905ed422fdf
io/nand: Rename CYGINT_IO_NAND_TEST_PARTITION to CYGNUM_IO_NAND_TEST_PARTITION.
Ross Younger <wry@ecoscentric.com>
parents:
3393
diff
changeset
|
20 * cdl/nand.cdl tests/nand_readlimits.c tests/nand_readwrite.c |
|
7905ed422fdf
io/nand: Rename CYGINT_IO_NAND_TEST_PARTITION to CYGNUM_IO_NAND_TEST_PARTITION.
Ross Younger <wry@ecoscentric.com>
parents:
3393
diff
changeset
|
21 * tests/nand_rwbenchmark.c: Rename CYGINT_IO_NAND_TEST_PARTITION to |
|
7905ed422fdf
io/nand: Rename CYGINT_IO_NAND_TEST_PARTITION to CYGNUM_IO_NAND_TEST_PARTITION.
Ross Younger <wry@ecoscentric.com>
parents:
3393
diff
changeset
|
22 CYGNUM_IO_NAND_TEST_PARTITION. |
|
3395
707de7f35fc7
io/nand: Minor doc updates
Ross Younger <wry@ecoscentric.com>
parents:
3394
diff
changeset
|
23 * doc/nand.sgml: Minor updates. |
|
3394
7905ed422fdf
io/nand: Rename CYGINT_IO_NAND_TEST_PARTITION to CYGNUM_IO_NAND_TEST_PARTITION.
Ross Younger <wry@ecoscentric.com>
parents:
3393
diff
changeset
|
24 |
|
3393
abe4f70912a8
io/nand: Improve initialiser priorities
Ross Younger <wry@ecoscentric.com>
parents:
3392
diff
changeset
|
25 2014-12-01 Ross Younger <wry@ecoscentric.com> |
|
abe4f70912a8
io/nand: Improve initialiser priorities
Ross Younger <wry@ecoscentric.com>
parents:
3392
diff
changeset
|
26 |
|
abe4f70912a8
io/nand: Improve initialiser priorities
Ross Younger <wry@ecoscentric.com>
parents:
3392
diff
changeset
|
27 * src/nandinit.cxx: Improve initialiser priority |
|
abe4f70912a8
io/nand: Improve initialiser priorities
Ross Younger <wry@ecoscentric.com>
parents:
3392
diff
changeset
|
28 |
|
3392
cc4cb48d90ad
io/nand: Fix uninitialised variable. Erase any obsolete copies of the BBT we may come across. Cope with BBT version overflow.
Ross Younger <wry@ecoscentric.com>
parents:
3391
diff
changeset
|
29 2014-11-22 Ross Younger <wry@ecoscentric.com> |
|
cc4cb48d90ad
io/nand: Fix uninitialised variable. Erase any obsolete copies of the BBT we may come across. Cope with BBT version overflow.
Ross Younger <wry@ecoscentric.com>
parents:
3391
diff
changeset
|
30 |
|
cc4cb48d90ad
io/nand: Fix uninitialised variable. Erase any obsolete copies of the BBT we may come across. Cope with BBT version overflow.
Ross Younger <wry@ecoscentric.com>
parents:
3391
diff
changeset
|
31 * src/nand_bbt.c: Fix uninitialised variable which sometimes |
|
cc4cb48d90ad
io/nand: Fix uninitialised variable. Erase any obsolete copies of the BBT we may come across. Cope with BBT version overflow.
Ross Younger <wry@ecoscentric.com>
parents:
3391
diff
changeset
|
32 caused test failures. Erase any obsolete copies of the BBT we may |
|
cc4cb48d90ad
io/nand: Fix uninitialised variable. Erase any obsolete copies of the BBT we may come across. Cope with BBT version overflow.
Ross Younger <wry@ecoscentric.com>
parents:
3391
diff
changeset
|
33 come across; cope with BBT version overflowing. |
|
cc4cb48d90ad
io/nand: Fix uninitialised variable. Erase any obsolete copies of the BBT we may come across. Cope with BBT version overflow.
Ross Younger <wry@ecoscentric.com>
parents:
3391
diff
changeset
|
34 |
|
3391
46870ac5c312
io/nand: Create internal nandi_write_page_raw_explicit_ecc interface for use by test programs.
Ross Younger <wry@ecoscentric.com>
parents:
3390
diff
changeset
|
35 2014-10-20 Ross Younger <wry@ecoscentric.com> |
|
46870ac5c312
io/nand: Create internal nandi_write_page_raw_explicit_ecc interface for use by test programs.
Ross Younger <wry@ecoscentric.com>
parents:
3390
diff
changeset
|
36 |
|
46870ac5c312
io/nand: Create internal nandi_write_page_raw_explicit_ecc interface for use by test programs.
Ross Younger <wry@ecoscentric.com>
parents:
3390
diff
changeset
|
37 * src/nand.c include/nand_internal.h: Create internal |
|
46870ac5c312
io/nand: Create internal nandi_write_page_raw_explicit_ecc interface for use by test programs.
Ross Younger <wry@ecoscentric.com>
parents:
3390
diff
changeset
|
38 nandi_write_page_raw_explicit_ecc interface for use by test programs. |
|
46870ac5c312
io/nand: Create internal nandi_write_page_raw_explicit_ecc interface for use by test programs.
Ross Younger <wry@ecoscentric.com>
parents:
3390
diff
changeset
|
39 |
|
3389
1ee7927cc736
io/nand include/nand.h: Create CYG_NAND_BYTES_PER_BLOCK so this computation need only be coded in one place.
Ross Younger <wry@ecoscentric.com>
parents:
3388
diff
changeset
|
40 2014-10-05 Ross Younger <wry@ecoscentric.com> |
|
1ee7927cc736
io/nand include/nand.h: Create CYG_NAND_BYTES_PER_BLOCK so this computation need only be coded in one place.
Ross Younger <wry@ecoscentric.com>
parents:
3388
diff
changeset
|
41 |
|
1ee7927cc736
io/nand include/nand.h: Create CYG_NAND_BYTES_PER_BLOCK so this computation need only be coded in one place.
Ross Younger <wry@ecoscentric.com>
parents:
3388
diff
changeset
|
42 * include/nand.h: Create CYG_NAND_BYTES_PER_BLOCK so this |
|
1ee7927cc736
io/nand include/nand.h: Create CYG_NAND_BYTES_PER_BLOCK so this computation need only be coded in one place.
Ross Younger <wry@ecoscentric.com>
parents:
3388
diff
changeset
|
43 computation need only be coded in one place. |
|
3390
9b8c245fbdef
io/nand include/nand_ecc.h src/nand.c tests/...: Split out ecc init function into init_rd and init_wr for hardware which needs it; create CYG_NAND_ECC_ALG_HW3 to instantiate, and backwards-compatibly fix up the previous instantiation macros.
Ross Younger <wry@ecoscentric.com>
parents:
3389
diff
changeset
|
44 * include/nand_ecc.h src/nand.c |
|
9b8c245fbdef
io/nand include/nand_ecc.h src/nand.c tests/...: Split out ecc init function into init_rd and init_wr for hardware which needs it; create CYG_NAND_ECC_ALG_HW3 to instantiate, and backwards-compatibly fix up the previous instantiation macros.
Ross Younger <wry@ecoscentric.com>
parents:
3389
diff
changeset
|
45 tests/nand_eccequiv.c tests/nand_sweccwalk.c tests/nandunit.c: |
|
9b8c245fbdef
io/nand include/nand_ecc.h src/nand.c tests/...: Split out ecc init function into init_rd and init_wr for hardware which needs it; create CYG_NAND_ECC_ALG_HW3 to instantiate, and backwards-compatibly fix up the previous instantiation macros.
Ross Younger <wry@ecoscentric.com>
parents:
3389
diff
changeset
|
46 Split out ecc init function into init_rd and init_wr for hardware |
|
9b8c245fbdef
io/nand include/nand_ecc.h src/nand.c tests/...: Split out ecc init function into init_rd and init_wr for hardware which needs it; create CYG_NAND_ECC_ALG_HW3 to instantiate, and backwards-compatibly fix up the previous instantiation macros.
Ross Younger <wry@ecoscentric.com>
parents:
3389
diff
changeset
|
47 which needs it; create CYG_NAND_ECC_ALG_HW3 to instantiate, and |
|
9b8c245fbdef
io/nand include/nand_ecc.h src/nand.c tests/...: Split out ecc init function into init_rd and init_wr for hardware which needs it; create CYG_NAND_ECC_ALG_HW3 to instantiate, and backwards-compatibly fix up the previous instantiation macros.
Ross Younger <wry@ecoscentric.com>
parents:
3389
diff
changeset
|
48 backwards-compatibly fix up the previous instantiation macros. |
|
3389
1ee7927cc736
io/nand include/nand.h: Create CYG_NAND_BYTES_PER_BLOCK so this computation need only be coded in one place.
Ross Younger <wry@ecoscentric.com>
parents:
3388
diff
changeset
|
49 |
|
3387
c1cbf062a826
io/nand: Add CYGINT_IO_NAND_TEST_PARTITION to specify which partition the tests should use.
Ross Younger <wry@ecoscentric.com>
parents:
3386
diff
changeset
|
50 2014-09-27 Ross Younger <wry@ecoscentric.com> |
|
c1cbf062a826
io/nand: Add CYGINT_IO_NAND_TEST_PARTITION to specify which partition the tests should use.
Ross Younger <wry@ecoscentric.com>
parents:
3386
diff
changeset
|
51 * cdl/nand.cdl src/nand.c tests/nand_readlimits.c |
|
c1cbf062a826
io/nand: Add CYGINT_IO_NAND_TEST_PARTITION to specify which partition the tests should use.
Ross Younger <wry@ecoscentric.com>
parents:
3386
diff
changeset
|
52 tests/nand_readwrite.c tests/nand_rwbenchmark.c: |
|
c1cbf062a826
io/nand: Add CYGINT_IO_NAND_TEST_PARTITION to specify which partition the tests should use.
Ross Younger <wry@ecoscentric.com>
parents:
3386
diff
changeset
|
53 Create CYGINT_IO_NAND_TEST_PARTITION to specify which partition the |
|
c1cbf062a826
io/nand: Add CYGINT_IO_NAND_TEST_PARTITION to specify which partition the tests should use.
Ross Younger <wry@ecoscentric.com>
parents:
3386
diff
changeset
|
54 tests should use. |
|
3388
77f93339ffd8
io/nand include/nand_internal.h: Create header to expose internal functions to NAND drivers.
Ross Younger <wry@ecoscentric.com>
parents:
3387
diff
changeset
|
55 * include/nand_internal.h: Create header to expose internal |
|
77f93339ffd8
io/nand include/nand_internal.h: Create header to expose internal functions to NAND drivers.
Ross Younger <wry@ecoscentric.com>
parents:
3387
diff
changeset
|
56 functions to NAND drivers. |
|
3387
c1cbf062a826
io/nand: Add CYGINT_IO_NAND_TEST_PARTITION to specify which partition the tests should use.
Ross Younger <wry@ecoscentric.com>
parents:
3386
diff
changeset
|
57 |
|
3385
631d86e5d620
io/nand tests/nand_rwbenchmark.c: Cope with CYGNUM_KERNEL_COUNTERS_RTC_PERIOD not being constant.
Ross Younger <wry@ecoscentric.com>
parents:
3384
diff
changeset
|
58 2014-09-26 Ross Younger <wry@ecoscentric.com> |
|
631d86e5d620
io/nand tests/nand_rwbenchmark.c: Cope with CYGNUM_KERNEL_COUNTERS_RTC_PERIOD not being constant.
Ross Younger <wry@ecoscentric.com>
parents:
3384
diff
changeset
|
59 |
|
631d86e5d620
io/nand tests/nand_rwbenchmark.c: Cope with CYGNUM_KERNEL_COUNTERS_RTC_PERIOD not being constant.
Ross Younger <wry@ecoscentric.com>
parents:
3384
diff
changeset
|
60 * tests/nand_rwbenchmark.c: Cope with CYGNUM_KERNEL_COUNTERS_RTC_PERIOD |
|
631d86e5d620
io/nand tests/nand_rwbenchmark.c: Cope with CYGNUM_KERNEL_COUNTERS_RTC_PERIOD not being constant.
Ross Younger <wry@ecoscentric.com>
parents:
3384
diff
changeset
|
61 not being constant. |
|
3386
3ec9445648cd
io/nand src/nand.c: Cope with gcc being pickier than it used to.
Ross Younger <wry@ecoscentric.com>
parents:
3385
diff
changeset
|
62 * src/nand.c: Cope with gcc being pickier than it used to. |
|
3385
631d86e5d620
io/nand tests/nand_rwbenchmark.c: Cope with CYGNUM_KERNEL_COUNTERS_RTC_PERIOD not being constant.
Ross Younger <wry@ecoscentric.com>
parents:
3384
diff
changeset
|
63 |
|
3369
17169b710e76
Fix bit rot: make nand package build with recent gcc
Ross Younger <wry@ecoscentric.com>
parents:
3017
diff
changeset
|
64 2014-08-11 Ross Younger <wry@ecoscentric.com> |
|
17169b710e76
Fix bit rot: make nand package build with recent gcc
Ross Younger <wry@ecoscentric.com>
parents:
3017
diff
changeset
|
65 |
|
17169b710e76
Fix bit rot: make nand package build with recent gcc
Ross Younger <wry@ecoscentric.com>
parents:
3017
diff
changeset
|
66 * nand.c nand_bbt.c nand_synth.c: Make build with recent gcc |
|
17169b710e76
Fix bit rot: make nand package build with recent gcc
Ross Younger <wry@ecoscentric.com>
parents:
3017
diff
changeset
|
67 |
|
3384
1229083b0af1
cdl/nand.cdl src/nand.c utils/erasenand.c: Create CYGSEM_IO_NAND_ALLOW_ERASE_WORNBAD.
Ross Younger <wry@ecoscentric.com>
parents:
3383
diff
changeset
|
68 2014-06-21 Ross Younger <wry@ecoscentric.com> |
|
1229083b0af1
cdl/nand.cdl src/nand.c utils/erasenand.c: Create CYGSEM_IO_NAND_ALLOW_ERASE_WORNBAD.
Ross Younger <wry@ecoscentric.com>
parents:
3383
diff
changeset
|
69 * cdl/nand.cdl src/nand.c utils/erasenand.c: Create |
|
1229083b0af1
cdl/nand.cdl src/nand.c utils/erasenand.c: Create CYGSEM_IO_NAND_ALLOW_ERASE_WORNBAD.
Ross Younger <wry@ecoscentric.com>
parents:
3383
diff
changeset
|
70 CYGSEM_IO_NAND_ALLOW_ERASE_WORNBAD. |
|
1229083b0af1
cdl/nand.cdl src/nand.c utils/erasenand.c: Create CYGSEM_IO_NAND_ALLOW_ERASE_WORNBAD.
Ross Younger <wry@ecoscentric.com>
parents:
3383
diff
changeset
|
71 |
|
3383
060772fa9bb3
nand tests/nand_rwbenchmark.c: Fix infinite loop when all blocks are marked bad.
Ross Younger <wry@ecoscentric.com>
parents:
3381
diff
changeset
|
72 2014-06-14 Ross Younger <wry@ecoscentric.com> |
|
060772fa9bb3
nand tests/nand_rwbenchmark.c: Fix infinite loop when all blocks are marked bad.
Ross Younger <wry@ecoscentric.com>
parents:
3381
diff
changeset
|
73 * tests/nand_rwbenchmark.c: Fix infinite loop when all |
|
060772fa9bb3
nand tests/nand_rwbenchmark.c: Fix infinite loop when all blocks are marked bad.
Ross Younger <wry@ecoscentric.com>
parents:
3381
diff
changeset
|
74 blocks are marked bad. |
|
060772fa9bb3
nand tests/nand_rwbenchmark.c: Fix infinite loop when all blocks are marked bad.
Ross Younger <wry@ecoscentric.com>
parents:
3381
diff
changeset
|
75 |
|
3381
0928a0a0c30f
io/nand: Some trivial cleanups, partly to work with gcc 4.7, and partly as I noticed them. Details:
Jonathan Larmour <jifl@eCosCentric.com>
parents:
3380
diff
changeset
|
76 2013-09-06 Jonathan Larmour <jifl@eCosCentric.com> |
|
0928a0a0c30f
io/nand: Some trivial cleanups, partly to work with gcc 4.7, and partly as I noticed them. Details:
Jonathan Larmour <jifl@eCosCentric.com>
parents:
3380
diff
changeset
|
77 |
|
0928a0a0c30f
io/nand: Some trivial cleanups, partly to work with gcc 4.7, and partly as I noticed them. Details:
Jonathan Larmour <jifl@eCosCentric.com>
parents:
3380
diff
changeset
|
78 * src/nand_bbt.c (LOCK_PAGEBUF, UNLOCK_PAGEBUF, bbti_incorporate_one, |
|
0928a0a0c30f
io/nand: Some trivial cleanups, partly to work with gcc 4.7, and partly as I noticed them. Details:
Jonathan Larmour <jifl@eCosCentric.com>
parents:
3380
diff
changeset
|
79 bbti_write_one_table): Remove all uses of i_locked variable as it |
|
0928a0a0c30f
io/nand: Some trivial cleanups, partly to work with gcc 4.7, and partly as I noticed them. Details:
Jonathan Larmour <jifl@eCosCentric.com>
parents:
3380
diff
changeset
|
80 wasn't really used. |
|
0928a0a0c30f
io/nand: Some trivial cleanups, partly to work with gcc 4.7, and partly as I noticed them. Details:
Jonathan Larmour <jifl@eCosCentric.com>
parents:
3380
diff
changeset
|
81 * tests/nand_eccequiv.c (cyg_user_start): Don't use CYG_ASSERTC checks, |
|
0928a0a0c30f
io/nand: Some trivial cleanups, partly to work with gcc 4.7, and partly as I noticed them. Details:
Jonathan Larmour <jifl@eCosCentric.com>
parents:
3380
diff
changeset
|
82 which only tests for debug builds. Use MUST instead. |
|
0928a0a0c30f
io/nand: Some trivial cleanups, partly to work with gcc 4.7, and partly as I noticed them. Details:
Jonathan Larmour <jifl@eCosCentric.com>
parents:
3380
diff
changeset
|
83 * tests/nand_readwrite.c (cyg_user_start): Ditto. |
|
0928a0a0c30f
io/nand: Some trivial cleanups, partly to work with gcc 4.7, and partly as I noticed them. Details:
Jonathan Larmour <jifl@eCosCentric.com>
parents:
3380
diff
changeset
|
84 * tests/nand_sweccwalk.c (cyg_user_start): Ditto. |
|
0928a0a0c30f
io/nand: Some trivial cleanups, partly to work with gcc 4.7, and partly as I noticed them. Details:
Jonathan Larmour <jifl@eCosCentric.com>
parents:
3380
diff
changeset
|
85 |
|
3380
6d93cd3d3350
io/nand: nand.c (nandi_read_whole_page_raw): Remove unused var 'step'.
Jonathan Larmour <jifl@eCosCentric.com>
parents:
3379
diff
changeset
|
86 2013-06-28 Jonathan Larmour <jifl@eCosCentric.com> |
|
6d93cd3d3350
io/nand: nand.c (nandi_read_whole_page_raw): Remove unused var 'step'.
Jonathan Larmour <jifl@eCosCentric.com>
parents:
3379
diff
changeset
|
87 |
|
6d93cd3d3350
io/nand: nand.c (nandi_read_whole_page_raw): Remove unused var 'step'.
Jonathan Larmour <jifl@eCosCentric.com>
parents:
3379
diff
changeset
|
88 * src/nand.c (nandi_read_whole_page_raw): Remove unused var 'step'. |
|
6d93cd3d3350
io/nand: nand.c (nandi_read_whole_page_raw): Remove unused var 'step'.
Jonathan Larmour <jifl@eCosCentric.com>
parents:
3379
diff
changeset
|
89 |
|
3379
b1e9145ae7cd
packages/io/nand/current/tests/nand_rwbenchmark.c: Add CYG_TEST_INIT() before CYG_TEST_NA() to allow auto-testing cyg_test_init() breakpoint to work.
James G. Smith <jsmith@ecoscentric.com>
parents:
3378
diff
changeset
|
90 2012-04-17 James Smith <jsmith@ecoscentric.com> |
|
b1e9145ae7cd
packages/io/nand/current/tests/nand_rwbenchmark.c: Add CYG_TEST_INIT() before CYG_TEST_NA() to allow auto-testing cyg_test_init() breakpoint to work.
James G. Smith <jsmith@ecoscentric.com>
parents:
3378
diff
changeset
|
91 |
|
b1e9145ae7cd
packages/io/nand/current/tests/nand_rwbenchmark.c: Add CYG_TEST_INIT() before CYG_TEST_NA() to allow auto-testing cyg_test_init() breakpoint to work.
James G. Smith <jsmith@ecoscentric.com>
parents:
3378
diff
changeset
|
92 * tests/nand_rwbenchmark.c (cyg_user_start): Add CYG_TEST_INIT() |
|
b1e9145ae7cd
packages/io/nand/current/tests/nand_rwbenchmark.c: Add CYG_TEST_INIT() before CYG_TEST_NA() to allow auto-testing cyg_test_init() breakpoint to work.
James G. Smith <jsmith@ecoscentric.com>
parents:
3378
diff
changeset
|
93 to allow auto-testing to stop on cyg_test_init(). |
|
b1e9145ae7cd
packages/io/nand/current/tests/nand_rwbenchmark.c: Add CYG_TEST_INIT() before CYG_TEST_NA() to allow auto-testing cyg_test_init() breakpoint to work.
James G. Smith <jsmith@ecoscentric.com>
parents:
3378
diff
changeset
|
94 |
|
3378
c61c25416156
* src/nand.c (valid_page_addr): Silence signed/unsigned warning.
Jonathan Larmour <jifl@eCosCentric.com>
parents:
3377
diff
changeset
|
95 2011-07-21 Jonathan Larmour <jifl@eCosCentric.com> |
|
c61c25416156
* src/nand.c (valid_page_addr): Silence signed/unsigned warning.
Jonathan Larmour <jifl@eCosCentric.com>
parents:
3377
diff
changeset
|
96 |
|
c61c25416156
* src/nand.c (valid_page_addr): Silence signed/unsigned warning.
Jonathan Larmour <jifl@eCosCentric.com>
parents:
3377
diff
changeset
|
97 * src/nand.c (valid_page_addr): Silence signed/unsigned warning. |
|
c61c25416156
* src/nand.c (valid_page_addr): Silence signed/unsigned warning.
Jonathan Larmour <jifl@eCosCentric.com>
parents:
3377
diff
changeset
|
98 |
|
3377
84277d0be0b2
Use correct format for FAIL output when using diag_printf to construct
Jonathan Larmour <jifl@eCosCentric.com>
parents:
3376
diff
changeset
|
99 2011-04-08 Jonathan Larmour <jifl@eCosCentric.com> |
|
84277d0be0b2
Use correct format for FAIL output when using diag_printf to construct
Jonathan Larmour <jifl@eCosCentric.com>
parents:
3376
diff
changeset
|
100 |
|
84277d0be0b2
Use correct format for FAIL output when using diag_printf to construct
Jonathan Larmour <jifl@eCosCentric.com>
parents:
3376
diff
changeset
|
101 * tests/nand_eccequiv.c (cyg_user_start): Use correct format for |
|
84277d0be0b2
Use correct format for FAIL output when using diag_printf to construct
Jonathan Larmour <jifl@eCosCentric.com>
parents:
3376
diff
changeset
|
102 FAIL output. |
|
84277d0be0b2
Use correct format for FAIL output when using diag_printf to construct
Jonathan Larmour <jifl@eCosCentric.com>
parents:
3376
diff
changeset
|
103 |
|
3376
23d6949cfdbd
nand.c: Fix name of cyg_nandp_bbt_markbad_pageaddr to match header.
Ross Younger <wry@ecoscentric.com>
parents:
3369
diff
changeset
|
104 2010-07-09 Ross Younger <wry@eCosCentric.com> |
|
3377
84277d0be0b2
Use correct format for FAIL output when using diag_printf to construct
Jonathan Larmour <jifl@eCosCentric.com>
parents:
3376
diff
changeset
|
105 |
|
3376
23d6949cfdbd
nand.c: Fix name of cyg_nandp_bbt_markbad_pageaddr to match header.
Ross Younger <wry@ecoscentric.com>
parents:
3369
diff
changeset
|
106 * nand.c: Fix name of cyg_nandp_bbt_markbad_pageaddr to match header. |
|
23d6949cfdbd
nand.c: Fix name of cyg_nandp_bbt_markbad_pageaddr to match header.
Ross Younger <wry@ecoscentric.com>
parents:
3369
diff
changeset
|
107 |
| 3017 | 108 2010-04-20 Ross Younger <wry@eCosCentric.com> |
| 109 | |
| 110 * nand_ecc.h nand.c: Expand ECC interface to allow different | |
| 111 calculate functions during reads and writes, as needed by some | |
| 112 hardware ECC implementations. Defines | |
| 113 CYGSEM_IO_NAND_ECC_SPLIT_FUNCTION. | |
| 114 * nandunit.c nand_eccequiv.c nand_sweccwalk.c: Fix up. | |
| 115 * nand.c nand_oob.c: Fix uninitialised OOB issue. | |
| 116 * tests/nand_readwrite.c: Add further checks to confirm | |
| 117 the spare area works as expected. | |
| 118 | |
| 119 2010-03-16 Ross Younger <wry@eCosCentric.com> | |
| 120 | |
| 121 * tests: Prefix test names with "nand", for consistency. | |
| 122 * utils/erasenand.c: Fix off-by-one error. | |
| 123 | |
| 124 2010-03-12 Ross Younger <wry@eCosCentric.com> | |
| 125 | |
| 126 * nand.c: Short-cut zero-length part-reads; don't pass them on to the | |
| 127 underlying driver. | |
| 128 * nand.h: Correct off-by-one error (in the safe direction) in the | |
| 129 definition of CYG_NAND_PARTITION_NBLOCKS. | |
| 130 | |
| 131 2009-11-24 Ross Younger <wry@eCosCentric.com> | |
| 132 | |
| 133 * tests/rwbenchmark.c: Add bulk-read and bulk-write modes | |
| 134 which measure time for a whole block. Improve timing output | |
| 135 to scale itself to milliseconds where appropriate. | |
| 136 | |
| 137 * nand_ecc.h, nand_ecc_mtd_fast.c: Expose the byte-parity table | |
| 138 for use in other packages. | |
| 139 | |
|
2994
3d3b0d53c2e5
NAND: application interface v2: functions take partition-relative addresses.
Ross Younger <wry@ecoscentric.com>
parents:
2992
diff
changeset
|
140 2009-11-19 Ross Younger <wry@eCosCentric.com> |
|
3d3b0d53c2e5
NAND: application interface v2: functions take partition-relative addresses.
Ross Younger <wry@ecoscentric.com>
parents:
2992
diff
changeset
|
141 |
|
3d3b0d53c2e5
NAND: application interface v2: functions take partition-relative addresses.
Ross Younger <wry@ecoscentric.com>
parents:
2992
diff
changeset
|
142 Significant interface change. |
|
3d3b0d53c2e5
NAND: application interface v2: functions take partition-relative addresses.
Ross Younger <wry@ecoscentric.com>
parents:
2992
diff
changeset
|
143 * nand.h: Application-facing functions now take partition-relative |
|
3d3b0d53c2e5
NAND: application interface v2: functions take partition-relative addresses.
Ross Younger <wry@ecoscentric.com>
parents:
2992
diff
changeset
|
144 addresses, not device-relative addresses. |
|
3d3b0d53c2e5
NAND: application interface v2: functions take partition-relative addresses.
Ross Younger <wry@ecoscentric.com>
parents:
2992
diff
changeset
|
145 Rename functions cyg_nand_* -> cyg_nandp_* to reflect this (change the |
|
3d3b0d53c2e5
NAND: application interface v2: functions take partition-relative addresses.
Ross Younger <wry@ecoscentric.com>
parents:
2992
diff
changeset
|
146 interface, change the name). |
|
3d3b0d53c2e5
NAND: application interface v2: functions take partition-relative addresses.
Ross Younger <wry@ecoscentric.com>
parents:
2992
diff
changeset
|
147 Create helper macros CYG_NAND_PARTITION_N{BLOCKS,PAGES}. |
|
3d3b0d53c2e5
NAND: application interface v2: functions take partition-relative addresses.
Ross Younger <wry@ecoscentric.com>
parents:
2992
diff
changeset
|
148 Rename NAND_* macros to CYG_NAND_*. |
|
3d3b0d53c2e5
NAND: application interface v2: functions take partition-relative addresses.
Ross Younger <wry@ecoscentric.com>
parents:
2992
diff
changeset
|
149 * tests, utils: Update to new semantics. |
|
3d3b0d53c2e5
NAND: application interface v2: functions take partition-relative addresses.
Ross Younger <wry@ecoscentric.com>
parents:
2992
diff
changeset
|
150 * nand.cdl: Declare CYGSEM_IO_NAND_APPINTERFACE_VERSION |
|
3d3b0d53c2e5
NAND: application interface v2: functions take partition-relative addresses.
Ross Younger <wry@ecoscentric.com>
parents:
2992
diff
changeset
|
151 - calculated, 2 - and add a tripwire to ensure YAFFS is updated. |
|
3d3b0d53c2e5
NAND: application interface v2: functions take partition-relative addresses.
Ross Younger <wry@ecoscentric.com>
parents:
2992
diff
changeset
|
152 * docs/nand.sgml: Updated to suit. |
|
3d3b0d53c2e5
NAND: application interface v2: functions take partition-relative addresses.
Ross Younger <wry@ecoscentric.com>
parents:
2992
diff
changeset
|
153 |
|
2992
d0daa15943a5
NAND: cosmetic messages fix
Ross Younger <wry@ecoscentric.com>
parents:
2991
diff
changeset
|
154 2009-11-17 Ross Younger <wry@eCosCentric.com> |
|
d0daa15943a5
NAND: cosmetic messages fix
Ross Younger <wry@ecoscentric.com>
parents:
2991
diff
changeset
|
155 |
|
d0daa15943a5
NAND: cosmetic messages fix
Ross Younger <wry@ecoscentric.com>
parents:
2991
diff
changeset
|
156 * nand.c: Cosmetic messages fix |
|
d0daa15943a5
NAND: cosmetic messages fix
Ross Younger <wry@ecoscentric.com>
parents:
2991
diff
changeset
|
157 |
|
2988
5cd059c3887b
Fix fencepost error in erasenand.c
Ross Younger <wry@ecoscentric.com>
parents:
2976
diff
changeset
|
158 2009-11-13 Ross Younger <wry@eCosCentric.com> |
|
5cd059c3887b
Fix fencepost error in erasenand.c
Ross Younger <wry@ecoscentric.com>
parents:
2976
diff
changeset
|
159 |
|
5cd059c3887b
Fix fencepost error in erasenand.c
Ross Younger <wry@ecoscentric.com>
parents:
2976
diff
changeset
|
160 * utils/erasenand.c: Fix fencepost error |
|
2989
8fb3f9a53423
Further refine CYGSEM_IO_NAND_USE_BBT, drop the relevant parts of the struct when not enabled.
Ross Younger <wry@ecoscentric.com>
parents:
2988
diff
changeset
|
161 * nand_device.h nand.c: Further refine CYGSEM_IO_NAND_USE_BBT, |
|
8fb3f9a53423
Further refine CYGSEM_IO_NAND_USE_BBT, drop the relevant parts of the struct when not enabled.
Ross Younger <wry@ecoscentric.com>
parents:
2988
diff
changeset
|
162 drop the relevant parts of the struct when not enabled. |
|
2990
436d18a77629
erase_bbt_dangerous: build fix for non-default config
Ross Younger <wry@ecoscentric.com>
parents:
2989
diff
changeset
|
163 * utils/erase_bbt_dangerous.c: Build fix for non-default config |
|
2991
1368d5ff0323
nand_bbt.c: Fix logic error on initial scan (introduced 2009-11-09)
Ross Younger <wry@ecoscentric.com>
parents:
2990
diff
changeset
|
164 * nand_bbt.c: Fix logic error on initial scan |
|
2988
5cd059c3887b
Fix fencepost error in erasenand.c
Ross Younger <wry@ecoscentric.com>
parents:
2976
diff
changeset
|
165 |
|
2976
758f9d488949
NAND: Add timing instrumentation hooks (disabled by default)
Ross Younger <wry@ecoscentric.com>
parents:
2975
diff
changeset
|
166 2009-11-12 Ross Younger <wry@eCosCentric.com> |
|
758f9d488949
NAND: Add timing instrumentation hooks (disabled by default)
Ross Younger <wry@ecoscentric.com>
parents:
2975
diff
changeset
|
167 |
|
758f9d488949
NAND: Add timing instrumentation hooks (disabled by default)
Ross Younger <wry@ecoscentric.com>
parents:
2975
diff
changeset
|
168 * nand.c: Add timing instrumentation hooks. |
|
758f9d488949
NAND: Add timing instrumentation hooks (disabled by default)
Ross Younger <wry@ecoscentric.com>
parents:
2975
diff
changeset
|
169 * nand.cdl: Add CYGSEM_IO_NAND_INSTRUMENT_TIMING to mediate them. |
|
758f9d488949
NAND: Add timing instrumentation hooks (disabled by default)
Ross Younger <wry@ecoscentric.com>
parents:
2975
diff
changeset
|
170 * misc/timetag_to_csv.pl: Helper perl script for use with them. |
|
758f9d488949
NAND: Add timing instrumentation hooks (disabled by default)
Ross Younger <wry@ecoscentric.com>
parents:
2975
diff
changeset
|
171 |
|
2966
c6ce6b63dcb5
NAND: app interface change: read_page does only whole page, read_part_page does part pages
Ross Younger <wry@ecoscentric.com>
parents:
2964
diff
changeset
|
172 2009-11-09 Ross Younger <wry@eCosCentric.com> |
|
c6ce6b63dcb5
NAND: app interface change: read_page does only whole page, read_part_page does part pages
Ross Younger <wry@ecoscentric.com>
parents:
2964
diff
changeset
|
173 |
|
c6ce6b63dcb5
NAND: app interface change: read_page does only whole page, read_part_page does part pages
Ross Younger <wry@ecoscentric.com>
parents:
2964
diff
changeset
|
174 * nand.h: Rationalise interface: |
|
c6ce6b63dcb5
NAND: app interface change: read_page does only whole page, read_part_page does part pages
Ross Younger <wry@ecoscentric.com>
parents:
2964
diff
changeset
|
175 * read_page: now only reads a whole page and/or its spare. |
|
c6ce6b63dcb5
NAND: app interface change: read_page does only whole page, read_part_page does part pages
Ross Younger <wry@ecoscentric.com>
parents:
2964
diff
changeset
|
176 * read_part_page: Created. Allows part-pages and optionally |
|
2976
758f9d488949
NAND: Add timing instrumentation hooks (disabled by default)
Ross Younger <wry@ecoscentric.com>
parents:
2975
diff
changeset
|
177 not checking ECC. |
|
2966
c6ce6b63dcb5
NAND: app interface change: read_page does only whole page, read_part_page does part pages
Ross Younger <wry@ecoscentric.com>
parents:
2964
diff
changeset
|
178 * write_page: now only writes a whole page and/or its spare. |
|
2968
368f9c978e57
NAND: Drop poorly-conceived ecc sub-stride support
Ross Younger <wry@ecoscentric.com>
parents:
2967
diff
changeset
|
179 + nand_ecc.h: Drop earlier attempt to support sub-page ECC. |
|
2967
46c738b81b70
NAND: test part-page reads
Ross Younger <wry@ecoscentric.com>
parents:
2966
diff
changeset
|
180 * tests/readwrite.c: Test out cyg_nand_read_part_page(). |
|
2966
c6ce6b63dcb5
NAND: app interface change: read_page does only whole page, read_part_page does part pages
Ross Younger <wry@ecoscentric.com>
parents:
2964
diff
changeset
|
181 * tests: Update for interface tweak. |
|
2969
0da640d830c9
NAND: Cope with finding only one BBT copy; rationalise BBT finding code
Ross Younger <wry@ecoscentric.com>
parents:
2968
diff
changeset
|
182 * nand_bbt.c: Rationalise BBT finding into one place and fix to |
|
2976
758f9d488949
NAND: Add timing instrumentation hooks (disabled by default)
Ross Younger <wry@ecoscentric.com>
parents:
2975
diff
changeset
|
183 better cope with the situation where only one BBT block had |
|
758f9d488949
NAND: Add timing instrumentation hooks (disabled by default)
Ross Younger <wry@ecoscentric.com>
parents:
2975
diff
changeset
|
184 been written. Cure an internal race. |
|
2974
54682dd5e6fe
NAND: Speed up software ECC checking phase
Ross Younger <wry@ecoscentric.com>
parents:
2969
diff
changeset
|
185 * nand_ecc_mtd_fast.c: Speed up checking phase. |
|
2966
c6ce6b63dcb5
NAND: app interface change: read_page does only whole page, read_part_page does part pages
Ross Younger <wry@ecoscentric.com>
parents:
2964
diff
changeset
|
186 |
|
2963
b836edcc5d76
NAND: Completely rewrite software ECC. A modest code increase (about 500 bytes) is a small price to pay for a massive speedup (measured at 3x on lpc2468, 21x on AMD64 on the desktop...)
Ross Younger <wry@ecoscentric.com>
parents:
2952
diff
changeset
|
187 2009-11-06 Ross Younger <wry@eCosCentric.com> |
|
b836edcc5d76
NAND: Completely rewrite software ECC. A modest code increase (about 500 bytes) is a small price to pay for a massive speedup (measured at 3x on lpc2468, 21x on AMD64 on the desktop...)
Ross Younger <wry@ecoscentric.com>
parents:
2952
diff
changeset
|
188 |
|
b836edcc5d76
NAND: Completely rewrite software ECC. A modest code increase (about 500 bytes) is a small price to pay for a massive speedup (measured at 3x on lpc2468, 21x on AMD64 on the desktop...)
Ross Younger <wry@ecoscentric.com>
parents:
2952
diff
changeset
|
189 * nand_ecc_mtd_fast.c: Created. Complete rewrite of software |
|
b836edcc5d76
NAND: Completely rewrite software ECC. A modest code increase (about 500 bytes) is a small price to pay for a massive speedup (measured at 3x on lpc2468, 21x on AMD64 on the desktop...)
Ross Younger <wry@ecoscentric.com>
parents:
2952
diff
changeset
|
190 ECC for massive performance boost. In summary, use all 32 bits |
|
b836edcc5d76
NAND: Completely rewrite software ECC. A modest code increase (about 500 bytes) is a small price to pay for a massive speedup (measured at 3x on lpc2468, 21x on AMD64 on the desktop...)
Ross Younger <wry@ecoscentric.com>
parents:
2952
diff
changeset
|
191 of a register at once, and part-unroll the operation. (Also |
|
b836edcc5d76
NAND: Completely rewrite software ECC. A modest code increase (about 500 bytes) is a small price to pay for a massive speedup (measured at 3x on lpc2468, 21x on AMD64 on the desktop...)
Ross Younger <wry@ecoscentric.com>
parents:
2952
diff
changeset
|
192 rewrote the ecc repair function to drop the dependency on the |
|
b836edcc5d76
NAND: Completely rewrite software ECC. A modest code increase (about 500 bytes) is a small price to pay for a massive speedup (measured at 3x on lpc2468, 21x on AMD64 on the desktop...)
Ross Younger <wry@ecoscentric.com>
parents:
2952
diff
changeset
|
193 previous (imported) code. |
|
b836edcc5d76
NAND: Completely rewrite software ECC. A modest code increase (about 500 bytes) is a small price to pay for a massive speedup (measured at 3x on lpc2468, 21x on AMD64 on the desktop...)
Ross Younger <wry@ecoscentric.com>
parents:
2952
diff
changeset
|
194 * tests: Update to suit the above. |
|
2964
b3d2f083ab91
NAND: Create software ECC equivalence test
Ross Younger <wry@ecoscentric.com>
parents:
2963
diff
changeset
|
195 * tests/eccequiv.c: Created (used to test new ECC implementation). |
|
2963
b836edcc5d76
NAND: Completely rewrite software ECC. A modest code increase (about 500 bytes) is a small price to pay for a massive speedup (measured at 3x on lpc2468, 21x on AMD64 on the desktop...)
Ross Younger <wry@ecoscentric.com>
parents:
2952
diff
changeset
|
196 |
|
2951
0eb1d8b14623
NAND: update doc for recent changes; document ECC alg interface
Ross Younger <wry@ecoscentric.com>
parents:
2950
diff
changeset
|
197 2009-10-28 Ross Younger <wry@eCosCentric.com> |
|
2948
f14749d39b9c
NAND: implement CYGSEM_IO_NAND_USE_BBT
Ross Younger <wry@ecoscentric.com>
parents:
2944
diff
changeset
|
198 |
|
f14749d39b9c
NAND: implement CYGSEM_IO_NAND_USE_BBT
Ross Younger <wry@ecoscentric.com>
parents:
2944
diff
changeset
|
199 * nand.cdl, nand.c, nand_bbt.[ch]: CYGSEM_IO_NAND_USE_BBT |
|
f14749d39b9c
NAND: implement CYGSEM_IO_NAND_USE_BBT
Ross Younger <wry@ecoscentric.com>
parents:
2944
diff
changeset
|
200 implemented (default on). Updated tests and utils to suit. |
|
2949
b72667909323
NAND: add CYGBLD_IO_NAND_BUILD_UTILS; tidy bbt code
Ross Younger <wry@ecoscentric.com>
parents:
2948
diff
changeset
|
201 * nand.cdl: Add convenience options to build the utils as well |
|
b72667909323
NAND: add CYGBLD_IO_NAND_BUILD_UTILS; tidy bbt code
Ross Younger <wry@ecoscentric.com>
parents:
2948
diff
changeset
|
202 as the tests. |
|
2950
cde493f78168
NAND: add sweccwalk test
Ross Younger <wry@ecoscentric.com>
parents:
2949
diff
changeset
|
203 * tests/sweccwalk.c: Created (software ECC bit-walker and repair |
|
cde493f78168
NAND: add sweccwalk test
Ross Younger <wry@ecoscentric.com>
parents:
2949
diff
changeset
|
204 consistency checks) |
|
2951
0eb1d8b14623
NAND: update doc for recent changes; document ECC alg interface
Ross Younger <wry@ecoscentric.com>
parents:
2950
diff
changeset
|
205 * nand.sgml: Updated for the above. Documented ECC algorithm |
|
0eb1d8b14623
NAND: update doc for recent changes; document ECC alg interface
Ross Younger <wry@ecoscentric.com>
parents:
2950
diff
changeset
|
206 interface. |
|
2952
56aff9481398
NAND: make rwbenchmark check its work
Ross Younger <wry@ecoscentric.com>
parents:
2951
diff
changeset
|
207 * tests/rwbenchmark.c: Have rwbenchmark use randomised test data |
|
56aff9481398
NAND: make rwbenchmark check its work
Ross Younger <wry@ecoscentric.com>
parents:
2951
diff
changeset
|
208 and check its work for better validity. |
|
2948
f14749d39b9c
NAND: implement CYGSEM_IO_NAND_USE_BBT
Ross Younger <wry@ecoscentric.com>
parents:
2944
diff
changeset
|
209 |
|
2944
32bcd454bda4
Major update to allow hardware ECC: change driver interface (to "v2" - with CDL marker), expand ECC interface
wry
parents:
2943
diff
changeset
|
210 2009-10-08 Ross Younger <wry@eCosCentric.com> |
|
32bcd454bda4
Major update to allow hardware ECC: change driver interface (to "v2" - with CDL marker), expand ECC interface
wry
parents:
2943
diff
changeset
|
211 |
|
32bcd454bda4
Major update to allow hardware ECC: change driver interface (to "v2" - with CDL marker), expand ECC interface
wry
parents:
2943
diff
changeset
|
212 * nand_ecc.h, nand.c, nand_ecc_mtd.c: Expand ECC interface |
|
32bcd454bda4
Major update to allow hardware ECC: change driver interface (to "v2" - with CDL marker), expand ECC interface
wry
parents:
2943
diff
changeset
|
213 to better allow hardware assistance. |
|
32bcd454bda4
Major update to allow hardware ECC: change driver interface (to "v2" - with CDL marker), expand ECC interface
wry
parents:
2943
diff
changeset
|
214 * nand_device.h, nand.cdl: Change function set ("v2"), add cdl marker |
|
32bcd454bda4
Major update to allow hardware ECC: change driver interface (to "v2" - with CDL marker), expand ECC interface
wry
parents:
2943
diff
changeset
|
215 * nand.c: Implement v2 read/write, updated devinit |
|
32bcd454bda4
Major update to allow hardware ECC: change driver interface (to "v2" - with CDL marker), expand ECC interface
wry
parents:
2943
diff
changeset
|
216 * nand.c, nand_bbt.h: Internally expose "raw" page read/write fns |
|
32bcd454bda4
Major update to allow hardware ECC: change driver interface (to "v2" - with CDL marker), expand ECC interface
wry
parents:
2943
diff
changeset
|
217 * nand_oob.c, nand_oob.h: Create packed_{read,write} fns |
|
32bcd454bda4
Major update to allow hardware ECC: change driver interface (to "v2" - with CDL marker), expand ECC interface
wry
parents:
2943
diff
changeset
|
218 * nand_bbt.c: Use raw page read/write fns, packed read/write fns |
|
32bcd454bda4
Major update to allow hardware ECC: change driver interface (to "v2" - with CDL marker), expand ECC interface
wry
parents:
2943
diff
changeset
|
219 - and sanity test them on startup |
|
32bcd454bda4
Major update to allow hardware ECC: change driver interface (to "v2" - with CDL marker), expand ECC interface
wry
parents:
2943
diff
changeset
|
220 * nand.sgml: Document driver interface change. |
|
32bcd454bda4
Major update to allow hardware ECC: change driver interface (to "v2" - with CDL marker), expand ECC interface
wry
parents:
2943
diff
changeset
|
221 * rwbenchmark.c: Check that we read the requisite amount of data. |
|
32bcd454bda4
Major update to allow hardware ECC: change driver interface (to "v2" - with CDL marker), expand ECC interface
wry
parents:
2943
diff
changeset
|
222 |
|
2943
cc87500cad3c
NAND/synth tests: Don't put large arrays on stack. (#1000826)
wry
parents:
2937
diff
changeset
|
223 2009-09-28 Ross Younger <wry@eCosCentric.com> |
|
cc87500cad3c
NAND/synth tests: Don't put large arrays on stack. (#1000826)
wry
parents:
2937
diff
changeset
|
224 |
|
cc87500cad3c
NAND/synth tests: Don't put large arrays on stack. (#1000826)
wry
parents:
2937
diff
changeset
|
225 * tests: Don't put large arrays on stack. |
|
cc87500cad3c
NAND/synth tests: Don't put large arrays on stack. (#1000826)
wry
parents:
2937
diff
changeset
|
226 |
| 2937 | 227 2009-08-28 Ross Younger <wry@eCosCentric.com> |
| 228 | |
| 229 * doc/nand.sgml: Update. Split entries for NAND device drivers out into | |
| 230 their individual driver packages. | |
| 231 * tests: Moved bbt.c and multipagebbt.c into devs/nand/synth/ | |
| 232 | |
|
2930
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
233 2009-07-28 Ross Younger <wry@eCosCentric.com> |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
234 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
235 * utils: Add erasenand.c; build fix erase_bbt_dangerous.c |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
236 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
237 2009-07-21 Ross Younger <wry@eCosCentric.com> |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
238 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
239 * nand_bbt.c: Fix BBT initialisation bug |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
240 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
241 2009-07-17 Ross Younger <wry@eCosCentric.com> |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
242 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
243 * nand.sgml: Prep for inclusion in docbuilds |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
244 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
245 2009-07-09 Ross Younger <wry@eCosCentric.com> |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
246 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
247 * nand_bbt.c: Fix corner case arising from a write failure on a BBT block. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
248 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
249 2009-07-02 Ross Younger <wry@eCosCentric.com> |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
250 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
251 * tests: Add rwbenchmark.c |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
252 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
253 2009-06-17 Ross Younger <wry@eCosCentric.com> |
| 3017 | 254 |
|
2930
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
255 * Global: Create a per-device lock to remove this burden from drivers. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
256 Retab for consistency with the rest of eCos. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
257 * cdl: Create CYGNUM_NAND_PAGEBUFFER; NAND drivers must impose |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
258 requirements on this according to the largest device they support. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
259 Add dependency on stdlib. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
260 * nand.c, util.c: Add more assertions. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
261 * nand_app.h: Renamed to nand.h for consistency with other packages |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
262 * nand_bbt.c: Refactor to use the pagebuffer to not be so stack-greedy. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
263 Properly incorporate both on-chip BBTs in case we were interrupted |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
264 when writing out. Add more assertions. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
265 * nand_bbt.h: Move BLOCK2PAGEADDR and PAGE2BLOCKADDR to util.h. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
266 Header made internal. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
267 * nand_ecc.h: Rename ECCPERPAGE to CYG_NAND_ECCPERPAGE. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
268 * nand_oob.h: Rename NAND_APPLICATION_OOB to CYG_NAND_APPLICATION_OOB, |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
269 similarly for OOB_MAX_ECC_SLOTS and OOB_MAX_APP_SLOTS. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
270 * doc: Linewrap for consistency |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
271 * tests: Tweak to make more likely to work in a minimal config. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
272 Move mkvector.c and ar4test.c into misc/. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
273 bbt doesn't mandate synth. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
274 eccdamage moved to synth. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
275 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
276 2009-06-02 Ross Younger <wry@eCosCentric.com> |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
277 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
278 * cyg_nand_init: Removed in toto, in favour of a static constructor. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
279 * Global: Replaced all use of diag_printf with new NAND_ERROR macro. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
280 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
281 2009-06-01 Ross Younger <wry@eCosCentric.com> |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
282 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
283 * src/util.c include/util.h: Created |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
284 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
285 2009-03-02 Ross Younger <wry@eCosCentric.com> |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
286 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
287 * New package. NAND flash access library. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
288 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
289 //=========================================================================== |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
290 // ####ECOSGPLCOPYRIGHTBEGIN#### |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
291 // ------------------------------------------- |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
292 // This file is part of eCos, the Embedded Configurable Operating System. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
293 // Copyright (C) 2009 eCosCentric Limited. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
294 // |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
295 // eCos is free software; you can redistribute it and/or modify it under |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
296 // the terms of the GNU General Public License as published by the Free |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
297 // Software Foundation; either version 2 or (at your option) any later |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
298 // version. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
299 // |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
300 // eCos is distributed in the hope that it will be useful, but WITHOUT |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
301 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
302 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
303 // for more details. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
304 // |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
305 // You should have received a copy of the GNU General Public License |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
306 // along with eCos; if not, write to the Free Software Foundation, Inc., |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
307 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
308 // |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
309 // As a special exception, if other files instantiate templates or use |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
310 // macros or inline functions from this file, or you compile this file |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
311 // and link it with other works to produce a work based on this file, |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
312 // this file does not by itself cause the resulting work to be covered by |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
313 // the GNU General Public License. However the source code for this file |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
314 // must still be made available in accordance with section (3) of the GNU |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
315 // General Public License v2. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
316 // |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
317 // This exception does not invalidate any other reasons why a work based |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
318 // on this file might be covered by the GNU General Public License. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
319 // ------------------------------------------- |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
320 // ####ECOSGPLCOPYRIGHTEND#### |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
321 //=========================================================================== |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
322 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
323 |
