Brian Swetland | dfdb461 | 2009-01-01 11:44:36 -0800 | [diff] [blame] | 1 | LOCAL_DIR := $(GET_LOCAL_DIR) |
| 2 | |
| 3 | INCLUDES += -I$(LOCAL_DIR)/include |
| 4 | |
| 5 | PLATFORM := qsd8k |
| 6 | |
| 7 | MEMBASE := 0x00000000 # SMI |
| 8 | MEMSIZE := 0x00800000 # 8MB |
| 9 | |
Chandan Uddaraju | da91983 | 2009-11-17 01:06:11 -0800 | [diff] [blame] | 10 | BASE_ADDR := 0x20000000 |
| 11 | |
| 12 | TAGS_ADDR := BASE_ADDR+0x00000100 |
| 13 | KERNEL_ADDR := BASE_ADDR+0x00800000 |
| 14 | RAMDISK_ADDR := BASE_ADDR+0x01000000 |
| 15 | SCRATCH_ADDR := BASE_ADDR+0x02000000 |
Dima Zavin | f9faf3a | 2009-01-29 11:43:30 -0800 | [diff] [blame] | 16 | |
Dima Zavin | f8cefec | 2009-01-20 19:25:51 -0800 | [diff] [blame] | 17 | KEYS_USE_GPIO_KEYPAD := 1 |
| 18 | |
Dima Zavin | 9c6992d | 2009-01-23 16:43:03 -0800 | [diff] [blame] | 19 | MODULES += \ |
| 20 | dev/keys \ |
| 21 | lib/ptable |
Dima Zavin | f8cefec | 2009-01-20 19:25:51 -0800 | [diff] [blame] | 22 | |
Dima Zavin | f9faf3a | 2009-01-29 11:43:30 -0800 | [diff] [blame] | 23 | DEFINES += \ |
| 24 | SDRAM_SIZE=$(MEMSIZE) \ |
Chandan Uddaraju | da91983 | 2009-11-17 01:06:11 -0800 | [diff] [blame] | 25 | 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 Zavin | f8cefec | 2009-01-20 19:25:51 -0800 | [diff] [blame] | 30 | |
| 31 | OBJS += \ |
| 32 | $(LOCAL_DIR)/init.o \ |
Chandan Uddaraju | c6860e1 | 2009-11-19 11:22:15 -0800 | [diff] [blame] | 33 | $(LOCAL_DIR)/atags.o \ |
Dima Zavin | f8cefec | 2009-01-20 19:25:51 -0800 | [diff] [blame] | 34 | $(LOCAL_DIR)/keypad.o |