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(KernelPlatformAM335X) 16 set(KernelArmCortexA8 ON) 17 set(KernelArchArmV7a ON) 18 config_set(KernelPlatform PLAT "am335x") 19endif() 20 21add_sources( 22 DEP "KernelPlatformAM335X" 23 CFILES 24 src/plat/am335x/machine/hardware.c 25 src/plat/am335x/machine/io.c 26 src/plat/am335x/machine/l2cache.c 27) 28