summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2009-05-27 18:07:53 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2009-05-27 18:07:53 +0000
commit31e5d533a83bcb9ddae649dfad22467f3bc93734 (patch)
tree63a1121f6992125b3eef3320ef66056a167e93d5
parent53cc0dbef7235cf2f61dee2c1367e30f689c1417 (diff)
downloadmtk-20170518-31e5d533a83bcb9ddae649dfad22467f3bc93734.zip
mtk-20170518-31e5d533a83bcb9ddae649dfad22467f3bc93734.tar.gz
mtk-20170518-31e5d533a83bcb9ddae649dfad22467f3bc93734.tar.bz2
Make amazon build again.
SVN-Revision: 16118
-rw-r--r--target/linux/amazon/Makefile2
-rw-r--r--target/linux/amazon/config-2.6.2110
-rw-r--r--target/linux/amazon/files/include/asm-mips/amazon/amazon.h8
3 files changed, 4 insertions, 16 deletions
diff --git a/target/linux/amazon/Makefile b/target/linux/amazon/Makefile
index 576f850..cca8a41 100644
--- a/target/linux/amazon/Makefile
+++ b/target/linux/amazon/Makefile
@@ -18,6 +18,4 @@ define Target/Description
Build firmware images for Infineon Amazon boards
endef
-KERNELNAME:="uImage"
-
$(eval $(call BuildTarget))
diff --git a/target/linux/amazon/config-2.6.21 b/target/linux/amazon/config-2.6.21
index 790202f..da338fd 100644
--- a/target/linux/amazon/config-2.6.21
+++ b/target/linux/amazon/config-2.6.21
@@ -9,10 +9,7 @@ CONFIG_AMAZON_PCI=y
CONFIG_AMAZON_WDT=y
# CONFIG_ARCH_HAS_ILOG2_U32 is not set
# CONFIG_ARCH_HAS_ILOG2_U64 is not set
-# CONFIG_ATM is not set
-# CONFIG_ATMEL is not set
CONFIG_BASE_SMALL=0
-# CONFIG_BCM43XX is not set
CONFIG_BITREVERSE=y
CONFIG_CMDLINE="console=ttyS0,115200 rootfstype=squashfs,jffs2 init=/bin/sh"
CONFIG_CPU_BIG_ENDIAN=y
@@ -48,7 +45,6 @@ CONFIG_CPU_SUPPORTS_HIGHMEM=y
CONFIG_DMA_NEED_PCI_MAP_STATE=y
CONFIG_DMA_NONCOHERENT=y
CONFIG_EARLY_PRINTK=y
-CONFIG_FS_POSIX_ACL=y
CONFIG_GENERIC_FIND_NEXT_BIT=y
# CONFIG_GENERIC_GPIO is not set
# CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ is not set
@@ -56,15 +52,11 @@ CONFIG_GENERIC_FIND_NEXT_BIT=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_HAVE_STD_PC_SERIAL_PORT=y
-# CONFIG_HERMES is not set
-# CONFIG_HOSTAP is not set
CONFIG_HW_HAS_PCI=y
CONFIG_HW_RANDOM=y
# CONFIG_I2C is not set
# CONFIG_IDE is not set
CONFIG_INITRAMFS_SOURCE=""
-# CONFIG_IPW2100 is not set
-# CONFIG_IPW2200 is not set
CONFIG_IRQ_CPU=y
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_EXTRA_PASS is not set
@@ -128,7 +120,6 @@ CONFIG_NET_SCH_FIFO=y
# CONFIG_PNPACPI is not set
# CONFIG_PNX8550_JBS is not set
# CONFIG_PNX8550_STB810 is not set
-# CONFIG_PRISM54 is not set
# CONFIG_RTC is not set
CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
# CONFIG_SERIAL_8250 is not set
@@ -154,4 +145,3 @@ CONFIG_SYS_SUPPORTS_BIG_ENDIAN=y
# CONFIG_TOSHIBA_RBTX4938 is not set
CONFIG_TRAD_SIGNALS=y
# CONFIG_UNUSED_SYMBOLS is not set
-# CONFIG_USB is not set
diff --git a/target/linux/amazon/files/include/asm-mips/amazon/amazon.h b/target/linux/amazon/files/include/asm-mips/amazon/amazon.h
index d28bb41..56e6943 100644
--- a/target/linux/amazon/files/include/asm-mips/amazon/amazon.h
+++ b/target/linux/amazon/files/include/asm-mips/amazon/amazon.h
@@ -999,10 +999,10 @@ If set and clear bit are written concurrently with 1, the associated bit is not
#define AMAZON_DMA_H_MASK 0x00000fff
/***External Interrupt Control Register***/
-#define AMAZON_ICU_EXTINTCR (AMAZON_ICU + 0x0000)
-#define AMAZON_ICU_IRNICR (AMAZON_ICU + 0x0004)
-#define AMAZON_ICU_IRNCR (AMAZON_ICU + 0x0008)
-#define AMAZON_ICU_IRNEN (AMAZON_ICU + 0x000c)
+#define AMAZON_ICU_EXTINTCR ((volatile u32*)(AMAZON_ICU + 0x0000))
+#define AMAZON_ICU_IRNICR ((volatile u32*)(AMAZON_ICU + 0x0004))
+#define AMAZON_ICU_IRNCR ((volatile u32*)(AMAZON_ICU + 0x0008))
+#define AMAZON_ICU_IRNEN ((volatile u32*)(AMAZON_ICU + 0x000c))
/***********************************************************************/
/* Module : PCI/Card-BUS/PC-Card register address and bits */