From 010506fafcb5f82fc9a5f40eac45a5dc53b5239a Mon Sep 17 00:00:00 2001
From: florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Sun, 8 Nov 2009 22:48:19 +0000
Subject: [PATCH] [rdc] make sure rdc321x specific patches apply
 (CONFIG_X86_RDC321X), patch from sn9

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18346 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 target/linux/rdc/patches-2.6.30/004-yenta_mystery.patch     | 2 +-
 target/linux/rdc/patches-2.6.30/005-fix_amit_breakage.patch | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/target/linux/rdc/patches-2.6.30/004-yenta_mystery.patch b/target/linux/rdc/patches-2.6.30/004-yenta_mystery.patch
index 4c2e2face..92589ea54 100644
--- a/target/linux/rdc/patches-2.6.30/004-yenta_mystery.patch
+++ b/target/linux/rdc/patches-2.6.30/004-yenta_mystery.patch
@@ -4,7 +4,7 @@
  
  	/* We must finish initialization here */
  
-+#ifdef CONFIG_X86_RDC
++#ifdef CONFIG_X86_RDC321X
 +/* #define YO_TI1510_DATASHEET_GUY_EXPLAIN_THIS_JUNK 0x0044f044 */
 +#define YO_TI1510_DATASHEET_GUY_EXPLAIN_THIS_JUNK 0x0844b060
 +/* #define YO_TI1510_DATASHEET_GUY_EXPLAIN_THIS_JUNK 0x0044d044 */
diff --git a/target/linux/rdc/patches-2.6.30/005-fix_amit_breakage.patch b/target/linux/rdc/patches-2.6.30/005-fix_amit_breakage.patch
index 92bce802b..552e5f7eb 100644
--- a/target/linux/rdc/patches-2.6.30/005-fix_amit_breakage.patch
+++ b/target/linux/rdc/patches-2.6.30/005-fix_amit_breakage.patch
@@ -15,8 +15,8 @@
  
  #include "boot.h"
  #include <asm/segment.h>
-+#ifdef CONFIG_X86_RDC
-+#include <asm/mach-rdc/rdc321x_defs.h>
++#ifdef CONFIG_X86_RDC321X
++#include <asm/rdc321x_defs.h>
 +#endif
  
  /*
@@ -25,7 +25,7 @@
  		die();
  	}
  
-+#ifdef CONFIG_X86_RDC
++#ifdef CONFIG_X86_RDC321X
 +	{
 +		u32 bootctl;
 +
-- 
2.20.1