Changeset 4d3933b3 in rtems


Ignore:
Timestamp:
Sep 6, 2007, 12:01:14 AM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
1982a19
Parents:
2aaff51
Message:

2007-09-05 Daniel Hellstrom <daniel@…>

  • Makefile.am, preinstall.am: LEON3 AMBA PnP bus scanning moved to shared/amba/amba.c and shared/include/ambapp.h. The AMBA scanning was improved to take account for PnP info address translation. This is useful when scanning remote AMBA busses for example when a board connected with PCI has an AMBA bus that needs to be scanned, before the addresses was hard coded. Also, LEON2 now have AMBA PnP bus scanning support. By using the new AMBA scanning routines it is possible to isolate the AMBA scanning code to ambapp.c, however existing drivers should be updated to use them in order to save space.
Location:
c/src/lib/libbsp/sparc/leon2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/leon2/ChangeLog

    r2aaff51 r4d3933b3  
     12007-09-05      Daniel Hellstrom <daniel@gaisler.com>
     2
     3        * Makefile.am, preinstall.am: LEON3 AMBA PnP bus scanning moved to
     4        shared/amba/amba.c and shared/include/ambapp.h. The AMBA scanning was
     5        improved to take account for PnP info address translation. This is
     6        useful when scanning remote AMBA busses for example when a board
     7        connected with PCI has an AMBA bus that needs to be scanned, before
     8        the addresses was hard coded. Also, LEON2 now have AMBA PnP bus
     9        scanning support. By using the new AMBA scanning routines it is
     10        possible to isolate the AMBA scanning code to ambapp.c, however
     11        existing drivers should be updated to use them in order to save
     12        space.
     13
    1142007-09-05      Daniel Hellstrom <daniel@gaisler.com>
    215
  • c/src/lib/libbsp/sparc/leon2/Makefile.am

    r2aaff51 r4d3933b3  
    1212include_HEADERS = include/bsp.h
    1313include_HEADERS += include/tm27.h
     14include_HEADERS += ../../sparc/shared/include/ambapp.h
    1415
    1516nodist_include_HEADERS = include/bspopts.h
     
    5758clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    5859
     60noinst_PROGRAMS += amba.rel
     61amba_rel_SOURCES = ../../sparc/shared/amba/ambapp.c
     62amba_rel_CPPFLAGS = $(AM_CPPFLAGS)
     63amba_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     64
    5965if HAS_NETWORKING
    6066noinst_PROGRAMS += leon_smc91111.rel
     
    8086noinst_LIBRARIES = libbsp.a
    8187libbsp_a_SOURCES =
    82 libbsp_a_LIBADD = startup.rel console.rel clock.rel timer.rel gnatsupp.rel
     88libbsp_a_LIBADD = startup.rel console.rel clock.rel timer.rel gnatsupp.rel \
     89                  amba.rel
    8390
    8491if HAS_NETWORKING
  • c/src/lib/libbsp/sparc/leon2/preinstall.am

    r2aaff51 r4d3933b3  
    5353PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
    5454
     55# AMBA Plug&Play Bus
     56$(PROJECT_INCLUDE)/ambapp.h: ../../sparc/shared/include/ambapp.h $(PROJECT_INCLUDE)/$(dirstamp)
     57        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/ambapp.h
     58PREINSTALL_FILES += $(PROJECT_INCLUDE)/ambapp.h
     59
    5560$(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
    5661        $(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT)
Note: See TracChangeset for help on using the changeset viewer.