diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-12-03 16:47:49 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-12-04 03:34:33 -0800 |
commit | 3cb0b56005059314c8d09d2f8574042a4352dab4 (patch) | |
tree | 021bf33159664a0d084d85b7b3cf64abe5745edf /src/flash/nor/imp.h | |
parent | 79a73a786ee0f95b49d86abbdea1e985049c5b1f (diff) |
add flash/nor/{tcl.c,imp.h} from flash/flash.c
Moves the top-level 'flash' command handlers into flash/nor/tcl.c,
with flash/nor/imp.h providing an internal implementation header
to share non-public API components.
Diffstat (limited to 'src/flash/nor/imp.h')
-rw-r--r-- | src/flash/nor/imp.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/flash/nor/imp.h b/src/flash/nor/imp.h new file mode 100644 index 00000000..29d7f7eb --- /dev/null +++ b/src/flash/nor/imp.h @@ -0,0 +1,27 @@ +/*************************************************************************** + * Copyright (C) 2009 Zachary T Welch <zw@superlucidity.net> * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ +#ifndef FLASH_NOR_IMP_H +#define FLASH_NOR_IMP_H + +#include <flash/flash.h> + +extern struct flash_driver *flash_drivers[]; +extern struct flash_bank *flash_banks; + +#endif // FLASH_NOR_IMP_H |