SConscript revision 13014
12155SN/A# -*- mode:python -*-
22155SN/A
32155SN/A# Copyright (c) 2009, 2012-2013 ARM Limited
42155SN/A# All rights reserved.
52155SN/A#
62155SN/A# The license below extends only to copyright in the software and shall
72155SN/A# not be construed as granting a license to any other intellectual
82155SN/A# property including but not limited to intellectual property relating
92155SN/A# to a hardware implementation of the functionality of the software
102155SN/A# licensed hereunder.  You may use the software subject to the license
112155SN/A# terms below provided that you ensure that this notice is replicated
122155SN/A# unmodified and in its entirety in all distributions of the software,
132155SN/A# modified or unmodified, in source code or in binary form.
142155SN/A#
152155SN/A# Redistribution and use in source and binary forms, with or without
162155SN/A# modification, are permitted provided that the following conditions are
172155SN/A# met: redistributions of source code must retain the above copyright
182155SN/A# notice, this list of conditions and the following disclaimer;
192155SN/A# redistributions in binary form must reproduce the above copyright
202155SN/A# notice, this list of conditions and the following disclaimer in the
212155SN/A# documentation and/or other materials provided with the distribution;
222155SN/A# neither the name of the copyright holders nor the names of its
232155SN/A# contributors may be used to endorse or promote products derived from
242155SN/A# this software without specific prior written permission.
252155SN/A#
262155SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
272155SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
282665Ssaidi@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
292665Ssaidi@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
302155SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
314202Sbinkertn@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
322155SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
339850Sandreas.hansson@arm.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
349850Sandreas.hansson@arm.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
359850Sandreas.hansson@arm.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
367768SAli.Saidi@ARM.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
377768SAli.Saidi@ARM.com#
382178SN/A# Authors: Ali Saidi
392178SN/A
402178SN/AImport('*')
412178SN/A
422178SN/Aif env['TARGET_ISA'] == 'arm':
432178SN/A    SimObject('AbstractNVM.py')
442178SN/A    SimObject('FlashDevice.py')
452178SN/A    SimObject('Gic.py')
462178SN/A    SimObject('RealView.py')
472178SN/A    SimObject('UFSHostDevice.py')
482178SN/A    SimObject('EnergyCtrl.py')
492155SN/A    SimObject('NoMali.py')
505865Sksewell@umich.edu    SimObject('VirtIOMMIO.py')
516181Sksewell@umich.edu
526181Sksewell@umich.edu    Source('a9scu.cc')
535865Sksewell@umich.edu    Source('amba_device.cc')
543918Ssaidi@eecs.umich.edu    Source('amba_fake.cc')
555865Sksewell@umich.edu    Source('base_gic.cc')
562623SN/A    Source('flash_device.cc')
573918Ssaidi@eecs.umich.edu    Source('generic_timer.cc')
582155SN/A    Source('gic_v2.cc')
592155SN/A    Source('gic_v2m.cc')
602292SN/A    Source('pl011.cc')
616181Sksewell@umich.edu    Source('pl111.cc')
626181Sksewell@umich.edu    Source('hdlcd.cc')
633918Ssaidi@eecs.umich.edu    Source('kmi.cc')
642292SN/A    Source('timer_sp804.cc')
652292SN/A    Source('gpu_nomali.cc')
662292SN/A    Source('pci_host.cc')
673918Ssaidi@eecs.umich.edu    Source('rv_ctrl.cc')
682292SN/A    Source('realview.cc')
692292SN/A    Source('rtc_pl031.cc')
702766Sktlim@umich.edu    Source('timer_cpulocal.cc')
712766Sktlim@umich.edu    Source('timer_a9global.cc')
722766Sktlim@umich.edu    Source('vgic.cc')
732921Sktlim@umich.edu    Source('vio_mmio.cc')
748887Sgeoffrey.blake@arm.com    Source('ufs_device.cc')
758887Sgeoffrey.blake@arm.com    Source('energy_ctrl.cc')
762766Sktlim@umich.edu
774762Snate@binkert.org    DebugFlag('AMBA')
782155SN/A    DebugFlag('FlashDevice')
792155SN/A    DebugFlag('HDLcd')
802155SN/A    DebugFlag('PL111')
812155SN/A    DebugFlag('GICV2M')
822155SN/A    DebugFlag('Pl050')
832155SN/A    DebugFlag('GIC')
842766Sktlim@umich.edu    DebugFlag('RVCTRL')
852155SN/A    DebugFlag('EnergyCtrl')
865865Sksewell@umich.edu    DebugFlag('UFSHostDevice')
872155SN/A    DebugFlag('VGIC')
882155SN/A    DebugFlag('NoMali')
892155SN/A