imx6: use declare_default_headers
- remove unused header files replaced by declare_default_headers
This commit is contained in:
parent
7bf513b75e
commit
e4f567e19e
5 changed files with 7 additions and 55 deletions
|
|
@ -13,7 +13,6 @@
|
|||
#ifndef __ARCH_MACHINE_PRIV_TIMER_H_
|
||||
#define __ARCH_MACHINE_PRIV_TIMER_H_
|
||||
|
||||
#define TIMER_CLOCK_HZ 400000000ULL
|
||||
#define TMR_INTS_EVENT BIT(0)
|
||||
|
||||
/* 32 bit down counter */
|
||||
|
|
|
|||
|
|
@ -1,20 +0,0 @@
|
|||
/*
|
||||
* Copyright 2014, General Dynamics C4 Systems
|
||||
*
|
||||
* 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(GD_GPL)
|
||||
*/
|
||||
|
||||
#ifndef __PLAT_MACHINE_H
|
||||
#define __PLAT_MACHINE_H
|
||||
|
||||
enum IRQConstants {
|
||||
maxIRQ = 159
|
||||
} platform_interrupt_t;
|
||||
|
||||
#include <arch/machine/gic_pl390.h>
|
||||
|
||||
#endif /* !__PLAT_MACHINE_H */
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
* Copyright 2014, General Dynamics C4 Systems
|
||||
*
|
||||
* 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(GD_GPL)
|
||||
*/
|
||||
|
||||
#ifndef __PLAT_MACHINE_HARDWARE_H
|
||||
#define __PLAT_MACHINE_HARDWARE_H
|
||||
|
||||
#include <plat/machine/devices_gen.h>
|
||||
|
||||
#endif /* !__PLAT_MACHINE_HARDWARE_H */
|
||||
|
|
@ -1,18 +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
|
||||
|
||||
#include <arch/machine/priv_timer.h>
|
||||
|
||||
#endif /* !__PLAT_MACHINE_TIMER_H */
|
||||
|
|
@ -26,6 +26,13 @@ if(KernelPlatformWandQ OR KernelPlatformSabre)
|
|||
list(APPEND KernelDTSList "tools/dts/sabre.dts")
|
||||
list(APPEND KernelDTSList "src/plat/imx6/overlay-sabre.dts")
|
||||
endif()
|
||||
|
||||
declare_default_headers(
|
||||
TIMER_FREQUENCY 400000000llu
|
||||
MAX_IRQ 159
|
||||
INTERRUPT_CONTROLLER arch/machine/gic_pl390.h
|
||||
TIMER arch/machine/priv_timer.h
|
||||
)
|
||||
else()
|
||||
config_set(KernelPlatImx6 PLAT_IMX6 OFF)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in a new issue