projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
integrator: do not test first part of the memory
[oweals/u-boot.git]
/
examples
/
standalone
/
eepro100_eeprom.c
diff --git
a/examples/standalone/eepro100_eeprom.c
b/examples/standalone/eepro100_eeprom.c
index 2b15d05adbb287c988899bc2ad09a3e0cbbc935b..3c7f380977dbf235d552b24502afa0d654973760 100644
(file)
--- a/
examples/standalone/eepro100_eeprom.c
+++ b/
examples/standalone/eepro100_eeprom.c
@@
-18,7
+18,6
@@
*/
/* avoid unnecessary memcpy function */
*/
/* avoid unnecessary memcpy function */
-#define __HAVE_ARCH_MEMCPY
#define _PPC_STRING_H_
#include <common.h>
#define _PPC_STRING_H_
#include <common.h>
@@
-26,7
+25,7
@@
static int reset_eeprom(unsigned long ioaddr, unsigned char *hwaddr);
static int reset_eeprom(unsigned long ioaddr, unsigned char *hwaddr);
-int eepro100_eeprom(int argc, char *argv[])
+int eepro100_eeprom(int argc, char *
const
argv[])
{
int ret = 0;
{
int ret = 0;
@@
-77,7
+76,7
@@
static inline short inw(long addr)
return swap16(*(volatile short *)(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) {
{
char *ret = dst;
while (len-- > 0) {