Loading...
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * Copyright (C) 2000, 2001, 2002 Broadcom Corporation
4 */
5
6/*
7 * Broadcom Common Firmware Environment (CFE)
8 *
9 * CFE's global error code list is here.
10 *
11 * Author: Mitch Lichtenberg
12 */
13
14#define CFE_OK 0
15#define CFE_ERR -1 /* generic error */
16#define CFE_ERR_INV_COMMAND -2
17#define CFE_ERR_EOF -3
18#define CFE_ERR_IOERR -4
19#define CFE_ERR_NOMEM -5
20#define CFE_ERR_DEVNOTFOUND -6
21#define CFE_ERR_DEVOPEN -7
22#define CFE_ERR_INV_PARAM -8
23#define CFE_ERR_ENVNOTFOUND -9
24#define CFE_ERR_ENVREADONLY -10
25
26#define CFE_ERR_NOTELF -11
27#define CFE_ERR_NOT32BIT -12
28#define CFE_ERR_WRONGENDIAN -13
29#define CFE_ERR_BADELFVERS -14
30#define CFE_ERR_NOTMIPS -15
31#define CFE_ERR_BADELFFMT -16
32#define CFE_ERR_BADADDR -17
33
34#define CFE_ERR_FILENOTFOUND -18
35#define CFE_ERR_UNSUPPORTED -19
36
37#define CFE_ERR_HOSTUNKNOWN -20
38
39#define CFE_ERR_TIMEOUT -21
40
41#define CFE_ERR_PROTOCOLERR -22
42
43#define CFE_ERR_NETDOWN -23
44#define CFE_ERR_NONAMESERVER -24
45
46#define CFE_ERR_NOHANDLES -25
47#define CFE_ERR_ALREADYBOUND -26
48
49#define CFE_ERR_CANNOTSET -27
50#define CFE_ERR_NOMORE -28
51#define CFE_ERR_BADFILESYS -29
52#define CFE_ERR_FSNOTAVAIL -30
53
54#define CFE_ERR_INVBOOTBLOCK -31
55#define CFE_ERR_WRONGDEVTYPE -32
56#define CFE_ERR_BBCHECKSUM -33
57#define CFE_ERR_BOOTPROGCHKSUM -34
58
59#define CFE_ERR_LDRNOTAVAIL -35
60
61#define CFE_ERR_NOTREADY -36
62
63#define CFE_ERR_GETMEM -37
64#define CFE_ERR_SETMEM -38
65
66#define CFE_ERR_NOTCONN -39
67#define CFE_ERR_ADDRINUSE -40
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * Copyright (C) 2000, 2001, 2002 Broadcom Corporation
4 */
5
6/*
7 * Broadcom Common Firmware Environment (CFE)
8 *
9 * CFE's global error code list is here.
10 *
11 * Author: Mitch Lichtenberg
12 */
13
14#define CFE_OK 0
15#define CFE_ERR -1 /* generic error */
16#define CFE_ERR_INV_COMMAND -2
17#define CFE_ERR_EOF -3
18#define CFE_ERR_IOERR -4
19#define CFE_ERR_NOMEM -5
20#define CFE_ERR_DEVNOTFOUND -6
21#define CFE_ERR_DEVOPEN -7
22#define CFE_ERR_INV_PARAM -8
23#define CFE_ERR_ENVNOTFOUND -9
24#define CFE_ERR_ENVREADONLY -10
25
26#define CFE_ERR_NOTELF -11
27#define CFE_ERR_NOT32BIT -12
28#define CFE_ERR_WRONGENDIAN -13
29#define CFE_ERR_BADELFVERS -14
30#define CFE_ERR_NOTMIPS -15
31#define CFE_ERR_BADELFFMT -16
32#define CFE_ERR_BADADDR -17
33
34#define CFE_ERR_FILENOTFOUND -18
35#define CFE_ERR_UNSUPPORTED -19
36
37#define CFE_ERR_HOSTUNKNOWN -20
38
39#define CFE_ERR_TIMEOUT -21
40
41#define CFE_ERR_PROTOCOLERR -22
42
43#define CFE_ERR_NETDOWN -23
44#define CFE_ERR_NONAMESERVER -24
45
46#define CFE_ERR_NOHANDLES -25
47#define CFE_ERR_ALREADYBOUND -26
48
49#define CFE_ERR_CANNOTSET -27
50#define CFE_ERR_NOMORE -28
51#define CFE_ERR_BADFILESYS -29
52#define CFE_ERR_FSNOTAVAIL -30
53
54#define CFE_ERR_INVBOOTBLOCK -31
55#define CFE_ERR_WRONGDEVTYPE -32
56#define CFE_ERR_BBCHECKSUM -33
57#define CFE_ERR_BOOTPROGCHKSUM -34
58
59#define CFE_ERR_LDRNOTAVAIL -35
60
61#define CFE_ERR_NOTREADY -36
62
63#define CFE_ERR_GETMEM -37
64#define CFE_ERR_SETMEM -38
65
66#define CFE_ERR_NOTCONN -39
67#define CFE_ERR_ADDRINUSE -40