Mercurial > flash_v2
comparison packages/devs/flash/arm/aim711/current/src/arm_aim711_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 | 8986eb86c6a6 |
| 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) 2004 Andrew Lunn | |
| 12 // | 13 // |
| 13 // 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 |
| 14 // 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 |
| 15 // 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. |
| 16 // | 17 // |
| 39 //####ECOSGPLCOPYRIGHTEND#### | 40 //####ECOSGPLCOPYRIGHTEND#### |
| 40 //========================================================================== | 41 //========================================================================== |
| 41 //#####DESCRIPTIONBEGIN#### | 42 //#####DESCRIPTIONBEGIN#### |
| 42 // | 43 // |
| 43 // Author(s): jskov, rcassebohm | 44 // Author(s): jskov, rcassebohm |
| 44 // Contributors: jskov, rcassebohm | 45 // Contributors: jskov, rcassebohm, andrew lunn |
| 45 // Date: 2001-02-21 | 46 // Date: 2001-02-21 |
| 46 // Purpose: | 47 // Purpose: |
| 47 // Description: | 48 // Description: |
| 48 // | 49 // |
| 49 //####DESCRIPTIONEND#### | 50 //####DESCRIPTIONEND#### |
| 57 #define CYGPKG_DEVS_FLASH_SST_39VF080 | 58 #define CYGPKG_DEVS_FLASH_SST_39VF080 |
| 58 #define CYGNUM_FLASH_INTERLEAVE (1) | 59 #define CYGNUM_FLASH_INTERLEAVE (1) |
| 59 #define CYGNUM_FLASH_SERIES (1) | 60 #define CYGNUM_FLASH_SERIES (1) |
| 60 #define CYGNUM_FLASH_BASE (0x2000000u) | 61 #define CYGNUM_FLASH_BASE (0x2000000u) |
| 61 | 62 |
| 62 #include "cyg/io/flash_sst_39vfxxx.inl" | |
| 63 | |
| 64 #elif (CYGNUM_DEVS_FLASH_ARM_AIM711_SIZE == 2) | 63 #elif (CYGNUM_DEVS_FLASH_ARM_AIM711_SIZE == 2) |
| 65 | 64 |
| 66 #define CYGPKG_DEVS_FLASH_SST_39VF016 | 65 #define CYGPKG_DEVS_FLASH_SST_39VF016 |
| 67 #define CYGNUM_FLASH_INTERLEAVE (1) | 66 #define CYGNUM_FLASH_INTERLEAVE (1) |
| 68 #define CYGNUM_FLASH_SERIES (1) | 67 #define CYGNUM_FLASH_SERIES (1) |
| 69 #define CYGNUM_FLASH_BASE (0x2000000u) | 68 #define CYGNUM_FLASH_BASE (0x2000000u) |
| 70 | 69 |
| 70 #endif | |
| 71 | |
| 71 #include "cyg/io/flash_sst_39vfxxx.inl" | 72 #include "cyg/io/flash_sst_39vfxxx.inl" |
| 72 | 73 |
| 73 #endif | 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)); | |
| 74 | 79 |
| 75 // ------------------------------------------------------------------------ | 80 // ------------------------------------------------------------------------ |
| 76 // EOF arm_aim711_flash.c | 81 // EOF arm_aim711_flash.c |
