]> git.ipfire.org Git - people/ms/u-boot.git/blame - include/vxworks.h
sf: ops: Add static qualifier to spi_flash_cmd_bankaddr_write
[people/ms/u-boot.git] / include / vxworks.h
CommitLineData
e9084b23
NG
1/*
2 * (C) Copyright 2008
3 * Niklaus Giger, niklaus.giger@member.fsf.org
4 *
1a459660 5 * SPDX-License-Identifier: GPL-2.0+
e9084b23
NG
6 */
7
8#ifndef _VXWORKS_H_
9#define _VXWORKS_H_
10
54841ab5 11int do_bootvx(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
e9084b23
NG
12
13/*
14 * Use bootaddr to find the location in memory that VxWorks
15 * will look for the bootline string. The default value for
16 * PowerPC is LOCAL_MEM_LOCAL_ADRS + BOOT_LINE_OFFSET which
17 * defaults to 0x4200
18 */
19#ifndef CONFIG_SYS_VXWORKS_BOOT_ADDR
20#define CONFIG_SYS_VXWORKS_BOOT_ADDR 0x4200
21#endif
22
23#ifndef CONFIG_SYS_VXWORKS_BOOT_DEVICE
24#if defined(CONFIG_4xx)
25#define CONFIG_SYS_VXWORKS_BOOT_DEVICE "emac(0,0)"
e9084b23
NG
26#else
27#define CONFIG_SYS_VXWORKS_BOOT_DEVICE "eth(0,0)"
28#endif
29#endif
30
31#ifndef CONFIG_SYS_VXWORKS_SERVERNAME
268405fa 32#define CONFIG_SYS_VXWORKS_SERVERNAME "srv"
e9084b23
NG
33#endif
34
35#endif