SConscript revision 13996:8a567118e670
113606Sciro.santilli@arm.com# -*- mode:python -*-
27586SAli.Saidi@arm.com
37586SAli.Saidi@arm.com# Copyright (c) 2009, 2012-2013 ARM Limited
47586SAli.Saidi@arm.com# All rights reserved.
57586SAli.Saidi@arm.com#
67586SAli.Saidi@arm.com# The license below extends only to copyright in the software and shall
77586SAli.Saidi@arm.com# not be construed as granting a license to any other intellectual
87586SAli.Saidi@arm.com# property including but not limited to intellectual property relating
97586SAli.Saidi@arm.com# to a hardware implementation of the functionality of the software
107586SAli.Saidi@arm.com# licensed hereunder.  You may use the software subject to the license
117586SAli.Saidi@arm.com# terms below provided that you ensure that this notice is replicated
127586SAli.Saidi@arm.com# unmodified and in its entirety in all distributions of the software,
137905SBrad.Beckmann@amd.com# modified or unmodified, in source code or in binary form.
145323Sgblack@eecs.umich.edu#
152934Sktlim@umich.edu# Redistribution and use in source and binary forms, with or without
162934Sktlim@umich.edu# modification, are permitted provided that the following conditions are
172934Sktlim@umich.edu# met: redistributions of source code must retain the above copyright
182934Sktlim@umich.edu# notice, this list of conditions and the following disclaimer;
192934Sktlim@umich.edu# redistributions in binary form must reproduce the above copyright
202934Sktlim@umich.edu# notice, this list of conditions and the following disclaimer in the
212934Sktlim@umich.edu# documentation and/or other materials provided with the distribution;
222934Sktlim@umich.edu# neither the name of the copyright holders nor the names of its
232934Sktlim@umich.edu# contributors may be used to endorse or promote products derived from
242934Sktlim@umich.edu# this software without specific prior written permission.
252934Sktlim@umich.edu#
262934Sktlim@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
272934Sktlim@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
282934Sktlim@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
292934Sktlim@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
302934Sktlim@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
312934Sktlim@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
322934Sktlim@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
332934Sktlim@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
342934Sktlim@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
352934Sktlim@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
362934Sktlim@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
372934Sktlim@umich.edu#
382934Sktlim@umich.edu# Authors: Ali Saidi
392934Sktlim@umich.edu
402934Sktlim@umich.eduImport('*')
412934Sktlim@umich.edu
4212564Sgabeblack@google.comif env['TARGET_ISA'] == 'arm':
4312564Sgabeblack@google.com    SimObject('AbstractNVM.py')
442934Sktlim@umich.edu    SimObject('FlashDevice.py')
452995Ssaidi@eecs.umich.edu    SimObject('Gic.py')
4610046Snilay@cs.wisc.edu    SimObject('RealView.py')
4711688Sandreas.hansson@arm.com    SimObject('UFSHostDevice.py')
482934Sktlim@umich.edu    SimObject('EnergyCtrl.py')
4910747SChris.Emmons@arm.com    SimObject('NoMali.py')
5010747SChris.Emmons@arm.com    SimObject('VirtIOMMIO.py')
5110747SChris.Emmons@arm.com
5210747SChris.Emmons@arm.com    Source('a9scu.cc')
5310747SChris.Emmons@arm.com    Source('amba_device.cc')
5410747SChris.Emmons@arm.com    Source('amba_fake.cc')
5510747SChris.Emmons@arm.com    Source('base_gic.cc')
5610747SChris.Emmons@arm.com    Source('flash_device.cc')
5710747SChris.Emmons@arm.com    Source('generic_timer.cc')
5812026Sweipingliao@google.com    Source('gic_v2.cc')
5912026Sweipingliao@google.com    Source('gic_v2m.cc')
6010747SChris.Emmons@arm.com    Source('gic_v3.cc')
6110747SChris.Emmons@arm.com    Source('gic_v3_cpu_interface.cc')
622934Sktlim@umich.edu    Source('gic_v3_distributor.cc')
632934Sktlim@umich.edu    Source('gic_v3_redistributor.cc')
642934Sktlim@umich.edu    Source('gic_v3_its.cc')
652934Sktlim@umich.edu    Source('pl011.cc')
662934Sktlim@umich.edu    Source('pl111.cc')
672934Sktlim@umich.edu    Source('hdlcd.cc')
682934Sktlim@umich.edu    Source('kmi.cc')
6910720Sandreas.hansson@arm.com    Source('timer_sp804.cc')
706122SSteve.Reinhardt@amd.com    Source('gpu_nomali.cc')
716122SSteve.Reinhardt@amd.com    Source('pci_host.cc')
726122SSteve.Reinhardt@amd.com    Source('rv_ctrl.cc')
7310594Sgabeblack@google.com    Source('realview.cc')
7410594Sgabeblack@google.com    Source('rtc_pl031.cc')
7510697SCurtis.Dunham@arm.com    Source('timer_cpulocal.cc')
7610594Sgabeblack@google.com    Source('timer_a9global.cc')
7710594Sgabeblack@google.com    Source('vgic.cc')
7810594Sgabeblack@google.com    Source('vio_mmio.cc')
7910594Sgabeblack@google.com    Source('ufs_device.cc')
8010594Sgabeblack@google.com    Source('energy_ctrl.cc')
8110118Snilay@cs.wisc.edu
824520Ssaidi@eecs.umich.edu    DebugFlag('AMBA')
834982Ssaidi@eecs.umich.edu    DebugFlag('FlashDevice')
844520Ssaidi@eecs.umich.edu    DebugFlag('HDLcd')
854520Ssaidi@eecs.umich.edu    DebugFlag('PL111')
862934Sktlim@umich.edu    DebugFlag('GICV2M')
872934Sktlim@umich.edu    DebugFlag('Pl050')
883005Sstever@eecs.umich.edu    DebugFlag('GIC')
893005Sstever@eecs.umich.edu    DebugFlag('ITS')
903304Sstever@eecs.umich.edu    DebugFlag('RVCTRL')
912995Ssaidi@eecs.umich.edu    DebugFlag('EnergyCtrl')
9210118Snilay@cs.wisc.edu    DebugFlag('UFSHostDevice')
9310118Snilay@cs.wisc.edu    DebugFlag('VGIC')
9410118Snilay@cs.wisc.edu    DebugFlag('NoMali')
9510118Snilay@cs.wisc.edu