forked from Imagelibrary/rtems
bsp/ngmp: New BSP variant
This commit is contained in:
@@ -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 =
|
||||
|
||||
1
c/src/lib/libbsp/sparc/leon3/make/custom/ngmp.cfg
Normal file
1
c/src/lib/libbsp/sparc/leon3/make/custom/ngmp.cfg
Normal file
@@ -0,0 +1 @@
|
||||
include $(RTEMS_ROOT)/make/custom/leon3.cfg
|
||||
@@ -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
|
||||
|
||||
19
c/src/lib/libbsp/sparc/leon3/startup/linkcmds.ngmp
Normal file
19
c/src/lib/libbsp/sparc/leon3/startup/linkcmds.ngmp
Normal 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
|
||||
Reference in New Issue
Block a user