M7350/bootable/bootloader/lk/target/msmtitanium/rules.mk
2024-09-09 08:57:42 +00:00

30 lines
504 B
Makefile

LOCAL_DIR := $(GET_LOCAL_DIR)
INCLUDES += -I$(LOCAL_DIR)/include -I$(LK_TOP_DIR)/platform/msm_shared
PLATFORM := msmtitanium
MEMBASE := 0x8F600000 # SDRAM
MEMSIZE := 0x00100000 # 1MB
BASE_ADDR := 0x80000000
SCRATCH_ADDR := 0x90000000
MODULES += \
dev/keys \
dev/vib \
lib/ptable \
dev/pmic/pm8x41 \
lib/libfdt
DEFINES += \
MEMSIZE=$(MEMSIZE) \
MEMBASE=$(MEMBASE) \
BASE_ADDR=$(BASE_ADDR) \
SCRATCH_ADDR=$(SCRATCH_ADDR)
OBJS += \
$(LOCAL_DIR)/init.o \
$(LOCAL_DIR)/meminfo.o