Mercurial > nand-ecoscentric
annotate packages/io/nand/current/ChangeLog @ 2975:7050b2f79b6e
NAND bbt: fix internal race
| author | Ross Younger <wry@ecoscentric.com> |
|---|---|
| date | Tue, 10 Nov 2009 15:44:43 +0000 |
| parents | 54682dd5e6fe |
| children | 758f9d488949 |
| rev | line source |
|---|---|
|
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
|
1 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
|
2 |
|
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
|
3 * 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
|
4 * 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
|
5 * read_part_page: Created. Allows part-pages and optionally |
|
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
|
6 not checking ECC. |
|
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
|
7 * 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
|
8 + 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
|
9 * 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
|
10 * 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
|
11 * nand_bbt.c: Rationalise BBT finding into one place and fix to |
|
0da640d830c9
NAND: Cope with finding only one BBT copy; rationalise BBT finding code
Ross Younger <wry@ecoscentric.com>
parents:
2968
diff
changeset
|
12 better cope with the situation where only one BBT block had |
|
2975
7050b2f79b6e
NAND bbt: fix internal race
Ross Younger <wry@ecoscentric.com>
parents:
2974
diff
changeset
|
13 been written. Cure an internal race. |
|
2974
54682dd5e6fe
NAND: Speed up software ECC checking phase
Ross Younger <wry@ecoscentric.com>
parents:
2969
diff
changeset
|
14 * 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
|
15 |
|
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
|
16 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
|
17 |
|
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
|
18 * 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
|
19 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
|
20 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
|
21 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
|
22 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
|
23 * tests: Update to suit the above. |
|
2964
b3d2f083ab91
NAND: Create software ECC equivalence test
Ross Younger <wry@ecoscentric.com>
parents:
2963
diff
changeset
|
24 * 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
|
25 |
|
2951
0eb1d8b14623
NAND: update doc for recent changes; document ECC alg interface
Ross Younger <wry@ecoscentric.com>
parents:
2950
diff
changeset
|
26 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
|
27 |
|
f14749d39b9c
NAND: implement CYGSEM_IO_NAND_USE_BBT
Ross Younger <wry@ecoscentric.com>
parents:
2944
diff
changeset
|
28 * 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
|
29 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
|
30 * 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
|
31 as the tests. |
|
2950
cde493f78168
NAND: add sweccwalk test
Ross Younger <wry@ecoscentric.com>
parents:
2949
diff
changeset
|
32 * tests/sweccwalk.c: Created (software ECC bit-walker and repair |
|
cde493f78168
NAND: add sweccwalk test
Ross Younger <wry@ecoscentric.com>
parents:
2949
diff
changeset
|
33 consistency checks) |
|
2951
0eb1d8b14623
NAND: update doc for recent changes; document ECC alg interface
Ross Younger <wry@ecoscentric.com>
parents:
2950
diff
changeset
|
34 * 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
|
35 interface. |
|
2952
56aff9481398
NAND: make rwbenchmark check its work
Ross Younger <wry@ecoscentric.com>
parents:
2951
diff
changeset
|
36 * 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
|
37 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
|
38 |
|
2944
32bcd454bda4
Major update to allow hardware ECC: change driver interface (to "v2" - with CDL marker), expand ECC interface
wry
parents:
2943
diff
changeset
|
39 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
|
40 |
|
32bcd454bda4
Major update to allow hardware ECC: change driver interface (to "v2" - with CDL marker), expand ECC interface
wry
parents:
2943
diff
changeset
|
41 * 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
|
42 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
|
43 * 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
|
44 * 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
|
45 * 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
|
46 * 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
|
47 * 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
|
48 - 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
|
49 * 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
|
50 * 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
|
51 |
|
2943
cc87500cad3c
NAND/synth tests: Don't put large arrays on stack. (#1000826)
wry
parents:
2937
diff
changeset
|
52 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
|
53 |
|
cc87500cad3c
NAND/synth tests: Don't put large arrays on stack. (#1000826)
wry
parents:
2937
diff
changeset
|
54 * 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
|
55 |
| 2937 | 56 2009-08-28 Ross Younger <wry@eCosCentric.com> |
| 57 | |
| 58 * doc/nand.sgml: Update. Split entries for NAND device drivers out into | |
| 59 their individual driver packages. | |
| 60 * tests: Moved bbt.c and multipagebbt.c into devs/nand/synth/ | |
| 61 | |
|
2930
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
62 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
|
63 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
64 * 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
|
65 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
66 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
|
67 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
68 * 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
|
69 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
70 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
|
71 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
72 * 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
|
73 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
74 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
|
75 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
76 * 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
|
77 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
78 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
|
79 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
80 * tests: Add rwbenchmark.c |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
81 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
82 2009-06-17 Ross Younger <wry@eCosCentric.com> |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
83 * 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
|
84 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
|
85 * 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
|
86 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
|
87 Add dependency on stdlib. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
88 * 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
|
89 * 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
|
90 * 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
|
91 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
|
92 when writing out. Add more assertions. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
93 * 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
|
94 Header made internal. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
95 * 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
|
96 * 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
|
97 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
|
98 * doc: Linewrap for consistency |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
99 * 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
|
100 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
|
101 bbt doesn't mandate synth. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
102 eccdamage moved to synth. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
103 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
104 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
|
105 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
106 * 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
|
107 * 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
|
108 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
109 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
|
110 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
111 * 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
|
112 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
113 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
|
114 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
115 * New package. NAND flash access library. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
116 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
117 //=========================================================================== |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
118 // ####ECOSGPLCOPYRIGHTBEGIN#### |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
119 // ------------------------------------------- |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
120 // 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
|
121 // Copyright (C) 2009 eCosCentric Limited. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
122 // |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
123 // 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
|
124 // 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
|
125 // 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
|
126 // version. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
127 // |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
128 // 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
|
129 // 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
|
130 // 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
|
131 // for more details. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
132 // |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
133 // 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
|
134 // 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
|
135 // 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
|
136 // |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
137 // 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
|
138 // 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
|
139 // 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
|
140 // 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
|
141 // 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
|
142 // 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
|
143 // General Public License v2. |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
144 // |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
145 // 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
|
146 // 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
|
147 // ------------------------------------------- |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
148 // ####ECOSGPLCOPYRIGHTEND#### |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
149 //=========================================================================== |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
150 |
|
6efd22c2e7b1
Import anoncvs-based NAND and device drivers to 20090826
Ross Younger <wry@ecoscentric.com>
parents:
diff
changeset
|
151 |
