return(0);
}
-#endif /* CFG_DEVICE_DEREGISTER */
+#endif /* CFG_DEVICE_DEREGISTER */
int devices_init(void){
ulong relocation_offset = gd->reloc_off;
*/
-\f
-
-
/* Preliminaries */
#ifndef __STD_C
static void malloc_update_mallinfo ();
void malloc_stats();
#endif
-#endif /* 0 */
+#endif /* 0 */
-#endif /* 0 */ /* Moved to malloc.h */
+#endif /* 0 */ /* Moved to malloc.h */
#include <common.h>
DECLARE_GLOBAL_DATA_PTR;
#endif
-\f
-
/*
Type declarations
*/
serviced via calls to mmap, and then later released via munmap.
*/
-\f
+
/* sizes, alignments */
#define SIZE_SZ (sizeof(INTERNAL_SIZE_T))
#define aligned_OK(m) (((unsigned long)((m)) & (MALLOC_ALIGN_MASK)) == 0)
-
-\f
-
/*
Physical chunk operations
*/
#define chunk_at_offset(p, s) ((mchunkptr)(((char*)(p)) + (s)))
-
-\f
-
/*
Dealing with use bits
*/
#define clear_inuse_bit_at_offset(p, s)\
(((mchunkptr)(((char*)(p)) + (s)))->size &= ~(PREV_INUSE))
-
-\f
-
/*
Dealing with size fields
*/
#define set_foot(p, s) (((mchunkptr)((char*)(p) + (s)))->prev_size = (s))
-
-\f
-
-
/*
Bins
*p++ += gd->reloc_off;
}
}
-\f
/* field-extraction macros */
#define is_small_request(nb) (nb < MAX_SMALLBIN_SIZE - SMALLBIN_WIDTH)
-\f
-
/*
To help compensate for the large number of bins, a one-level index
structure is used for bin-by-bin searching. `binblocks' is a
#define mark_binblock(ii) (binblocks |= idx2binblock(ii))
#define clear_binblock(ii) (binblocks &= ~(idx2binblock(ii)))
-
-\f
-
-
/* Other static bookkeeping data */
/* variables holding tunable values */
#if 0
static unsigned int n_mmaps = 0;
-#endif /* 0 */
+#endif /* 0 */
static unsigned long mmapped_mem = 0;
#if HAVE_MMAP
static unsigned int max_n_mmaps = 0;
static unsigned long max_mmapped_mem = 0;
#endif
-\f
-
/*
Debugging support
*/
{
#if 0 /* causes warnings because assert() is off */
INTERNAL_SIZE_T sz = p->size & ~PREV_INUSE;
-#endif /* 0 */
+#endif /* 0 */
/* No checkable chunk is mmapped */
assert(!chunk_is_mmapped(p));
INTERNAL_SIZE_T sz = p->size & ~PREV_INUSE;
#if 0 /* causes warnings because assert() is off */
mchunkptr next = chunk_at_offset(p, sz);
-#endif /* 0 */
+#endif /* 0 */
do_check_chunk(p);
#if 0 /* causes warnings because assert() is off */
INTERNAL_SIZE_T sz = p->size & ~PREV_INUSE;
long room = sz - s;
-#endif /* 0 */
+#endif /* 0 */
do_check_inuse_chunk(p);
#define check_malloced_chunk(P,N)
#endif
-\f
-
/*
Macro-based internal utilities
*/
#define clear_last_remainder \
(last_remainder->fd = last_remainder->bk = last_remainder)
-
-\f
-
-
/* Routines dealing with mmap(). */
#if HAVE_MMAP
#endif /* HAVE_MMAP */
-
-\f
-
/*
Extend the top-most chunk by obtaining memory from system.
Main interface to sbrk (but see also malloc_trim).
assert(((unsigned long)((char*)top + top_size) & (pagesz - 1)) == 0);
}
-
-\f
-
/* Main public routines */
}
-
-\f
-
/*
free() algorithm :
frontlink(p, sz, idx, bck, fwd);
}
-
-\f
-
-
/*
Realloc algorithm:
return chunk2mem(newp);
}
-
-\f
-
/*
memalign algorithm:
}
-\f
-
-
/*
valloc just invokes memalign with alignment argument equal
to the page size of the system (or as near to this as can
}
#endif
-\f
-
/*
Malloc_trim gives memory back to the system (via negative
}
}
-\f
-
/*
malloc_usable_size:
}
}
-
-\f
-
/* Utility to update current_mallinfo for malloc_stats and mallinfo() */
#if 0
current_mallinfo.keepcost = chunksize(top);
}
-#endif /* 0 */
-
-\f
+#endif /* 0 */
/*
(unsigned int)max_n_mmaps);
#endif
}
-#endif /* 0 */
+#endif /* 0 */
/*
mallinfo returns a copy of updated current mallinfo.
malloc_update_mallinfo();
return current_mallinfo;
}
-#endif /* 0 */
-
-
-\f
+#endif /* 0 */
/*
mallopt:
#else
flash_sect_addr = (ulong)flash_addr;
len = CFG_ENV_SIZE;
-#endif /* CFG_ENV_SECT_SIZE */
+#endif /* CFG_ENV_SECT_SIZE */
end_addr = flash_sect_addr + len - 1;
"\0"
}
};
-#endif /* CFG_ENV_ADDR_REDUND */
+#endif /* CFG_ENV_ADDR_REDUND */
/*
* These will end up in the .text section
return -mid - 1;
}
-#endif /* CFG_ALL_LIST_FUNCTIONS */
+#endif /* CFG_ALL_LIST_FUNCTIONS */
/*******************************************************************************/
(*list)->listSize = (*list)->numItems;
}
-#endif /* CFG_ALL_LIST_FUNCTIONS */
+#endif /* CFG_ALL_LIST_FUNCTIONS */
/*******************************/
return 1;
}
-#endif /* CFG_ALL_LIST_FUNCTIONS */
+#endif /* CFG_ALL_LIST_FUNCTIONS */
/*******************************/
ListGetItems (list, itemDestination, itemPosition, 1);
}
-#endif /* CFG_ALL_LIST_FUNCTIONS */
+#endif /* CFG_ALL_LIST_FUNCTIONS */
/*******************************/
(*list)->numItems -= numItemsToRemove;
}
-#endif /* CFG_ALL_LIST_FUNCTIONS || CFG_DEVICE_DEREGISTER */
+#endif /* CFG_ALL_LIST_FUNCTIONS || CFG_DEVICE_DEREGISTER */
/*******************************/
#if 0
return(abort);
}
-#endif /* CONFIG_BOOTDELAY >= 0 */
+#endif /* CONFIG_BOOTDELAY >= 0 */
/****************************************************************************/
printf("\n## Error: failed to execute 'bootcmd'!\nHTTP server is starting for firmware update...\n\n");
NetLoopHttpd();
}
-#endif /* CONFIG_BOOTDELAY */
+#endif /* CONFIG_BOOTDELAY */
/*
* Main Loop for Monitor Command Processing
return((rc == 0) ? 1 : rc);
}
-#endif /* CONFIG_NETCONSOLE */
+#endif /* CONFIG_NETCONSOLE */
*/
#ifndef __ASSEMBLY__
#define UNCACHED_SDRAM(a) KSEG1ADDR((a))
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLY__ */
/*
* Map an address to a certain kernel segment
*/
#define CACHEABLE 0 /* make pages cacheable */
#define UNCACHEABLE 1 /* make pages uncacheable */
-#endif /* __ASM_MIPS_CACHECTL */
+#endif /* __ASM_MIPS_CACHECTL */
#define Hit_Set_Virtual_SI 0x1e
#define Hit_Set_Virtual_SD 0x1f
-#endif /* __ASM_MIPS_CACHEOPS_H */
+#endif /* __ASM_MIPS_CACHEOPS_H */
#define bi_env_data bi_env->data
#define bi_env_crc bi_env->crc
-#endif /* _U_BOOT_H_ */
+#endif /* _U_BOOT_H_ */
#else
#define debug(fmt,args...)
#define debugX(level,fmt,args...)
-#endif /* DEBUG */
+#endif /* DEBUG */
typedef void (interrupt_handler_t)(void *);
#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
#endif
-#endif /* __COMMON_H_ */
+#endif /* __COMMON_H_ */
* This file contains the configuration parameters for the AP121 (AR9331) board.
*/
-#ifndef __CONFIG_H
-#define __CONFIG_H
+#ifndef __AP121_CONFIG_H
+#define __AP121_CONFIG_H
#include <configs/ar7240.h>
#include <config.h>
0x0000FFE0)
#endif
-#endif /* __CONFIG_H */
+#endif /* __AP121_CONFIG_H */
0x0000FFE0)
#endif
-#endif /* __AP143_CONFIG_H */
+#endif /* __AP143_CONFIG_H */
* This file contains the configuration parameters for the dbau1x00 board.
*/
-#ifndef __AR7240_H
-#define __AR7240_H
+#ifndef __AR7240_CONFIG_H
+#define __AR7240_CONFIG_H
#ifndef CONFIG_BOOTDELAY
#define CONFIG_BOOTDELAY 1 /* autoboot after x seconds */
#define CFG_ICACHE_SIZE 65536
#define CFG_CACHELINE_SIZE 32
-#endif /* __CONFIG_H */
+#endif /* __AR7240_CONFIG_H */
* This file contains the configuration parameters for the DB12x (AR9344) board.
*/
-#ifndef __CONFIG_H
-#define __CONFIG_H
+#ifndef __DB12X_CONFIG_H
+#define __DB12X_CONFIG_H
#include <configs/ar7240.h>
#include <config.h>
0x0000FFE0)
#endif
-#endif /* __CONFIG_H */
+#endif /* __DB12X_CONFIG_H */
int drv_nc_init (void);
#endif
-#endif /* _DEVICES_H_ */
+#endif /* _DEVICES_H_ */
#if defined(CFG_ENV_ADDR_REDUND) || defined(CFG_ENV_OFFSET_REDUND)
#define CFG_REDUNDAND_ENVIRONMENT 1
#endif
-#endif /* CFG_ENV_IS_IN_FLASH */
+#endif /* CFG_ENV_IS_IN_FLASH */
#if defined(CFG_ENV_IS_IN_NAND)
# ifndef CFG_ENV_OFFSET
unsigned char data[ENV_SIZE]; /* Environment data */
} env_t;
-#endif /* _ENVIRONMENT_H_ */
+#endif /* _ENVIRONMENT_H_ */
#define __EXPORTS_H__
#ifndef __ASSEMBLY__
-
#include <common.h>
-/* These are declarations of exported functions available in C code */
-unsigned long get_version(void);
-int getc(void);
-int tstc(void);
-void putc(const char);
-void puts(const char*);
-void printf(const char* fmt, ...);
-void install_hdlr(int, interrupt_handler_t*, void*);
-void free_hdlr(int);
-void *malloc(size_t);
-void free(void*);
-void udelay(unsigned long);
-unsigned long get_timer(unsigned long);
-void do_reset(void);
-void app_startup(char **);
-
-#endif /* ifndef __ASSEMBLY__ */
+/*
+ * These are declarations of exported
+ * functions available in C code
+ */
+unsigned long get_timer(unsigned long);
+unsigned long get_version(void);
+
+void app_startup(char **);
+void do_reset(void);
+void free(void*);
+void free_hdlr(int);
+void install_hdlr(int, interrupt_handler_t*, void*);
+void printf(const char* fmt, ...);
+void putc(const char);
+void puts(const char*);
+void udelay(unsigned long);
+void *malloc(size_t);
+
+int getc(void);
+int tstc(void);
+#endif /* ifndef __ASSEMBLY__ */
enum {
-#define EXPORT_FUNC(x) XF_ ## x ,
-EXPORT_FUNC(get_version)
-EXPORT_FUNC(getc)
-EXPORT_FUNC(tstc)
-EXPORT_FUNC(putc)
-EXPORT_FUNC(puts)
-EXPORT_FUNC(printf)
-EXPORT_FUNC(install_hdlr)
-EXPORT_FUNC(free_hdlr)
-EXPORT_FUNC(malloc)
-EXPORT_FUNC(free)
-EXPORT_FUNC(udelay)
-EXPORT_FUNC(get_timer)
-EXPORT_FUNC(do_reset)
-#undef EXPORT_FUNC
-XF_MAX
+ #define EXPORT_FUNC(x) XF_ ## x ,
+ EXPORT_FUNC(get_version)
+ EXPORT_FUNC(getc)
+ EXPORT_FUNC(tstc)
+ EXPORT_FUNC(putc)
+ EXPORT_FUNC(puts)
+ EXPORT_FUNC(printf)
+ EXPORT_FUNC(install_hdlr)
+ EXPORT_FUNC(free_hdlr)
+ EXPORT_FUNC(malloc)
+ EXPORT_FUNC(free)
+ EXPORT_FUNC(udelay)
+ EXPORT_FUNC(get_timer)
+ EXPORT_FUNC(do_reset)
+ #undef EXPORT_FUNC
+ XF_MAX
};
#define XF_VERSION 2
extern gd_t *global_data;
#endif
-#endif /* __EXPORTS_H__ */
+#endif /* __EXPORTS_H__ */
/*
* Operating System Codes
*/
-#define IH_OS_INVALID 0 /* Invalid OS */
-#define IH_OS_OPENBSD 1 /* OpenBSD */
-#define IH_OS_NETBSD 2 /* NetBSD */
-#define IH_OS_FREEBSD 3 /* FreeBSD */
-#define IH_OS_4_4BSD 4 /* 4.4BSD */
-#define IH_OS_LINUX 5 /* Linux */
-#define IH_OS_SVR4 6 /* SVR4 */
-#define IH_OS_ESIX 7 /* Esix */
-#define IH_OS_SOLARIS 8 /* Solaris */
-#define IH_OS_IRIX 9 /* Irix */
-#define IH_OS_SCO 10 /* SCO */
-#define IH_OS_DELL 11 /* Dell */
-#define IH_OS_NCR 12 /* NCR */
-#define IH_OS_LYNXOS 13 /* LynxOS */
-#define IH_OS_VXWORKS 14 /* VxWorks */
-#define IH_OS_PSOS 15 /* pSOS */
-#define IH_OS_QNX 16 /* QNX */
-#define IH_OS_U_BOOT 17 /* Firmware */
-#define IH_OS_RTEMS 18 /* RTEMS */
-#define IH_OS_ARTOS 19 /* ARTOS */
-#define IH_OS_UNITY 20 /* Unity OS */
+#define IH_OS_INVALID 0 /* Invalid OS */
+#define IH_OS_OPENBSD 1 /* OpenBSD */
+#define IH_OS_NETBSD 2 /* NetBSD */
+#define IH_OS_FREEBSD 3 /* FreeBSD */
+#define IH_OS_4_4BSD 4 /* 4.4BSD */
+#define IH_OS_LINUX 5 /* Linux */
+#define IH_OS_SVR4 6 /* SVR4 */
+#define IH_OS_ESIX 7 /* Esix */
+#define IH_OS_SOLARIS 8 /* Solaris */
+#define IH_OS_IRIX 9 /* Irix */
+#define IH_OS_SCO 10 /* SCO */
+#define IH_OS_DELL 11 /* Dell */
+#define IH_OS_NCR 12 /* NCR */
+#define IH_OS_LYNXOS 13 /* LynxOS */
+#define IH_OS_VXWORKS 14 /* VxWorks */
+#define IH_OS_PSOS 15 /* pSOS */
+#define IH_OS_QNX 16 /* QNX */
+#define IH_OS_U_BOOT 17 /* Firmware */
+#define IH_OS_RTEMS 18 /* RTEMS */
+#define IH_OS_ARTOS 19 /* ARTOS */
+#define IH_OS_UNITY 20 /* Unity OS */
/*
* CPU Architecture Codes (supported by Linux)
*/
-#define IH_CPU_INVALID 0 /* Invalid CPU */
-#define IH_CPU_ALPHA 1 /* Alpha */
-#define IH_CPU_ARM 2 /* ARM */
-#define IH_CPU_I386 3 /* Intel x86 */
-#define IH_CPU_IA64 4 /* IA64 */
-#define IH_CPU_MIPS 5 /* MIPS */
+#define IH_CPU_INVALID 0 /* Invalid CPU */
+#define IH_CPU_ALPHA 1 /* Alpha */
+#define IH_CPU_ARM 2 /* ARM */
+#define IH_CPU_I386 3 /* Intel x86 */
+#define IH_CPU_IA64 4 /* IA64 */
+#define IH_CPU_MIPS 5 /* MIPS */
#define IH_CPU_MIPS64 6 /* MIPS 64 Bit */
-#define IH_CPU_PPC 7 /* PowerPC */
-#define IH_CPU_S390 8 /* IBM S390 */
-#define IH_CPU_SH 9 /* SuperH */
-#define IH_CPU_SPARC 10 /* Sparc */
+#define IH_CPU_PPC 7 /* PowerPC */
+#define IH_CPU_S390 8 /* IBM S390 */
+#define IH_CPU_SH 9 /* SuperH */
+#define IH_CPU_SPARC 10 /* Sparc */
#define IH_CPU_SPARC64 11 /* Sparc 64 Bit */
-#define IH_CPU_M68K 12 /* M68K */
-#define IH_CPU_NIOS 13 /* Nios-32 */
+#define IH_CPU_M68K 12 /* M68K */
+#define IH_CPU_NIOS 13 /* Nios-32 */
#define IH_CPU_MICROBLAZE 14 /* MicroBlaze */
-#define IH_CPU_NIOS2 15 /* Nios-II */
-#define IH_CPU_BLACKFIN 16 /* Blackfin */
+#define IH_CPU_NIOS2 15 /* Nios-II */
+#define IH_CPU_BLACKFIN 16 /* Blackfin */
/*
* Image Types
* as command interpreter (=> Shell Scripts).
*/
-#define IH_TYPE_INVALID 0 /* Invalid Image */
-#define IH_TYPE_STANDALONE 1 /* Standalone Program */
-#define IH_TYPE_KERNEL 2 /* OS Kernel Image */
-#define IH_TYPE_RAMDISK 3 /* RAMDisk Image */
-#define IH_TYPE_MULTI 4 /* Multi-File Image */
-#define IH_TYPE_FIRMWARE 5 /* Firmware Image */
-#define IH_TYPE_SCRIPT 6 /* Script file */
-#define IH_TYPE_FILESYSTEM 7 /* Filesystem Image (any type) */
+#define IH_TYPE_INVALID 0 /* Invalid Image */
+#define IH_TYPE_STANDALONE 1 /* Standalone Program */
+#define IH_TYPE_KERNEL 2 /* OS Kernel Image */
+#define IH_TYPE_RAMDISK 3 /* RAMDisk Image */
+#define IH_TYPE_MULTI 4 /* Multi-File Image */
+#define IH_TYPE_FIRMWARE 5 /* Firmware Image */
+#define IH_TYPE_SCRIPT 6 /* Script file */
+#define IH_TYPE_FILESYSTEM 7 /* Filesystem Image (any type) */
/*
* Compression Types
*/
-#define IH_COMP_NONE 0 /* No Compression Used */
-#define IH_COMP_GZIP 1 /* gzip Compression Used */
-#define IH_COMP_BZIP2 2 /* bzip2 Compression Used */
-#define IH_COMP_LZMA 3 /* lzma Compression Used */
+#define IH_COMP_NONE 0 /* no compression */
+#define IH_COMP_GZIP 1 /* gzip compression */
+#define IH_COMP_BZIP2 2 /* bzip2 compression */
+#define IH_COMP_LZMA 3 /* lzma compression */
-#define IH_MAGIC 0x27051956 /* Image Magic Number */
-#define IH_NMLEN 32 /* Image Name Length */
+#define IH_MAGIC 0x27051956 /* Image Magic Number */
+#define IH_NMLEN 32 /* Image Name Length */
/*
- * all data in network byte order (aka natural aka bigendian)
+ * All data in network byte order (aka natural aka bigendian)
*/
-
typedef struct image_header {
- uint32_t ih_magic; /* Image Header Magic Number */
- uint32_t ih_hcrc; /* Image Header CRC Checksum */
- uint32_t ih_time; /* Image Creation Timestamp */
- uint32_t ih_size; /* Image Data Size */
- uint32_t ih_load; /* Data Load Address */
- uint32_t ih_ep; /* Entry Point Address */
- uint32_t ih_dcrc; /* Image Data CRC Checksum */
- uint8_t ih_os; /* Operating System */
- uint8_t ih_arch; /* CPU architecture */
- uint8_t ih_type; /* Image Type */
- uint8_t ih_comp; /* Compression Type */
- uint8_t ih_name[IH_NMLEN]; /* Image Name */
+ uint32_t ih_magic; /* Image Header Magic Number */
+ uint32_t ih_hcrc; /* Image Header CRC Checksum */
+ uint32_t ih_time; /* Image Creation Timestamp */
+ uint32_t ih_size; /* Image Data Size */
+ uint32_t ih_load; /* Data Load Address */
+ uint32_t ih_ep; /* Entry Point Address */
+ uint32_t ih_dcrc; /* Image Data CRC Checksum */
+ uint8_t ih_os; /* Operating System */
+ uint8_t ih_arch; /* CPU architecture */
+ uint8_t ih_type; /* Image Type */
+ uint8_t ih_comp; /* Compression Type */
+ uint8_t ih_name[IH_NMLEN]; /* Image Name */
} image_header_t;
-#endif /* __IMAGE_H__ */
+#endif /* __IMAGE_H__ */
/************************************************************************/
-#endif /* _LCD_H_ */
+#endif /* _LCD_H_ */
unsigned long __unused5;
};
-#endif /* __PPC__ */
+#endif /* __PPC__ */
#if defined (__ARM__) || defined (__I386__) || defined (__M68K__) || defined (__blackfin__)
unsigned long __unused5;
};
-#endif /* __ARM__ */
+#endif /* __ARM__ */
#if defined (__MIPS__)
long st_pad4[14];
};
-#endif /* __MIPS__ */
+#endif /* __MIPS__ */
#ifdef __cplusplus
}
int ListInsertBeforeItem(list_t list, void *ptrToItem, void *ptrToItemToInsertBefore, CompareFunction compareFunction);
#endif /* 0 */
-#endif /* _LISTS_H_ */
+#endif /* _LISTS_H_ */
#include <linux/stddef.h> /* for size_t */
#else
#include <sys/types.h>
-#endif /* __STD_C */
+#endif /* __STD_C */
#ifdef __cplusplus
extern "C" {
# define CONFIG_NET_MULTI
# endif
# endif
-#endif /* CONFIG_8xx */
+#endif /* CONFIG_8xx */
#if defined(CONFIG_MPC5xxx)
# if !defined(CONFIG_NET_MULTI)
# define CONFIG_NET_MULTI
# endif
# endif
-#endif /* CONFIG_MPC5xxx */
+#endif /* CONFIG_MPC5xxx */
#if !defined(CONFIG_NET_MULTI) && defined(CONFIG_CPM2)
#include <config.h>
int current_busno;\r
};\r
\r
-#endif /* _PCI_H */\r
+#endif /* _PCI_H */\r
void to_tm(int, struct rtc_time *);
unsigned long mktime(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int);
-#endif /* _RTC_H_ */
+#endif /* _RTC_H_ */
uint8_t ih_pad[354]; /* 0x9E (354): padding, not used... */
} tplink_image_header_t;
-#endif /* __TPLINK_IMAGE_H__ */
+#endif /* __TPLINK_IMAGE_H__ */
#include "version_autogenerated.h"
-#endif /* __VERSION_H__ */
+#endif /* __VERSION_H__ */
for(reg = 0; reg < sum; reg++){
udelay(1000); /* Wait 1ms */
}
-#endif /* CONFIG_BOOTP_RANDOM_DELAY */
+#endif /* CONFIG_BOOTP_RANDOM_DELAY */
printf("Sending DHCP discover... %d\n", ++BootpTry);
#ifdef CFG_BOOTFILE_PREFIX
if(strncmp(bp->bp_file, CFG_BOOTFILE_PREFIX, strlen(CFG_BOOTFILE_PREFIX)) == 0 ){
-#endif /* CFG_BOOTFILE_PREFIX */
+#endif /* CFG_BOOTFILE_PREFIX */
#ifdef DEBUG
puts("TRANSITIONING TO REQUESTING STATE\n");
#ifdef CFG_BOOTFILE_PREFIX
}
-#endif /* CFG_BOOTFILE_PREFIX */
+#endif /* CFG_BOOTFILE_PREFIX */
return;
break;
# if defined(CFG_ENV_ADDR_REDUND) || defined(CFG_ENV_OFFSET_REDUND)
# define CFG_REDUNDAND_ENVIRONMENT 1
# endif
-#endif /* CFG_ENV_IS_IN_FLASH */
+#endif /* CFG_ENV_IS_IN_FLASH */
#ifdef CFG_REDUNDAND_ENVIRONMENT
# define ENV_HEADER_SIZE (sizeof(unsigned long) + 1)
#ifdef ENV_IS_EMBEDDED
extern unsigned int env_size;
extern unsigned char environment;
-#endif /* ENV_IS_EMBEDDED */
+#endif /* ENV_IS_EMBEDDED */
int main (int argc, char **argv)
{
#define ntohl(a) SWAP_LONG(a)
#define htonl(a) SWAP_LONG(a)
-#endif /* __WIN32__ */
+#endif /* __WIN32__ */
#ifndef O_BINARY /* should be define'd on __WIN32__ */
#define O_BINARY 0