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(KernelPlatformRpi3) 16 set(KernelArmCortexA53 ON) 17 set(KernelArchArmV8a ON) 18 config_set(KernelPlatform PLAT "bcm2837") 19 set(KernelArmMachFeatureModifiers "+crc" CACHE INTERNAL "") 20 if(KernelSel4ArchAarch64) 21 set(KernelHaveFPU ON) 22 endif() 23endif() 24 25add_sources( 26 DEP "KernelPlatformRpi3" 27 CFILES 28 src/plat/bcm2837/machine/hardware.c 29 src/plat/bcm2837/machine/io.c 30 src/plat/bcm2837/machine/intc.c 31 src/plat/bcm2837/machine/l2cache.c 32 src/arch/arm/machine/generic_timer.c 33) 34