1#
2# Copyright 2017, Data61
3# Commonwealth Scientific and Industrial Research Organisation (CSIRO)
4# ABN 41 687 119 230.
5#
6# This software may be distributed and modified according to the terms of
7# the GNU General Public License version 2. Note that NO WARRANTY is provided.
8# See "LICENSE_GPLv2.txt" for details.
9#
10# @TAG(DATA61_GPL)
11#
12
13cmake_minimum_required(VERSION 3.7.2)
14
15if(KernelPlatformTx1)
16    set(KernelArmCortexA57 ON)
17    set(KernelArchArmV8a ON)
18    config_set(KernelPlatform PLAT "tx1")
19    config_set(KernelArmMach MACH "nvidia")
20    set(KernelHaveFPU ON)
21endif()
22
23add_sources(
24    DEP "KernelPlatformTx1"
25    CFILES
26        src/plat/tx1/machine/hardware.c
27        src/plat/tx1/machine/io.c
28        src/plat/tx1/machine/l2cache.c
29        src/arch/arm/machine/generic_timer.c
30)
31