Spencer Oliver
8684bd1342
cfi: fix release build warnings
...
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net >
2011-01-10 09:37:18 +00:00
Eric Wetzel
0535531d27
nit: more LOG_* \n fixes
...
Remove extra \n from LOG_DEBUG, LOG_INFO, and LOG_WARNING messages
Remove LOG_INFO_N
LOG_INFO_N was only used once and had a \n at the end
Change LOG_USER_N calls that end with \n to LOG_USER
2011-01-09 21:35:23 +01:00
Freddie Chopin
61e1e525c1
Add another level of procedures to LPC2xxx initialization - procedures for specific targets (setup_lpc<number>) take core clock and adapter clock as parameters. This way "constant" parameters (flash size and type, CPUTAPID, etc.) do not need to be copied if one wishes to change the "variable" parameters - like the core clock or adapter clock - in a board config file or somewhere else.
...
Signed-off-by: Freddie Chopin <freddie_chopin@op.pl >
2011-01-09 21:34:02 +01:00
David Brownell
7ec55eb863
present CM3 Trace agenda
2011-01-09 21:14:57 +01:00
Freddie Chopin
94fa8fd30a
Add common LPC2xxx setup procedure, use in all LPC2xxx files.
...
Signed-off-by: Freddie Chopin <freddie_chopin@op.pl >
2011-01-07 16:09:31 +01:00
Spencer Oliver
aa61a3b3d8
cfi: use safer arch detection
...
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net >
2011-01-06 10:35:59 +00:00
Spencer Oliver
7351eecf6a
loader: update loader src for armv7-m arch
...
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net >
2011-01-06 10:35:02 +00:00
Jonathan Dumaresq
6a1750e961
Add the support for the armv7m arch.
...
Signed-off-by: Jonathan Dumaresq <jdumaresq@cimeq.qc.ca >
2011-01-06 08:05:02 +01:00
Jonathan Dumaresq
9f408db29d
Add the contrib file for the armv7m arch
...
Signed-off-by: Jonathan Dumaresq <jdumaresq@cimeq.qc.ca >
2011-01-06 08:04:58 +01:00
Eric Wetzel
a665ef716a
nit: do not add \n at end of LOG_ERROR
...
Fixed in many other places, and submitted in response to Øyvind's invitation.
2011-01-05 21:46:12 +01:00
Spencer Oliver
0cd84000da
mips32: add fastdata loader working area
...
Add a working area that is preserved between calls to
mips_m4k_bulk_write_memory - this gives us a speed increase
of approx 3kb/sec during flash writes to the pic32mx.
This area is released during a resume/reset.
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net >
2011-01-04 12:29:49 +00:00
Spencer Oliver
dc1c5a7500
target: change working area free data type
...
We only use the struct working_area member 'free' as a
true/false type so might as well use a bool data type.
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net >
2011-01-04 09:52:20 +00:00
Øyvind Harboe
e8eb5bbc04
nit: do not add \n at end of LOG_ERROR
...
This is done in many other places as well, patch
to fix gratefully accepted!
2011-01-03 13:37:41 +01:00
Øyvind Harboe
c69553cbc5
error handling: the error number is not part of the user interface
...
Do not propagate error number to user. This is for internal
programming purposes only. Error messages to the user is
reported as text via LOG_ERROR().
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com >
2011-01-03 13:33:27 +01:00
Michael Schwingen
1795239cfd
actux3.cfg: add function to setup for u-boot debugging
...
Signed-off-by: Michael Schwingen <michael@schwingen.org >
2011-01-02 21:17:57 +01:00
Michael Schwingen
09a0a69c09
cfi_protect is not implemented on Spansion flashes (many do not even have protection bits). Demote from error to warning, so that common board code can use "flash write_image erase unlock" regardless of the flash type.
...
Signed-off-by: Michael Schwingen <michael@schwingen.org >
2011-01-02 21:15:27 +01:00
Michael Schwingen
d8ece229f9
non-CFI flash code uses data from CFI structures. Make sure that timeouts are filled in on non-CFI flashes, and print CFI information in all cases, nut just on CFI flashes.
...
Signed-off-by: Michael Schwingen <michael@schwingen.org >
2011-01-02 21:15:08 +01:00
Jon Povey
d356034f03
svf: implement sleep for RUNTEST min_time
...
Signed-off-by: Jon Povey <jon.povey@racelogic.co.uk >
min_time was effectively ignored, I needed it to program a Lattice MachXO
which uses a RUNTEST to wait for an erase operation, amongst other things.
With this patch pauses happen and I can program the device with an SVF
generated in LSC ispVM (with "Rev D Standard" checked to suppress
nonstandard LOOP statements)
2011-01-02 20:02:16 +01:00
Jon Povey
18a5a46bd9
svf: fix USAGE and related error reporting
...
Signed-off-by: Jon Povey <jon.povey@racelogic.co.uk >
2011-01-02 20:01:20 +01:00
Antonio Borneo
093ec6656a
NAND/S3CXXXX: remove private "target" copy
...
Remove "target" form private data, and use
common one in struct nand_block.
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com >
2011-01-02 19:58:58 +01:00
Antonio Borneo
f49283a062
NAND/ORION: remove private "target" copy
...
Remove "target" form private data, and use
common one in struct nand_block.
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com >
2011-01-02 19:58:40 +01:00
Antonio Borneo
5e27647e22
NAND/NUC910: remove private "target" copy
...
Remove "target" form private data, and use
common one in struct nand_block.
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com >
2011-01-02 19:58:26 +01:00
Antonio Borneo
457556b146
NAND/MX3: remove private "target" copy
...
Remove "target" form private data, and use
common one in struct nand_block.
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com >
2011-01-02 19:58:19 +01:00
Antonio Borneo
b7b9ad755e
NAND/MX2: remove private "target" copy
...
Remove "target" form private data, and use
common one in struct nand_block.
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com >
2011-01-02 19:57:58 +01:00
Antonio Borneo
35c30e9ee7
NAND/LPC3180: remove private "target" copy
...
Remove "target" form private data, and use
common one in struct nand_block.
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com >
2011-01-02 19:57:45 +01:00