mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Merge patch series "Miscellaneous fixes"
Jerome Forissier <jerome.forissier@linaro.org> says: Miscellaneous fixes made when developing the lwIP series [1]. They are posted separately since they make sense on their own. Subsequent versions of the lwIP series will contain a squashed version of this one. [1] http://patchwork.ozlabs.org/project/uboot/list/?series=420712&state=%2A&archive=both
This commit is contained in:
@@ -127,16 +127,16 @@ void flash_perror(int err);
|
||||
/*-----------------------------------------------------------------------
|
||||
* return codes from flash_write():
|
||||
*/
|
||||
#define ERR_OK 0
|
||||
#define ERR_TIMEOUT 1
|
||||
#define ERR_NOT_ERASED 2
|
||||
#define ERR_PROTECTED 4
|
||||
#define ERR_INVAL 8
|
||||
#define ERR_ALIGN 16
|
||||
#define ERR_UNKNOWN_FLASH_VENDOR 32
|
||||
#define ERR_UNKNOWN_FLASH_TYPE 64
|
||||
#define ERR_PROG_ERROR 128
|
||||
#define ERR_ABORTED 256
|
||||
#define FL_ERR_OK 0
|
||||
#define FL_ERR_TIMEOUT 1
|
||||
#define FL_ERR_NOT_ERASED 2
|
||||
#define FL_ERR_PROTECTED 4
|
||||
#define FL_ERR_INVAL 8
|
||||
#define FL_ERR_ALIGN 16
|
||||
#define FL_ERR_UNKNOWN_FLASH_VENDOR 32
|
||||
#define FL_ERR_UNKNOWN_FLASH_TYPE 64
|
||||
#define FL_ERR_PROG_ERROR 128
|
||||
#define FL_ERR_ABORTED 256
|
||||
|
||||
/*-----------------------------------------------------------------------
|
||||
* Protection Flags for flash_protect():
|
||||
|
||||
Reference in New Issue
Block a user