Moves NAND drivers to src/flash/nand/.
Adds src/flash/nand/Makefile.am.
Builds libocdflashnand.la.
17 files changed:
src/target/Makefile dnl
src/server/Makefile dnl
src/flash/Makefile dnl
src/target/Makefile dnl
src/server/Makefile dnl
src/flash/Makefile dnl
+ src/flash/nand/Makefile dnl
src/pld/Makefile dnl
doc/Makefile dnl
)
src/pld/Makefile dnl
doc/Makefile dnl
)
AM_CPPFLAGS = \
-I$(top_srcdir)/src/helper \
-I$(top_srcdir)/src/jtag \
AM_CPPFLAGS = \
-I$(top_srcdir)/src/helper \
-I$(top_srcdir)/src/jtag \
+libflash_la_LIBADD = \
+ $(top_builddir)/src/flash/nand/libocdflashnand.la
+
FLASH_SRCS = \
common.c \
cfi.c \
FLASH_SRCS = \
common.c \
cfi.c \
arm_nandio.c \
nand_ecc.c \
nand_ecc_kw.c \
arm_nandio.c \
nand_ecc.c \
nand_ecc_kw.c \
-NAND_DEVICES_SRCS = \
- nonce_nand.c \
- davinci_nand.c \
- lpc3180_nand_controller.c \
- mx3_nand.c \
- orion_nand.c \
- s3c24xx_nand.c \
- s3c2410_nand.c \
- s3c2412_nand.c \
- s3c2440_nand.c \
- s3c2443_nand.c
-
-
noinst_HEADERS = \
arm_nandio.h \
at91sam7.h \
noinst_HEADERS = \
arm_nandio.h \
at91sam7.h \
flash.h \
lpc2000.h \
lpc288x.h \
flash.h \
lpc2000.h \
lpc288x.h \
- lpc3180_nand_controller.h \
non_cfi.h \
nand.h \
ocl.h \
non_cfi.h \
nand.h \
ocl.h \
str7x.h \
str9x.h \
str9xpec.h \
str7x.h \
str9x.h \
str9xpec.h \
- tms470.h \
- s3c24xx_nand.h \
- s3c24xx_regs_nand.h
--- /dev/null
+AM_CPPFLAGS = \
+ -I$(top_srcdir)/src/flash \
+ -I$(top_srcdir)/src/helper \
+ -I$(top_srcdir)/src/jtag \
+ -I$(top_srcdir)/src/target
+
+noinst_LTLIBRARIES = libocdflashnand.la
+
+libocdflashnand_la_SOURCES = \
+ nonce.c \
+ davinci.c \
+ lpc3180.c \
+ mx3.c \
+ orion.c \
+ s3c24xx.c \
+ s3c2410.c \
+ s3c2412.c \
+ s3c2440.c \
+ s3c2443.c
+
+noinst_HEADERS = \
+ lpc3180.h \
+ mx3.h \
+ s3c24xx.h \
+ s3c24xx_regs.h
+
+MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
#include "config.h"
#endif
#include "config.h"
#endif
-#include "lpc3180_nand_controller.h"
#include "nand.h"
static int lpc3180_reset(struct nand_device *nand);
#include "nand.h"
static int lpc3180_reset(struct nand_device *nand);
#include "config.h"
#endif
#include "config.h"
#endif
static const char target_not_halted_err_msg[] =
"target must be halted to use mx3 NAND flash controller";
static const char target_not_halted_err_msg[] =
"target must be halted to use mx3 NAND flash controller";
#include "config.h"
#endif
#include "config.h"
#endif
-#include "s3c24xx_nand.h"
NAND_DEVICE_COMMAND_HANDLER(s3c2410_nand_device_command)
{
NAND_DEVICE_COMMAND_HANDLER(s3c2410_nand_device_command)
{
#include "config.h"
#endif
#include "config.h"
#endif
-#include "s3c24xx_nand.h"
NAND_DEVICE_COMMAND_HANDLER(s3c2412_nand_device_command)
{
NAND_DEVICE_COMMAND_HANDLER(s3c2412_nand_device_command)
{
#include "config.h"
#endif
#include "config.h"
#endif
-#include "s3c24xx_nand.h"
NAND_DEVICE_COMMAND_HANDLER(s3c2440_nand_device_command)
NAND_DEVICE_COMMAND_HANDLER(s3c2440_nand_device_command)
#include "config.h"
#endif
#include "config.h"
#endif
-#include "s3c24xx_nand.h"
NAND_DEVICE_COMMAND_HANDLER(s3c2443_nand_device_command)
NAND_DEVICE_COMMAND_HANDLER(s3c2443_nand_device_command)
#include "config.h"
#endif
#include "config.h"
#endif
-#include "s3c24xx_nand.h"
-#include "s3c24xx_regs_nand.h"
+#include "s3c24xx_regs.h"
struct s3c24xx_nand_controller
{
struct s3c24xx_nand_controller
{
Linking to existing account procedure
If you already have an account and want to add another login method
you
MUST first sign in with your existing account and
then change URL to read
https://review.openocd.org/login/?link
to get to this page again but this time it'll work for linking. Thank you.
SSH host keys fingerprints
1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=.. |
|+o.. . |
|*.o . . |
|+B . . . |
|Bo. = o S |
|Oo.+ + = |
|oB=.* = . o |
| =+=.+ + E |
|. .=o . o |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)