1 /*
2  * Copyright (c) 2018-2019, Intel Corporation
3  * Copyright (c) 2010-2015, Wind River Systems, Inc.
4  *
5  * SPDX-License-Identifier: Apache-2.0
6  */
7 
8 /**
9  * @file
10  * @brief Board configuration macros for the Apollo Lake SoC
11  *
12  * This header file is used to specify and describe soc-level aspects for
13  * the 'Apollo Lake' SoC.
14  */
15 
16 #ifndef __SOC_H_
17 #define __SOC_H_
18 
19 #include <sys/util.h>
20 
21 #ifndef _ASMLANGUAGE
22 #include <device.h>
23 #include <random/rand32.h>
24 #endif
25 
26 #ifdef CONFIG_GPIO_INTEL
27 #include "soc_gpio.h"
28 #endif
29 
30 #include <drivers/pcie/pcie.h>
31 
32 /* This expands to "PCIE_BDF(0, 0x18, 0)" on this platform */
33 #define X86_SOC_EARLY_SERIAL_PCIDEV DT_REG_ADDR(DT_CHOSEN(zephyr_console))
34 
35 #endif /* __SOC_H_ */
36