# HG changeset patch # User Paul Boddie # Date 1433778724 -7200 # Node ID 09713c90c81f92de946332112f76570f4c00af5e # Parent a4dd559af58bfa2dbfdca381ced5accd1e8d65e3 Removed superfluous error definitions. diff -r a4dd559af58b -r 09713c90c81f include/error.h --- a/include/error.h Mon Jun 08 17:50:21 2015 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2009 Qi Hardware Inc., - * Author: Xiangfu Liu - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * version 3 as published by the Free Software Foundation. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA - */ -#ifndef __ERROR_H__ -#define __ERROR_H__ - -/* - * All of the return codes - */ -#define ERR_OK 0 -#define ERR_TIMOUT 1 -#define ERR_NOT_ERASED 2 -#define ERR_PROTECTED 4 -#define ERR_INVAL 8 -#define ERR_OPS_NOTSUPPORT 9 -#define ERR_ALIGN 16 -#define ERR_UNKNOWN_FLASH_VENDOR 32 -#define ERR_UNKNOWN_FLASH_TYPE 64 -#define ERR_PROG_ERROR 128 -#define ERR_ERASE_ERROR 256 -#define ERR_WRITE_VERIFY 512 -#define ERR_NOT_SUPPORT 1024 /* operation not supported */ - -#endif /* __ERROR_H__ */