1.1 --- a/include/error.h Mon Jun 08 17:50:21 2015 +0200
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,39 +0,0 @@
1.4 -/*
1.5 - * Copyright (C) 2009 Qi Hardware Inc.,
1.6 - * Author: Xiangfu Liu <xiangfu@sharism.cc>
1.7 - *
1.8 - * This program is free software; you can redistribute it and/or
1.9 - * modify it under the terms of the GNU General Public License
1.10 - * version 3 as published by the Free Software Foundation.
1.11 - *
1.12 - * This program is distributed in the hope that it will be useful,
1.13 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.14 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.15 - * GNU General Public License for more details.
1.16 - *
1.17 - * You should have received a copy of the GNU General Public License
1.18 - * along with this program; if not, write to the Free Software
1.19 - * Foundation, Inc., 51 Franklin Street, Fifth Floor,
1.20 - * Boston, MA 02110-1301, USA
1.21 - */
1.22 -#ifndef __ERROR_H__
1.23 -#define __ERROR_H__
1.24 -
1.25 -/*
1.26 - * All of the return codes
1.27 - */
1.28 -#define ERR_OK 0
1.29 -#define ERR_TIMOUT 1
1.30 -#define ERR_NOT_ERASED 2
1.31 -#define ERR_PROTECTED 4
1.32 -#define ERR_INVAL 8
1.33 -#define ERR_OPS_NOTSUPPORT 9
1.34 -#define ERR_ALIGN 16
1.35 -#define ERR_UNKNOWN_FLASH_VENDOR 32
1.36 -#define ERR_UNKNOWN_FLASH_TYPE 64
1.37 -#define ERR_PROG_ERROR 128
1.38 -#define ERR_ERASE_ERROR 256
1.39 -#define ERR_WRITE_VERIFY 512
1.40 -#define ERR_NOT_SUPPORT 1024 /* operation not supported */
1.41 -
1.42 -#endif /* __ERROR_H__ */