forked from auracaster/openocd
The following patches was applied:
- openocd-flash-static-keyword-v3.patch - openocd-lpc2000-fix-erase-obo.patch - openocd-jlink-fix-sign-ptr-warn.patch - openocd-wextra-etm.patch - openocd-wextra-jtag.patch - openocd-add-new-tap-symbols-v6.patch Many thanks to Zach Welch <zw(at)superlucidity.net> git-svn-id: svn://svn.berlios.de/openocd/trunk@1462 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -38,9 +38,8 @@
|
||||
#include "s3c24xx_nand.h"
|
||||
#include "target.h"
|
||||
|
||||
int s3c2443_nand_device_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc, struct nand_device_s *device);
|
||||
int s3c2443_init(struct nand_device_s *device);
|
||||
int s3c2443_nand_ready(struct nand_device_s *device, int timeout);
|
||||
static int s3c2443_nand_device_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc, struct nand_device_s *device);
|
||||
static int s3c2443_init(struct nand_device_s *device);
|
||||
|
||||
nand_flash_controller_t s3c2443_nand_controller =
|
||||
{
|
||||
@@ -61,7 +60,7 @@ nand_flash_controller_t s3c2443_nand_controller =
|
||||
.nand_ready = s3c2440_nand_ready,
|
||||
};
|
||||
|
||||
int s3c2443_nand_device_command(struct command_context_s *cmd_ctx, char *cmd,
|
||||
static int s3c2443_nand_device_command(struct command_context_s *cmd_ctx, char *cmd,
|
||||
char **args, int argc,
|
||||
struct nand_device_s *device)
|
||||
{
|
||||
@@ -81,7 +80,7 @@ int s3c2443_nand_device_command(struct command_context_s *cmd_ctx, char *cmd,
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
int s3c2443_init(struct nand_device_s *device)
|
||||
static int s3c2443_init(struct nand_device_s *device)
|
||||
{
|
||||
s3c24xx_nand_controller_t *s3c24xx_info = device->controller_priv;
|
||||
target_t *target = s3c24xx_info->target;
|
||||
|
||||
Reference in New Issue
Block a user