]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/cm5200/fwupdate.h
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx
[karo-tx-uboot.git] / board / cm5200 / fwupdate.h
1 /*
2  * (C) Copyright 2007 Schindler Lift Inc.
3  *
4  * Author: Michel Marti <mma@objectxp.com>
5  *
6  * SPDX-License-Identifier:     GPL-2.0+
7  */
8
9 #ifndef __FW_UPDATE_H
10 #define __FW_UPDATE_H
11
12 /* Default prefix for output messages */
13 #define LOG_PREFIX      "CM5200:"
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
26 #define RS_BOOTARGS     "ramdisk_size=8192K"
27
28 /* Main function for fwupdate */
29 void cm5200_fwupdate(void);
30
31 #endif /* __FW_UPDATE_H */