summaryrefslogtreecommitdiffstats
path: root/am29f040b.c
diff options
context:
space:
mode:
Diffstat (limited to 'am29f040b.c')
-rw-r--r--am29f040b.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/am29f040b.c b/am29f040b.c
index 1f08e77..7b11e25 100644
--- a/am29f040b.c
+++ b/am29f040b.c
@@ -20,8 +20,7 @@
#include "flash.h"
-static __inline__ int erase_sector_29f040b(chipaddr bios,
- unsigned long address)
+static int erase_sector_29f040b(chipaddr bios, unsigned long address)
{
chip_writeb(0xAA, bios + 0x555);
chip_writeb(0x55, bios + 0x2AA);
@@ -38,10 +37,8 @@ static __inline__ int erase_sector_29f040b(chipaddr bios,
return 0;
}
-static __inline__ int write_sector_29f040b(chipaddr bios,
- uint8_t *src,
- chipaddr dst,
- unsigned int page_size)
+static int write_sector_29f040b(chipaddr bios, uint8_t *src, chipaddr dst,
+ unsigned int page_size)
{
int i;
OpenPOWER on IntegriCloud