]>
Commit | Line | Data |
---|---|---|
fa1df308 BS |
1 | /* |
2 | * (C) Copyright 2007 Schindler Lift Inc. | |
3 | * | |
4 | * Author: Michel Marti <mma@objectxp.com> | |
5 | * | |
3765b3e7 | 6 | * SPDX-License-Identifier: GPL-2.0+ |
fa1df308 BS |
7 | */ |
8 | ||
9 | #ifndef __FW_UPDATE_H | |
10 | #define __FW_UPDATE_H | |
11 | ||
12 | /* Default prefix for output messages */ | |
86b116b1 | 13 | #define LOG_PREFIX "CM5200:" |
fa1df308 BS |
14 | |
15 | /* Extra debug macro */ | |
16 | #ifdef CONFIG_FWUPDATE_DEBUG | |
17 | #define FW_DEBUG(fmt...) printf(LOG_PREFIX fmt) | |
18 | #else | |
19 | #define FW_DEBUG(fmt...) | |
20 | #endif | |
21 | ||
22 | /* Name of the directory holding firmware images */ | |
23 | #define FW_DIR "nx-fw" | |
24 | #define RESCUE_IMAGE "nxrs.img" | |
25 | #define LOAD_ADDR 0x400000 | |
e5084af8 | 26 | #define RS_BOOTARGS "ramdisk_size=8192K" |
fa1df308 BS |
27 | |
28 | /* Main function for fwupdate */ | |
86b116b1 | 29 | void cm5200_fwupdate(void); |
fa1df308 BS |
30 | |
31 | #endif /* __FW_UPDATE_H */ |