[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
master
Florian Fainelli 2009-11-08 22:48:19 +00:00
parent 97fb4203ae
commit cce5a0876d
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@
/* We must finish initialization here */ /* 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 0x0044f044 */
+#define YO_TI1510_DATASHEET_GUY_EXPLAIN_THIS_JUNK 0x0844b060 +#define YO_TI1510_DATASHEET_GUY_EXPLAIN_THIS_JUNK 0x0844b060
+/* #define YO_TI1510_DATASHEET_GUY_EXPLAIN_THIS_JUNK 0x0044d044 */ +/* #define YO_TI1510_DATASHEET_GUY_EXPLAIN_THIS_JUNK 0x0044d044 */

View File

@ -15,8 +15,8 @@
#include "boot.h" #include "boot.h"
#include <asm/segment.h> #include <asm/segment.h>
+#ifdef CONFIG_X86_RDC +#ifdef CONFIG_X86_RDC321X
+#include <asm/mach-rdc/rdc321x_defs.h> +#include <asm/rdc321x_defs.h>
+#endif +#endif
/* /*
@ -25,7 +25,7 @@
die(); die();
} }
+#ifdef CONFIG_X86_RDC +#ifdef CONFIG_X86_RDC321X
+ { + {
+ u32 bootctl; + u32 bootctl;
+ +