Blame sim/bfin/dv-bfin_nfc.h
|
Packit Service |
706eca |
/* Blackfin NAND Flash Memory Controller (NFC) model
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
Copyright (C) 2010-2018 Free Software Foundation, Inc.
|
|
Packit Service |
706eca |
Contributed by Analog Devices, Inc.
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
This file is part of simulators.
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
This program is free software; you can redistribute it and/or modify
|
|
Packit Service |
706eca |
it under the terms of the GNU General Public License as published by
|
|
Packit Service |
706eca |
the Free Software Foundation; either version 3 of the License, or
|
|
Packit Service |
706eca |
(at your option) any later version.
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
This program is distributed in the hope that it will be useful,
|
|
Packit Service |
706eca |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
706eca |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit Service |
706eca |
GNU General Public License for more details.
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
You should have received a copy of the GNU General Public License
|
|
Packit Service |
706eca |
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
#ifndef DV_BFIN_NFC_H
|
|
Packit Service |
706eca |
#define DV_BFIN_NFC_H
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
/* NFC_STAT masks. */
|
|
Packit Service |
706eca |
#define NBUSY (1 << 0)
|
|
Packit Service |
706eca |
#define WB_FULL (1 << 1)
|
|
Packit Service |
706eca |
#define PG_WR_STAT (1 << 2)
|
|
Packit Service |
706eca |
#define PG_RD_STAT (1 << 3)
|
|
Packit Service |
706eca |
#define WB_EMPTY (1 << 4)
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
/* NFC_IRQSTAT masks. */
|
|
Packit Service |
706eca |
#define NBUSYIRQ (1 << 0)
|
|
Packit Service |
706eca |
#define WB_OVF (1 << 1)
|
|
Packit Service |
706eca |
#define WB_EDGE (1 << 2)
|
|
Packit Service |
706eca |
#define RD_RDY (1 << 3)
|
|
Packit Service |
706eca |
#define WR_DONE (1 << 4)
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
#endif
|