diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2021-05-11 13:28:43 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2021-05-12 10:35:20 +0000 |
commit | 3f26fcf34001197ed267fa1ad549095aae49c88e (patch) | |
tree | c81ab3298a349d1156e905d467492b603236f74d /firmware/target/mips/ingenic_x1000/nand-x1000-err.h | |
parent | cc22df198d0ccb64dfdfe0c2f247f7d86b7fd750 (diff) | |
download | rockbox-3f26fcf34001197ed267fa1ad549095aae49c88e.tar.gz rockbox-3f26fcf34001197ed267fa1ad549095aae49c88e.zip |
FiiO M3K: New bootloaderbootloader_fiiom3k_v1
SPL and UCL-compressed bootloader are now packed into one output,
bootloader.m3k, eliminating the separate SPL build phase.
The Rockbox bootloader now has a recovery menu, accessible by
holding VOL+ when booting, that lets you back up, restore, and
update the bootloader from the device.
Change-Id: I642c6e5fb83587a013ab2fbfd1adab439561ced2
Diffstat (limited to 'firmware/target/mips/ingenic_x1000/nand-x1000-err.h')
-rw-r--r-- | firmware/target/mips/ingenic_x1000/nand-x1000-err.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/firmware/target/mips/ingenic_x1000/nand-x1000-err.h b/firmware/target/mips/ingenic_x1000/nand-x1000-err.h deleted file mode 100644 index 869fe73ac9..0000000000 --- a/firmware/target/mips/ingenic_x1000/nand-x1000-err.h +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | #ifndef __NAND_X1000_ERR_H__ | ||
2 | #define __NAND_X1000_ERR_H__ | ||
3 | |||
4 | /* Error codes which can be returned by the nand-x1000 API. These codes are | ||
5 | * also used by host-side tools, so we define them here to avoid polluting | ||
6 | * the namespace with useless X1000 APIs. */ | ||
7 | #define NANDERR_CHIP_UNSUPPORTED (-1) | ||
8 | #define NANDERR_WRITE_PROTECTED (-2) | ||
9 | #define NANDERR_UNALIGNED_ADDRESS (-3) | ||
10 | #define NANDERR_UNALIGNED_LENGTH (-4) | ||
11 | #define NANDERR_READ_FAILED (-5) | ||
12 | #define NANDERR_ECC_FAILED (-6) | ||
13 | #define NANDERR_ERASE_FAILED (-7) | ||
14 | #define NANDERR_PROGRAM_FAILED (-8) | ||
15 | #define NANDERR_COMMAND_FAILED (-9) | ||
16 | #define NANDERR_OTHER (-99) | ||
17 | |||
18 | /* TEMPORARY -- compatibility hack for jztool's sake. | ||
19 | * This will go away once the new bootloader gets merged */ | ||
20 | #define NAND_SUCCESS 0 | ||
21 | #define NAND_ERR_UNKNOWN_CHIP NANDERR_CHIP_UNSUPPORTED | ||
22 | #define NAND_ERR_UNALIGNED NANDERR_UNALIGNED_ADDRESS | ||
23 | #define NAND_ERR_WRITE_PROTECT NANDERR_WRITE_PROTECTED | ||
24 | #define NAND_ERR_CONTROLLER NANDERR_OTHER | ||
25 | #define NAND_ERR_COMMAND NANDERR_COMMAND_FAILED | ||
26 | |||
27 | #endif /* __NAND_X1000_ERR_H__ */ | ||