bsp/ngmp: New BSP variant

This commit is contained in:
Sebastian Huber
2013-11-12 10:29:50 +01:00
parent f204e31070
commit 12cbc370c0
4 changed files with 25 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ project_lib_DATA = start.$(OBJEXT)
dist_project_lib_DATA += ../shared/startup/linkcmds.base
dist_project_lib_DATA += startup/linkcmds
dist_project_lib_DATA += startup/linkcmds.leon3
dist_project_lib_DATA += startup/linkcmds.ngmp
noinst_LIBRARIES += libbsp.a
libbsp_a_SOURCES =

View File

@@ -0,0 +1 @@
include $(RTEMS_ROOT)/make/custom/leon3.cfg

View File

@@ -81,6 +81,10 @@ $(PROJECT_LIB)/linkcmds.leon3: startup/linkcmds.leon3 $(PROJECT_LIB)/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.leon3
PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.leon3
$(PROJECT_LIB)/linkcmds.ngmp: startup/linkcmds.ngmp $(PROJECT_LIB)/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.ngmp
PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.ngmp
$(PROJECT_INCLUDE)/amba.h: include/amba.h $(PROJECT_INCLUDE)/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/amba.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/amba.h

View File

@@ -0,0 +1,19 @@
/* Default values, can be overridden */
_PROM_SIZE = DEFINED (_PROM_SIZE) ? _PROM_SIZE : 0;
_RAM_SIZE = DEFINED (_RAM_SIZE) ? _RAM_SIZE : 64M;
/* these are the maximum values */
MEMORY
{
rom : ORIGIN = 0xC0000000, LENGTH = 256M
ram : ORIGIN = 0x00000000, LENGTH = 2048M
sram : ORIGIN = 0xD0000000, LENGTH = 256M
}
_PROM_START = ORIGIN (rom);
_RAM_START = ORIGIN (ram);
INCLUDE linkcmds.base