linux/drivers/mtd/nand/onenand/samsung.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 *  Copyright (C) 2008-2010 Samsung Electronics
 *  Kyungmin Park <[email protected]>
 */
#ifndef __SAMSUNG_ONENAND_H__
#define __SAMSUNG_ONENAND_H__

/*
 * OneNAND Controller
 */
#define MEM_CFG_OFFSET
#define BURST_LEN_OFFSET
#define MEM_RESET_OFFSET
#define INT_ERR_STAT_OFFSET
#define INT_ERR_MASK_OFFSET
#define INT_ERR_ACK_OFFSET
#define ECC_ERR_STAT_OFFSET
#define MANUFACT_ID_OFFSET
#define DEVICE_ID_OFFSET
#define DATA_BUF_SIZE_OFFSET
#define BOOT_BUF_SIZE_OFFSET
#define BUF_AMOUNT_OFFSET
#define TECH_OFFSET
#define FBA_WIDTH_OFFSET
#define FPA_WIDTH_OFFSET
#define FSA_WIDTH_OFFSET
#define TRANS_SPARE_OFFSET
#define DBS_DFS_WIDTH_OFFSET
#define INT_PIN_ENABLE_OFFSET
#define ACC_CLOCK_OFFSET
#define FLASH_VER_ID_OFFSET
#define FLASH_AUX_CNTRL_OFFSET

#define ONENAND_MEM_RESET_HOT
#define ONENAND_MEM_RESET_COLD
#define ONENAND_MEM_RESET_WARM

#define CACHE_OP_ERR
#define RST_CMP
#define RDY_ACT
#define INT_ACT
#define UNSUP_CMD
#define LOCKED_BLK
#define BLK_RW_CMP
#define ERS_CMP
#define PGM_CMP
#define LOAD_CMP
#define ERS_FAIL
#define PGM_FAIL
#define INT_TO
#define LD_FAIL_ECC_ERR

#define TSRF

#endif