tx1: use declare_default_headers

- remove unused header files replaced by declare_default_headers
This commit is contained in:
Kent McLeod 2019-04-12 14:11:58 +10:00 committed by Anna Lyons
parent 04aabf92ce
commit e86190839e
4 changed files with 1 additions and 65 deletions

View file

@ -1,22 +0,0 @@
/*
* Copyright 2017, Data61
* Commonwealth Scientific and Industrial Research Organisation (CSIRO)
* ABN 41 687 119 230.
*
* This software may be distributed and modified according to the terms of
* the GNU General Public License version 2. Note that NO WARRANTY is provided.
* See "LICENSE_GPLv2.txt" for details.
*
* @TAG(DATA61_GPL)
*/
#ifndef __PLAT_MACHINE_H
#define __PLAT_MACHINE_H
enum IRQConstants {
maxIRQ = 224
} platform_interrupt_t;
#include <arch/machine/gic_pl390.h>
#endif /* ! __PLAT_MACHINE_H */

View file

@ -1,23 +0,0 @@
/*
* Copyright 2017, Data61
* Commonwealth Scientific and Industrial Research Organisation (CSIRO)
* ABN 41 687 119 230.
*
* This software may be distributed and modified according to the terms of
* the GNU General Public License version 2. Note that NO WARRANTY is provided.
* See "LICENSE_GPLv2.txt" for details.
*
* @TAG(DATA61_GPL)
*/
#ifndef __PLAT_MACHINE_HARDWARE_H
#define __PLAT_MACHINE_HARDWARE_H
#include <config.h>
#include <basic_types.h>
#include <linker.h>
#include <arch/object/vcpu.h>
#include <plat/machine.h>
#include <plat/machine/devices_gen.h>
#endif /* __PLAT_MACHINE_HARDWARE_H */

View file

@ -1,20 +0,0 @@
/*
* Copyright 2017, Data61
* Commonwealth Scientific and Industrial Research Organisation (CSIRO)
* ABN 41 687 119 230.
*
* This software may be distributed and modified according to the terms of
* the GNU General Public License version 2. Note that NO WARRANTY is provided.
* See "LICENSE_GPLv2.txt" for details.
*
* @TAG(DATA61_GPL)
*/
#ifndef __PLAT_MACHINE_TIMER_H
#define __PLAT_MACHINE_TIMER_H
#define TIMER_CLOCK_HZ 19200000llu
#include <arch/machine/generic_timer.h>
#endif /* !__PLAT_MACHINE_TIMER_H */

View file

@ -21,6 +21,7 @@ if(KernelPlatformTx1)
set(KernelArmPASizeBits44 ON)
list(APPEND KernelDTSList "tools/dts/tx1.dts")
list(APPEND KernelDTSList "src/plat/tx1/overlay-tx1.dts")
declare_default_headers(19200000llu 224 arch/machine/gic_pl390.h arch/machine/generic_timer.h)
endif()
add_sources(