Deepa Dinamani | 7d6c897 | 2011-12-14 15:16:56 -0800 | [diff] [blame] | 1 | LOCAL_DIR := $(GET_LOCAL_DIR) |
| 2 | |
| 3 | INCLUDES += -I$(LOCAL_DIR)/include -I$(LK_TOP_DIR)/platform/msm_shared |
| 4 | |
| 5 | PLATFORM := copper |
| 6 | |
Deepa Dinamani | 81eddd5 | 2012-05-31 11:18:50 -0700 | [diff] [blame] | 7 | MEMBASE := 0x0F900000 # SDRAM |
Deepa Dinamani | 7d6c897 | 2011-12-14 15:16:56 -0800 | [diff] [blame] | 8 | MEMSIZE := 0x00100000 # 1MB |
| 9 | |
Deepa Dinamani | 81eddd5 | 2012-05-31 11:18:50 -0700 | [diff] [blame] | 10 | BASE_ADDR := 0x00000 |
Deepa Dinamani | 7d6c897 | 2011-12-14 15:16:56 -0800 | [diff] [blame] | 11 | |
| 12 | TAGS_ADDR := BASE_ADDR+0x00000100 |
| 13 | KERNEL_ADDR := BASE_ADDR+0x00008000 |
| 14 | RAMDISK_ADDR := BASE_ADDR+0x01000000 |
| 15 | SCRATCH_ADDR := 0x00000000 |
| 16 | |
Deepa Dinamani | 7d6c897 | 2011-12-14 15:16:56 -0800 | [diff] [blame] | 17 | MODULES += \ |
| 18 | dev/keys \ |
Deepa Dinamani | 2279965 | 2012-07-21 12:26:22 -0700 | [diff] [blame^] | 19 | lib/ptable \ |
| 20 | dev/pmic/pm8x41 |
Deepa Dinamani | 7d6c897 | 2011-12-14 15:16:56 -0800 | [diff] [blame] | 21 | |
| 22 | DEFINES += \ |
| 23 | MEMSIZE=$(MEMSIZE) \ |
| 24 | MEMBASE=$(MEMBASE) \ |
| 25 | BASE_ADDR=$(BASE_ADDR) \ |
| 26 | TAGS_ADDR=$(TAGS_ADDR) \ |
| 27 | KERNEL_ADDR=$(KERNEL_ADDR) \ |
| 28 | RAMDISK_ADDR=$(RAMDISK_ADDR) \ |
| 29 | SCRATCH_ADDR=$(SCRATCH_ADDR) |
| 30 | |
| 31 | |
| 32 | OBJS += \ |
| 33 | $(LOCAL_DIR)/init.o \ |
| 34 | $(LOCAL_DIR)/atags.o |