From a87589da74b84031a3db4ddd2e835e1893a90f3b Mon Sep 17 00:00:00 2001 From: wdenk Date: Fri, 10 Jun 2005 10:00:19 +0000 Subject: * Add support for HMI1001 board * Disable "date" and "sntp" commands on TQM866M which has no RTC --- board/funkwerk/vovpn-gw/flash.c | 6 +++--- board/funkwerk/vovpn-gw/m88e6060.h | 6 ------ 2 files changed, 3 insertions(+), 9 deletions(-) (limited to 'board/funkwerk') diff --git a/board/funkwerk/vovpn-gw/flash.c b/board/funkwerk/vovpn-gw/flash.c index 1e53d4587..4073453ad 100644 --- a/board/funkwerk/vovpn-gw/flash.c +++ b/board/funkwerk/vovpn-gw/flash.c @@ -5,7 +5,7 @@ * Support for the Elmeg VoVPN Gateway Module * ------------------------------------------ * This is a signle bank flashdriver for INTEL 28F320J3, 28F640J3 - * and 28F128J3A flashs working in 8 Bit mode. + * and 28F128J3A flashs working in 8 Bit mode. * * Most of this code is taken from existing u-boot source code. * @@ -286,8 +286,8 @@ flash_erase(flash_info_t *info, int s_first, int s_last) static int write_buff2( volatile FLASH_WORD_SIZE *dst, - volatile FLASH_WORD_SIZE *src, - unsigned long cnt ) + volatile FLASH_WORD_SIZE *src, + unsigned long cnt ) { unsigned long start; FLASH_WORD_SIZE status; diff --git a/board/funkwerk/vovpn-gw/m88e6060.h b/board/funkwerk/vovpn-gw/m88e6060.h index 563a5e0f1..15d458325 100644 --- a/board/funkwerk/vovpn-gw/m88e6060.h +++ b/board/funkwerk/vovpn-gw/m88e6060.h @@ -71,8 +71,6 @@ /* misc */ #define M88E6060_ID ((M88X_PHY_ID0_VALUE<<16) | M88X_PHY_ID1_VALUE) - - /* ************************************************************************** */ /* *** TYPEDEFS ************************************************************* */ @@ -82,13 +80,9 @@ typedef struct { unsigned short val; } m88x_regCfg_t; - - /* ************************************************************************** */ /* *** PROTOTYPES *********************************************************** */ extern int m88e6060_initialize( int ); - - #endif /* _INC_m88e6060_h_ */ -- cgit v1.2.3