From ee873a47d6d9898fa27c5c1120e7c5ecb592f62f Mon Sep 17 00:00:00 2001 From: mbm Date: Fri, 21 Apr 2006 23:25:46 +0000 Subject: preliminary sibyte support git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3701 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/target/linux/sibyte-2.6/patches/000-DUART.patch | 17 +++++++++++++++++ .../linux/sibyte-2.6/patches/001-bcm112x_ax.patch | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 openwrt/target/linux/sibyte-2.6/patches/000-DUART.patch create mode 100644 openwrt/target/linux/sibyte-2.6/patches/001-bcm112x_ax.patch (limited to 'openwrt/target/linux/sibyte-2.6/patches') diff --git a/openwrt/target/linux/sibyte-2.6/patches/000-DUART.patch b/openwrt/target/linux/sibyte-2.6/patches/000-DUART.patch new file mode 100644 index 000000000..e9cefad0b --- /dev/null +++ b/openwrt/target/linux/sibyte-2.6/patches/000-DUART.patch @@ -0,0 +1,17 @@ +--- linux-2.6.16.4/drivers/char/Kconfig 2006-04-21 14:38:30.000000000 -0700 ++++ linux-2.6.16.4/drivers/char/Kconfig 2006-04-21 14:39:29.000000000 -0700 +@@ -340,6 +340,14 @@ + To compile this driver as a module, choose M here: the + module will be called istallion. + ++config SIBYTE_SB1250_DUART ++ bool "Support for BCM1xxx onchip DUART" ++ depends on MIPS && SIBYTE_SB1xxx_SOC=y ++ ++config SIBYTE_SB1250_DUART_CONSOLE ++ bool "Console on BCM1xxx DUART" ++ depends on SIBYTE_SB1250_DUART ++ + config AU1000_UART + bool "Enable Au1000 UART Support" + depends on SERIAL_NONSTANDARD && MIPS diff --git a/openwrt/target/linux/sibyte-2.6/patches/001-bcm112x_ax.patch b/openwrt/target/linux/sibyte-2.6/patches/001-bcm112x_ax.patch new file mode 100644 index 000000000..c80d4aea5 --- /dev/null +++ b/openwrt/target/linux/sibyte-2.6/patches/001-bcm112x_ax.patch @@ -0,0 +1,17 @@ +--- linux-2.6.16.4/arch/mips/sibyte/sb1250/setup.c 2006-04-21 16:16:18.000000000 -0700 ++++ linux-2.6.16.4/arch/mips/sibyte/sb1250/setup.c 2006-04-21 16:15:22.000000000 -0700 +@@ -140,6 +140,14 @@ + periph_rev = 3; + pass_str = "A2"; + break; ++ case K_SYS_REVISION_BCM112x_A3: ++ periph_rev = 3; ++ pass_str = "A3"; ++ break; ++ case K_SYS_REVISION_BCM112x_A4: ++ periph_rev = 3; ++ pass_str = "A4"; ++ break; + default: + prom_printf("Unknown %s rev %x\n", soc_str, soc_pass); + ret = 1; -- cgit v1.2.3