Michael Fischer <fischermi@t-online.de> fix compile problems on Mac
git-svn-id: svn://svn.berlios.de/openocd/trunk@1678 b42882b7-edfa-0310-969c-e2dbd0fdcd60__archive__
parent
5ff0317aa3
commit
5f7791474b
|
@ -121,7 +121,7 @@ static void cfi_fixup(flash_bank_t *bank, cfi_fixup_t *fixups)
|
|||
}
|
||||
|
||||
/* inline u32 flash_address(flash_bank_t *bank, int sector, u32 offset) */
|
||||
__inline__ u32 flash_address(flash_bank_t *bank, int sector, u32 offset)
|
||||
static __inline__ u32 flash_address(flash_bank_t *bank, int sector, u32 offset)
|
||||
{
|
||||
/* while the sector list isn't built, only accesses to sector 0 work */
|
||||
if (sector == 0)
|
||||
|
|
Loading…
Reference in New Issue