Files
lk/target/zybo/rules.mk
Travis Geiselbrecht 81dbfc2493 [platform][zynq] add support for putting the base of the system in dram (1MB offset)
-Add a few global #defines: ZYNQ_CODE_IN_SDRAM and ZYNQ_SDRAM_INIT which
are used in a few places to initialize or not initialze dram and affect
the way the VM is brought up.
-Add zybo-dram-test project
2014-08-13 17:28:47 -07:00

24 lines
352 B
Makefile

LOCAL_DIR := $(GET_LOCAL_DIR)
MODULE := $(LOCAL_DIR)
PLATFORM := zynq
# set the system base to sram
ZYNQ_USE_SRAM ?= 1
# we have sdram
ZYNQ_SDRAM_SIZE := 0x10000000
GLOBAL_INCLUDES += \
$(LOCAL_DIR)/include
GLOBAL_DEFINES += \
EXTERNAL_CLOCK_FREQ=50000000
MODULE_SRCS += \
$(LOCAL_DIR)/target.c \
$(LOCAL_DIR)/init.c
include make/module.mk