comparison packages/devs/flash/arm/e7t/current/src/arm_e7t_flash.c @ 1704:d4ce7bf7bdb7

Indicate that these drivers need the legacy device API.
author asl
date Thu, 05 Aug 2004 13:38:13 +0000
parents 0786f4fb3f8c
children 21fc12d67292
comparison
equal deleted inserted replaced
1703:772ee36b344d 1704:d4ce7bf7bdb7
7 //========================================================================== 7 //==========================================================================
8 //####ECOSGPLCOPYRIGHTBEGIN#### 8 //####ECOSGPLCOPYRIGHTBEGIN####
9 // ------------------------------------------- 9 // -------------------------------------------
10 // This file is part of eCos, the Embedded Configurable Operating System. 10 // This file is part of eCos, the Embedded Configurable Operating System.
11 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. 11 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
12 // Copyright (C) 2003 Andrew Lunn 12 // Copyright (C) 2003, 2004 Andrew Lunn
13 // 13 //
14 // eCos is free software; you can redistribute it and/or modify it under 14 // eCos is free software; you can redistribute it and/or modify it under
15 // the terms of the GNU General Public License as published by the Free 15 // the terms of the GNU General Public License as published by the Free
16 // Software Foundation; either version 2 or (at your option) any later version. 16 // Software Foundation; either version 2 or (at your option) any later version.
17 // 17 //
40 //####ECOSGPLCOPYRIGHTEND#### 40 //####ECOSGPLCOPYRIGHTEND####
41 //========================================================================== 41 //==========================================================================
42 //#####DESCRIPTIONBEGIN#### 42 //#####DESCRIPTIONBEGIN####
43 // 43 //
44 // Author(s): Chris Garry <cgarry@sweeneydesign.co.uk> 44 // Author(s): Chris Garry <cgarry@sweeneydesign.co.uk>
45 // Contributors: 45 // Contributors: andrew.lunn@ascom.ch
46 // Date: 2003-04-21 46 // Date: 2003-04-21
47 // Purpose: 47 // Purpose:
48 // Description: 48 // Description:
49 // 49 //
50 //####DESCRIPTIONEND#### 50 //####DESCRIPTIONEND####
68 68
69 //-------------------------------------------------------------------------- 69 //--------------------------------------------------------------------------
70 // Now include the driver code. 70 // Now include the driver code.
71 #ifdef CYGINT_DEVS_FLASH_SST_39VFXXX_REQUIRED 71 #ifdef CYGINT_DEVS_FLASH_SST_39VFXXX_REQUIRED
72 #include "cyg/io/flash_sst_39vfxxx.inl" 72 #include "cyg/io/flash_sst_39vfxxx.inl"
73
74 CYG_FLASH_DRIVER(cyg_flash_sst_flashdev,
75 &cyg_sst_funs,
76 NULL,
77 CYGNUM_FLASH_BASE,
78 sizeof(struct cyg_flash_sst_priv));
73 #endif 79 #endif
74 80
75 #ifdef CYGINT_DEVS_FLASH_AMD_AM29XXXXX_REQUIRED 81 #ifdef CYGINT_DEVS_FLASH_AMD_AM29XXXXX_REQUIRED
76 #include "cyg/io/flash_am29xxxxx.inl" 82 #include "cyg/io/flash_am29xxxxx.inl"
77 #endif 83 #endif