blob: f7d5cd9580cb60d53f09446d92b3b1b326c680a2 [file] [log] [blame]
/*
* drivers/amlogic/unifykey/v7/key_storage/storage_def.h
*
* Copyright (C) 2017 Amlogic, Inc. All rights reserved.
*
* 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.
*
*/
#ifndef __STORAGE_DEF_H_
#define __STORAGE_DEF_H_
/* for emmc */
//#define STORAGE_BLOCK_SIZE (128*1024 - 28)
#define STORAGE_BLOCK_SIZE (256*1024)
/* for nand */
#define STORAGE_BLOCK_SIZE_2 (60620)
#endif