blob: 6a7e330cc41a9c07324e00e914e7329d97372370 [file] [log] [blame]
Brian Swetlanddfdb4612009-01-01 11:44:36 -08001LOCAL_DIR := $(GET_LOCAL_DIR)
2
3INCLUDES += -I$(LOCAL_DIR)/include
4
5PLATFORM := qsd8k
6
7MEMBASE := 0x00000000 # SMI
8MEMSIZE := 0x00800000 # 8MB
9
Chandan Uddarajuda919832009-11-17 01:06:11 -080010BASE_ADDR := 0x20000000
11
12TAGS_ADDR := BASE_ADDR+0x00000100
13KERNEL_ADDR := BASE_ADDR+0x00800000
14RAMDISK_ADDR := BASE_ADDR+0x01000000
15SCRATCH_ADDR := BASE_ADDR+0x02000000
Dima Zavinf9faf3a2009-01-29 11:43:30 -080016
Dima Zavinf8cefec2009-01-20 19:25:51 -080017KEYS_USE_GPIO_KEYPAD := 1
18
Dima Zavin9c6992d2009-01-23 16:43:03 -080019MODULES += \
20 dev/keys \
21 lib/ptable
Dima Zavinf8cefec2009-01-20 19:25:51 -080022
Dima Zavinf9faf3a2009-01-29 11:43:30 -080023DEFINES += \
24 SDRAM_SIZE=$(MEMSIZE) \
Chandan Uddarajuda919832009-11-17 01:06:11 -080025 TAGS_ADDR=$(TAGS_ADDR) \
26 BASE_ADDR=$(BASE_ADDR) \
27 KERNEL_ADDR=$(KERNEL_ADDR) \
28 RAMDISK_ADDR=$(RAMDISK_ADDR) \
29 SCRATCH_ADDR=$(SCRATCH_ADDR)
Dima Zavinf8cefec2009-01-20 19:25:51 -080030
31OBJS += \
32 $(LOCAL_DIR)/init.o \
Chandan Uddarajuc6860e12009-11-19 11:22:15 -080033 $(LOCAL_DIR)/atags.o \
Dima Zavinf8cefec2009-01-20 19:25:51 -080034 $(LOCAL_DIR)/keypad.o