diff options
Diffstat (limited to 'examples/standalone')
-rw-r--r-- | examples/standalone/.gitignore | 5 | ||||
-rw-r--r-- | examples/standalone/eepro100_eeprom.c | 3 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/standalone/.gitignore b/examples/standalone/.gitignore index 7b783fc..4d9ce66 100644 --- a/examples/standalone/.gitignore +++ b/examples/standalone/.gitignore @@ -1,12 +1,13 @@ /82559_eeprom /atmel_df_pow2 +/eepro100_eeprom /hello_world /interrupt /mem_to_mem_idma2intr -/test_burst -/timer /sched /smc91111_eeprom /smc911x_eeprom +/test_burst +/timer *.bin *.srec diff --git a/examples/standalone/eepro100_eeprom.c b/examples/standalone/eepro100_eeprom.c index 2b15d05..771a7e8 100644 --- a/examples/standalone/eepro100_eeprom.c +++ b/examples/standalone/eepro100_eeprom.c @@ -18,7 +18,6 @@ */ /* avoid unnecessary memcpy function */ -#define __HAVE_ARCH_MEMCPY #define _PPC_STRING_H_ #include <common.h> @@ -77,7 +76,7 @@ static inline short inw(long addr) return swap16(*(volatile short *)(addr)); } -static inline void *memcpy(void *dst, const void *src, unsigned int len) +void *memcpy(void *dst, const void *src, unsigned int len) { char *ret = dst; while (len-- > 0) { |