remove flash.h from tree
Remove the now vestigial <flash/flash.h> header from the tree, replacing a few references with <flash/nor/core.h>
This commit is contained in:
parent
ae6374e25d
commit
f3e6f584f1
|
@ -22,7 +22,6 @@ libflash_la_LIBADD = \
|
||||||
noinst_HEADERS = \
|
noinst_HEADERS = \
|
||||||
arm_nandio.h \
|
arm_nandio.h \
|
||||||
common.h \
|
common.h \
|
||||||
flash.h \
|
|
||||||
mflash.h \
|
mflash.h \
|
||||||
nand.h
|
nand.h
|
||||||
|
|
||||||
|
|
|
@ -1,33 +0,0 @@
|
||||||
/***************************************************************************
|
|
||||||
* Copyright (C) 2005 by Dominic Rath *
|
|
||||||
* Dominic.Rath@gmx.de *
|
|
||||||
* *
|
|
||||||
* Copyright (C) 2007,2008 Øyvind Harboe *
|
|
||||||
* oyvind.harboe@zylin.com *
|
|
||||||
* *
|
|
||||||
* Copyright (C) 2008 by Spencer Oliver *
|
|
||||||
* spen@spen-soft.co.uk *
|
|
||||||
* *
|
|
||||||
* 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_H
|
|
||||||
#define FLASH_H
|
|
||||||
|
|
||||||
// this file will be removed
|
|
||||||
|
|
||||||
#include <flash/nor/core.h>
|
|
||||||
|
|
||||||
#endif /* FLASH_H */
|
|
|
@ -23,8 +23,6 @@
|
||||||
#ifndef AT91SAM7_H
|
#ifndef AT91SAM7_H
|
||||||
#define AT91SAM7_H
|
#define AT91SAM7_H
|
||||||
|
|
||||||
#include <flash/flash.h>
|
|
||||||
|
|
||||||
struct at91sam7_flash_bank
|
struct at91sam7_flash_bank
|
||||||
{
|
{
|
||||||
/* chip id register */
|
/* chip id register */
|
||||||
|
|
|
@ -20,8 +20,6 @@
|
||||||
#ifndef AVRF_H
|
#ifndef AVRF_H
|
||||||
#define AVRF_H
|
#define AVRF_H
|
||||||
|
|
||||||
#include <helper/types.h>
|
|
||||||
|
|
||||||
struct avrf_type
|
struct avrf_type
|
||||||
{
|
{
|
||||||
char name[15];
|
char name[15];
|
||||||
|
|
|
@ -20,8 +20,6 @@
|
||||||
#ifndef CFI_H
|
#ifndef CFI_H
|
||||||
#define CFI_H
|
#define CFI_H
|
||||||
|
|
||||||
#include <flash/flash.h>
|
|
||||||
|
|
||||||
#define CFI_STATUS_POLL_MASK_DQ5_DQ6_DQ7 0xE0 /* DQ5..DQ7 */
|
#define CFI_STATUS_POLL_MASK_DQ5_DQ6_DQ7 0xE0 /* DQ5..DQ7 */
|
||||||
#define CFI_STATUS_POLL_MASK_DQ6_DQ7 0xC0 /* DQ6..DQ7 */
|
#define CFI_STATUS_POLL_MASK_DQ6_DQ7 0xC0 /* DQ6..DQ7 */
|
||||||
|
|
||||||
|
|
|
@ -23,8 +23,6 @@
|
||||||
#ifndef LPC2000_H
|
#ifndef LPC2000_H
|
||||||
#define LPC2000_H
|
#define LPC2000_H
|
||||||
|
|
||||||
#include <flash/flash.h>
|
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
lpc2000_v1,
|
lpc2000_v1,
|
||||||
|
|
|
@ -21,8 +21,6 @@
|
||||||
#ifndef lpc288x_H
|
#ifndef lpc288x_H
|
||||||
#define lpc288x_H
|
#define lpc288x_H
|
||||||
|
|
||||||
#include <flash/flash.h>
|
|
||||||
|
|
||||||
struct lpc288x_flash_bank
|
struct lpc288x_flash_bank
|
||||||
{
|
{
|
||||||
uint32_t working_area;
|
uint32_t working_area;
|
||||||
|
|
|
@ -23,8 +23,9 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "non_cfi.h"
|
#include "imp.h"
|
||||||
#include "cfi.h"
|
#include "cfi.h"
|
||||||
|
#include "non_cfi.h"
|
||||||
|
|
||||||
|
|
||||||
#define KB 1024
|
#define KB 1024
|
||||||
|
|
|
@ -20,8 +20,6 @@
|
||||||
#ifndef NON_CFI_H
|
#ifndef NON_CFI_H
|
||||||
#define NON_CFI_H
|
#define NON_CFI_H
|
||||||
|
|
||||||
#include <flash/flash.h>
|
|
||||||
|
|
||||||
struct non_cfi
|
struct non_cfi
|
||||||
{
|
{
|
||||||
uint16_t mfr;
|
uint16_t mfr;
|
||||||
|
|
|
@ -26,8 +26,6 @@
|
||||||
#ifndef PIC32MX_H
|
#ifndef PIC32MX_H
|
||||||
#define PIC32MX_H
|
#define PIC32MX_H
|
||||||
|
|
||||||
#include <flash/flash.h>
|
|
||||||
|
|
||||||
struct pic32mx_flash_bank
|
struct pic32mx_flash_bank
|
||||||
{
|
{
|
||||||
struct working_area *write_algorithm;
|
struct working_area *write_algorithm;
|
||||||
|
|
|
@ -20,8 +20,6 @@
|
||||||
#ifndef STELLARIS_FLASH_H
|
#ifndef STELLARIS_FLASH_H
|
||||||
#define STELLARIS_FLASH_H
|
#define STELLARIS_FLASH_H
|
||||||
|
|
||||||
#include <flash/flash.h>
|
|
||||||
|
|
||||||
struct stellaris_flash_bank
|
struct stellaris_flash_bank
|
||||||
{
|
{
|
||||||
/* chip id register */
|
/* chip id register */
|
||||||
|
|
|
@ -23,8 +23,6 @@
|
||||||
#ifndef STM32X_H
|
#ifndef STM32X_H
|
||||||
#define STM32X_H
|
#define STM32X_H
|
||||||
|
|
||||||
#include <flash/flash.h>
|
|
||||||
|
|
||||||
struct stm32x_options
|
struct stm32x_options
|
||||||
{
|
{
|
||||||
uint16_t RDP;
|
uint16_t RDP;
|
||||||
|
|
|
@ -23,8 +23,6 @@
|
||||||
#ifndef STR7X_H
|
#ifndef STR7X_H
|
||||||
#define STR7X_H
|
#define STR7X_H
|
||||||
|
|
||||||
#include <flash/flash.h>
|
|
||||||
|
|
||||||
struct str7x_flash_bank
|
struct str7x_flash_bank
|
||||||
{
|
{
|
||||||
uint32_t *sector_bits;
|
uint32_t *sector_bits;
|
||||||
|
|
|
@ -23,8 +23,6 @@
|
||||||
#ifndef STR9X_H
|
#ifndef STR9X_H
|
||||||
#define STR9X_H
|
#define STR9X_H
|
||||||
|
|
||||||
#include <flash/flash.h>
|
|
||||||
|
|
||||||
struct str9x_flash_bank
|
struct str9x_flash_bank
|
||||||
{
|
{
|
||||||
uint32_t *sector_bits;
|
uint32_t *sector_bits;
|
||||||
|
|
|
@ -23,8 +23,6 @@
|
||||||
#ifndef STR9XPEC_H
|
#ifndef STR9XPEC_H
|
||||||
#define STR9XPEC_H
|
#define STR9XPEC_H
|
||||||
|
|
||||||
#include <flash/flash.h>
|
|
||||||
#include <jtag/jtag.h>
|
|
||||||
|
|
||||||
struct str9xpec_flash_controller
|
struct str9xpec_flash_controller
|
||||||
{
|
{
|
||||||
|
|
|
@ -20,8 +20,6 @@
|
||||||
#ifndef TMS470_DOT_H
|
#ifndef TMS470_DOT_H
|
||||||
#define TMS470_DOT_H
|
#define TMS470_DOT_H
|
||||||
|
|
||||||
#include <flash/flash.h>
|
|
||||||
|
|
||||||
struct tms470_flash_bank
|
struct tms470_flash_bank
|
||||||
{
|
{
|
||||||
unsigned ordinal;
|
unsigned ordinal;
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#include <helper/configuration.h>
|
#include <helper/configuration.h>
|
||||||
#include <xsvf/xsvf.h>
|
#include <xsvf/xsvf.h>
|
||||||
#include <svf/svf.h>
|
#include <svf/svf.h>
|
||||||
#include <flash/flash.h>
|
#include <flash/nor/core.h>
|
||||||
#include <flash/nand.h>
|
#include <flash/nand.h>
|
||||||
#include <pld/pld.h>
|
#include <pld/pld.h>
|
||||||
#include <flash/mflash.h>
|
#include <flash/mflash.h>
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
#include <target/target_request.h>
|
#include <target/target_request.h>
|
||||||
#include <target/register.h>
|
#include <target/register.h>
|
||||||
#include "server.h"
|
#include "server.h"
|
||||||
#include <flash/flash.h>
|
#include <flash/nor/core.h>
|
||||||
#include "gdb_server.h"
|
#include "gdb_server.h"
|
||||||
#include <target/image.h>
|
#include <target/image.h>
|
||||||
#include <jtag/jtag.h>
|
#include <jtag/jtag.h>
|
||||||
|
|
Loading…
Reference in New Issue