rpcd: iwinfo plugin fixes
[openwrt/svn-archive/archive.git] / package / boot / uboot-lantiq / patches / 0023-MIPS-lantiq-add-default-openwrt-config.patch
1 From 8f584936adad0fca8beece5f55eadcdcd02fad0a Mon Sep 17 00:00:00 2001
2 From: Luka Perkov <luka@openwrt.org>
3 Date: Sat, 17 Aug 2013 03:44:46 +0200
4 Subject: MIPS: lantiq: add default openwrt config
5
6 Signed-off-by: Luka Perkov <luka@openwrt.org>
7 Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
8
9 --- /dev/null
10 +++ b/include/configs/openwrt-lantiq-common.h
11 @@ -0,0 +1,39 @@
12 +/*
13 + * Copyright (C) 2013 Luka Perkov <luka@openwrt.org>
14 + *
15 + * SPDX-License-Identifier: GPL-2.0+
16 + */
17 +
18 +#ifndef __OPENWRT_LANTIQ_COMMON_H
19 +#define __OPENWRT_LANTIQ_COMMON_H
20 +
21 +/* Commands */
22 +#if defined(CONFIG_LTQ_SUPPORT_ETHERNET)
23 +#define CONFIG_CMD_PING
24 +#endif
25 +
26 +/* Compression */
27 +#define CONFIG_LZMA
28 +
29 +/* Auto boot */
30 +#define CONFIG_BOOTDELAY 2
31 +
32 +/* Environment */
33 +#if !defined(CONFIG_SYS_BOOT_RAM)
34 +#define CONFIG_BOOTCOMMAND \
35 + "bootm ${kernel_addr}"
36 +#endif
37 +
38 +/* Ethernet */
39 +#if defined(CONFIG_LTQ_SUPPORT_ETHERNET)
40 +#define CONFIG_ETHADDR 00:01:02:03:04:05
41 +#define CONFIG_SERVERIP 192.168.1.2
42 +#define CONFIG_IPADDR 192.168.1.1
43 +#endif
44 +
45 +/* Unnecessary */
46 +#undef CONFIG_BOOTM_NETBSD
47 +#undef CONFIG_BOOTM_PLAN9
48 +#undef CONFIG_BOOTM_RTEMS
49 +
50 +#endif /* __OPENWRT_LANTIQ_COMMON_H */