mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 22:44:27 -05:00 
			
		
		
		
	Refresh uboot-lantiq patches. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 40546
		
			
				
	
	
		
			51 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
From 8f584936adad0fca8beece5f55eadcdcd02fad0a Mon Sep 17 00:00:00 2001
 | 
						|
From: Luka Perkov <luka@openwrt.org>
 | 
						|
Date: Sat, 17 Aug 2013 03:44:46 +0200
 | 
						|
Subject: MIPS: lantiq: add default openwrt config
 | 
						|
 | 
						|
Signed-off-by: Luka Perkov <luka@openwrt.org>
 | 
						|
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
 | 
						|
 | 
						|
--- /dev/null
 | 
						|
+++ b/include/configs/openwrt-lantiq-common.h
 | 
						|
@@ -0,0 +1,39 @@
 | 
						|
+/*
 | 
						|
+ * Copyright (C) 2013 Luka Perkov <luka@openwrt.org>
 | 
						|
+ *
 | 
						|
+ * SPDX-License-Identifier:	GPL-2.0+
 | 
						|
+ */
 | 
						|
+
 | 
						|
+#ifndef __OPENWRT_LANTIQ_COMMON_H
 | 
						|
+#define __OPENWRT_LANTIQ_COMMON_H
 | 
						|
+
 | 
						|
+/* Commands */
 | 
						|
+#if defined(CONFIG_LTQ_SUPPORT_ETHERNET)
 | 
						|
+#define CONFIG_CMD_PING
 | 
						|
+#endif
 | 
						|
+
 | 
						|
+/* Compression */
 | 
						|
+#define CONFIG_LZMA
 | 
						|
+
 | 
						|
+/* Auto boot */
 | 
						|
+#define CONFIG_BOOTDELAY	2
 | 
						|
+
 | 
						|
+/* Environment */
 | 
						|
+#if !defined(CONFIG_SYS_BOOT_RAM)
 | 
						|
+#define CONFIG_BOOTCOMMAND \
 | 
						|
+	"bootm ${kernel_addr}"
 | 
						|
+#endif
 | 
						|
+
 | 
						|
+/* Ethernet */
 | 
						|
+#if defined(CONFIG_LTQ_SUPPORT_ETHERNET)
 | 
						|
+#define CONFIG_ETHADDR		00:01:02:03:04:05
 | 
						|
+#define CONFIG_SERVERIP		192.168.1.2
 | 
						|
+#define CONFIG_IPADDR		192.168.1.1
 | 
						|
+#endif
 | 
						|
+
 | 
						|
+/* Unnecessary */
 | 
						|
+#undef CONFIG_BOOTM_NETBSD
 | 
						|
+#undef CONFIG_BOOTM_PLAN9
 | 
						|
+#undef CONFIG_BOOTM_RTEMS
 | 
						|
+
 | 
						|
+#endif /* __OPENWRT_LANTIQ_COMMON_H */
 |