summaryrefslogtreecommitdiff
path: root/src/flash/orion_nand.c
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-18 07:10:25 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-18 07:10:25 +0000
commit1840226d555b9863a2315bcc6218671fdfa2af32 (patch)
tree689d43b9d64d4adee7d5e77cab12645ceb707da5 /src/flash/orion_nand.c
parent3c2eabd20f5182c53f0bfb0c6f2a9f2595434e87 (diff)
downloadopenocd+libswd-1840226d555b9863a2315bcc6218671fdfa2af32.tar.gz
openocd+libswd-1840226d555b9863a2315bcc6218671fdfa2af32.tar.bz2
openocd+libswd-1840226d555b9863a2315bcc6218671fdfa2af32.tar.xz
openocd+libswd-1840226d555b9863a2315bcc6218671fdfa2af32.zip
Transform 'u32' to 'uint32_t' in src/flash.
- Replace '\([^_]\)u32' with '\1uint32_t'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2280 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/orion_nand.c')
-rw-r--r--src/flash/orion_nand.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/flash/orion_nand.c b/src/flash/orion_nand.c
index 8a76ffcb..6b50f1fb 100644
--- a/src/flash/orion_nand.c
+++ b/src/flash/orion_nand.c
@@ -36,9 +36,9 @@ typedef struct orion_nand_controller_s
struct target_s *target;
working_area_t *copy_area;
- u32 cmd;
- u32 addr;
- u32 data;
+ uint32_t cmd;
+ uint32_t addr;
+ uint32_t data;
} orion_nand_controller_t;
#define CHECK_HALTED \
@@ -102,10 +102,10 @@ static int orion_nand_fast_block_write(struct nand_device_s *device, uint8_t *da
target_t *target = hw->target;
armv4_5_algorithm_t algo;
reg_param_t reg_params[3];
- u32 target_buf;
+ uint32_t target_buf;
int retval;
- static const u32 code[] = {
+ static const uint32_t code[] = {
0xe4d13001, /* ldrb r3, [r1], #1 */
0xe5c03000, /* strb r3, [r0] */
0xe2522001, /* subs r2, r2, #1 */
@@ -194,7 +194,7 @@ int orion_nand_device_command(struct command_context_s *cmd_ctx, char *cmd,
struct nand_device_s *device)
{
orion_nand_controller_t *hw;
- u32 base;
+ uint32_t base;
uint8_t ale, cle;
if (argc != 3) {