OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 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,40 @@ |
||
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 | +#define CONFIG_CMD_TFTPPUT |
||
25 | +#endif |
||
26 | + |
||
27 | +/* Compression */ |
||
28 | +#define CONFIG_LZMA |
||
29 | + |
||
30 | +/* Auto boot */ |
||
31 | +#define CONFIG_BOOTDELAY 2 |
||
32 | + |
||
33 | +/* Environment */ |
||
34 | +#if !defined(CONFIG_SYS_BOOT_RAM) |
||
35 | +#define CONFIG_BOOTCOMMAND \ |
||
36 | + "bootm ${kernel_addr}" |
||
37 | +#endif |
||
38 | + |
||
39 | +/* Ethernet */ |
||
40 | +#if defined(CONFIG_LTQ_SUPPORT_ETHERNET) |
||
41 | +#define CONFIG_ETHADDR 00:01:02:03:04:05 |
||
42 | +#define CONFIG_SERVERIP 192.168.1.2 |
||
43 | +#define CONFIG_IPADDR 192.168.1.1 |
||
44 | +#endif |
||
45 | + |
||
46 | +/* Unnecessary */ |
||
47 | +#undef CONFIG_BOOTM_NETBSD |
||
48 | +#undef CONFIG_BOOTM_PLAN9 |
||
49 | +#undef CONFIG_BOOTM_RTEMS |
||
50 | + |
||
51 | +#endif /* __OPENWRT_LANTIQ_COMMON_H */ |