Files
linux-rockchip/include/linux/mtd/bbt_store.h
Tao Huang 8e8bec3797 mtd: bbt_store: Fix typos in Rockchip copyright notice
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I4fb28f10580711d2c524c04b0bc94dc4cb9f2d6e
2025-01-22 19:24:35 +08:00

27 lines
525 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2021 Rockchip Electronics Co., Ltd.
*
*/
#ifndef __BBT_STORE_H
#define __BBT_STORE_H
#include <linux/mtd/nand.h>
#ifdef CONFIG_MTD_NAND_BBT_USING_FLASH
int nanddev_scan_bbt_in_flash(struct nand_device *nand);
int nanddev_bbt_in_flash_update(struct nand_device *nand);
#else
static inline int nanddev_scan_bbt_in_flash(struct nand_device *nand)
{
return 0;
}
static inline int nanddev_bbt_in_flash_update(struct nand_device *nand)
{
return 0;
}
#endif
#endif