diff options
author | mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2007-12-17 22:12:57 +0000 |
---|---|---|
committer | mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2007-12-17 22:12:57 +0000 |
commit | ed1e9d6abdece4fbf6251a11f0eca3c921221048 (patch) | |
tree | 3c38d8d383ee95bb801a157208f96c1b1f6bd760 /src/flash/cfi.c | |
parent | 9491aa15cd6d07fb12132b4b4160d10cdfc013e6 (diff) |
- only some cosmetic changes, convert \r\n to unix
git-svn-id: svn://svn.berlios.de/openocd/trunk@239 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/cfi.c')
-rw-r--r-- | src/flash/cfi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/flash/cfi.c b/src/flash/cfi.c index ddaaee7d..cc5a69e1 100644 --- a/src/flash/cfi.c +++ b/src/flash/cfi.c @@ -1014,15 +1014,15 @@ int cfi_intel_write_block(struct flash_bank_s *bank, u8 *buffer, u32 address, u3 armv4_5_info.common_magic = ARMV4_5_COMMON_MAGIC; armv4_5_info.core_mode = ARMV4_5_MODE_SVC; - armv4_5_info.core_state = ARMV4_5_STATE_ARM;
-
+ armv4_5_info.core_state = ARMV4_5_STATE_ARM; + /* If we are setting up the write_algorith, we need target_code_src */ /* if not we only need target_code_size. */ /* */ /* However, we don't want to create multiple code paths, so we */ /* do the unecessary evaluation of target_code_src, which the */ /* compiler will probably nicely optimize away if not needed */ -
+ /* prepare algorithm code for target endian */ switch (bank->bus_width) { |