exynos5250: Change all SoC headers to <soc/headername.h> system

This patch aligns exynos5250 to the new SoC header include scheme.
Also alphabetized headers in affected files since we touch them anyway.

BUG=None
TEST=Tested with whole series. Compiled Daisy.

Change-Id: I39805c0346e117a0f9b2667763ecaa428f0f55a8
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: db6762f0c8425371d9860f908a5cefdeee8d1abc
Original-Change-Id: Ic358061ddcbbe7d83a95ca11247b8b505b20491d
Original-Signed-off-by: Julius Werner <jwerner@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/224500
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/9323
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Julius Werner
2014-10-20 13:16:29 -07:00
committed by Patrick Georgi
parent 0c00f9a58f
commit 1ed0c8c0b2
54 changed files with 146 additions and 154 deletions

View File

@@ -21,11 +21,11 @@
#include <console/console.h> #include <console/console.h>
#include <ec/google/chromeec/ec.h> #include <ec/google/chromeec/ec.h>
#include <ec/google/chromeec/ec_commands.h> #include <ec/google/chromeec/ec_commands.h>
#include <soc/cpu.h>
#include <soc/gpio.h>
#include <string.h> #include <string.h>
#include <vendorcode/google/chromeos/chromeos.h> #include <vendorcode/google/chromeos/chromeos.h>
#include <bootmode.h> #include <bootmode.h>
#include <soc/samsung/exynos5250/cpu.h>
#include <soc/samsung/exynos5250/gpio.h>
void fill_lb_gpios(struct lb_gpios *gpios) void fill_lb_gpios(struct lb_gpios *gpios)
{ {

View File

@@ -17,26 +17,26 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <arch/cache.h>
#include <boot/coreboot_tables.h>
#include <console/console.h> #include <console/console.h>
#include <cbmem.h>
#include <delay.h>
#include <device/device.h> #include <device/device.h>
#include <device/i2c.h> #include <device/i2c.h>
#include <drivers/ti/tps65090/tps65090.h> #include <drivers/ti/tps65090/tps65090.h>
#include <cbmem.h>
#include <delay.h>
#include <edid.h> #include <edid.h>
#include <vbe.h> #include <soc/clk.h>
#include <boot/coreboot_tables.h> #include <soc/dp.h>
#include <arch/cache.h> #include <soc/dp-core.h>
#include <soc/samsung/exynos5250/tmu.h> #include <soc/gpio.h>
#include <soc/samsung/exynos5250/clk.h> #include <soc/i2c.h>
#include <soc/samsung/exynos5250/gpio.h> #include <soc/periph.h>
#include <soc/samsung/exynos5250/power.h> #include <soc/power.h>
#include <soc/samsung/exynos5250/i2c.h> #include <soc/tmu.h>
#include <soc/samsung/exynos5250/dp-core.h> #include <soc/usb.h>
#include <soc/samsung/exynos5250/dp.h>
#include <soc/samsung/exynos5250/periph.h>
#include <soc/samsung/exynos5250/usb.h>
#include <symbols.h> #include <symbols.h>
#include <vbe.h>
#include "exynos5250.h" #include "exynos5250.h"

View File

@@ -1 +1 @@
#include <soc/samsung/exynos5250/memlayout.ld> #include <soc/memlayout.ld>

View File

@@ -18,14 +18,13 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <console/console.h>
#include <soc/gpio.h>
#include <soc/setup.h>
#include <soc/dmc.h>
#include <soc/clk.h>
#include <stddef.h> #include <stddef.h>
#include <stdlib.h> #include <stdlib.h>
#include <console/console.h>
#include <soc/samsung/exynos5250/gpio.h>
#include <soc/samsung/exynos5250/setup.h>
#include <soc/samsung/exynos5250/dmc.h>
#include <soc/samsung/exynos5250/clk.h>
const struct mem_timings mem_timings[] = { const struct mem_timings mem_timings[] = {
{ {

View File

@@ -17,30 +17,28 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <types.h> #include <arch/cache.h>
#include <arch/exception.h>
#include <arch/stages.h>
#include <armv7.h> #include <armv7.h>
#include <cbfs.h> #include <cbfs.h>
#include <cbmem.h> #include <cbmem.h>
#include <timestamp.h>
#include <arch/cache.h>
#include <arch/exception.h>
#include <soc/samsung/exynos5250/i2c.h>
#include <soc/samsung/exynos5250/clk.h>
#include <soc/samsung/exynos5250/cpu.h>
#include <soc/samsung/exynos5250/dmc.h>
#include <soc/samsung/exynos5250/gpio.h>
#include <soc/samsung/exynos5250/setup.h>
#include <soc/samsung/exynos5250/periph.h>
#include <soc/samsung/exynos5250/power.h>
#include <soc/samsung/exynos5250/trustzone.h>
#include <soc/samsung/exynos5250/wakeup.h>
#include <console/console.h> #include <console/console.h>
#include <program_loading.h> #include <program_loading.h>
#include <drivers/maxim/max77686/max77686.h>
#include <device/i2c.h> #include <device/i2c.h>
#include <drivers/maxim/max77686/max77686.h>
#include <soc/clk.h>
#include <soc/cpu.h>
#include <soc/dmc.h>
#include <soc/gpio.h>
#include <soc/i2c.h>
#include <soc/setup.h>
#include <soc/periph.h>
#include <soc/power.h>
#include <soc/trustzone.h>
#include <soc/wakeup.h>
#include <timestamp.h>
#include <types.h>
#include "exynos5250.h" #include "exynos5250.h"

View File

@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <soc/samsung/exynos5250/gpio.h> #include <soc/gpio.h>
#include <soc/samsung/exynos5250/wakeup.h> #include <soc/wakeup.h>
int wakeup_need_reset(void) int wakeup_need_reset(void)
{ {

View File

@@ -48,6 +48,8 @@ ramstage-y += fb.c
ramstage-y += usb.c ramstage-y += usb.c
ramstage-y += cbmem.c ramstage-y += cbmem.c
CPPFLAGS_common += -Isrc/soc/samsung/exynos5250/include/
$(objcbfs)/bootblock.raw.elf: $(objcbfs)/bootblock.elf $(objcbfs)/bootblock.raw.elf: $(objcbfs)/bootblock.elf
cp $< $@ cp $< $@

View File

@@ -20,13 +20,13 @@
#include <assert.h> #include <assert.h>
#include <cbfs.h> /* This driver serves as a CBFS media source. */ #include <cbfs.h> /* This driver serves as a CBFS media source. */
#include <console/console.h>
#include <soc/alternate_cbfs.h>
#include <soc/power.h>
#include <soc/spi.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <symbols.h> #include <symbols.h>
#include <console/console.h>
#include "alternate_cbfs.h"
#include "power.h"
#include "spi.h"
/* This allows USB A-A firmware upload from a compatible host in four parts: /* This allows USB A-A firmware upload from a compatible host in four parts:
* The first two are the bare BL1 and the Coreboot boot block, which are just * The first two are the bare BL1 and the Coreboot boot block, which are just

View File

@@ -18,9 +18,8 @@
*/ */
#include <bootblock_common.h> #include <bootblock_common.h>
#include <soc/clk.h>
#include "clk.h" #include <soc/wakeup.h>
#include "wakeup.h"
void bootblock_soc_init(void) void bootblock_soc_init(void)
{ {

View File

@@ -19,7 +19,7 @@
#include <stddef.h> #include <stddef.h>
#include <cbmem.h> #include <cbmem.h>
#include "cpu.h" #include <soc/cpu.h>
void *cbmem_top(void) void *cbmem_top(void)
{ {

View File

@@ -20,7 +20,7 @@
#ifndef CPU_SAMSUNG_EXYNOS5250_H #ifndef CPU_SAMSUNG_EXYNOS5250_H
#define CPU_SAMSUNG_EXYNOS5250_H #define CPU_SAMSUNG_EXYNOS5250_H
#include "gpio.h" #include <soc/gpio.h>
struct soc_samsung_exynos5250_config { struct soc_samsung_exynos5250_config {
/* special magic numbers! */ /* special magic numbers! */

View File

@@ -17,13 +17,13 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <arch/io.h>
#include <assert.h> #include <assert.h>
#include <console/console.h>
#include <soc/clk.h>
#include <soc/periph.h>
#include <stdlib.h> #include <stdlib.h>
#include <timer.h> #include <timer.h>
#include <arch/io.h>
#include <console/console.h>
#include "clk.h"
#include "periph.h"
/* input clock of PLL: SMDK5250 has 24MHz input clock */ /* input clock of PLL: SMDK5250 has 24MHz input clock */
#define CONFIG_SYS_CLK_FREQ 24000000 #define CONFIG_SYS_CLK_FREQ 24000000

View File

@@ -21,9 +21,9 @@
#include <delay.h> #include <delay.h>
#include <console/console.h> #include <console/console.h>
#include "clk.h" #include <soc/clk.h>
#include "dp.h" #include <soc/dp.h>
#include "setup.h" #include <soc/setup.h>
void system_clock_init(struct mem_timings *mem, void system_clock_init(struct mem_timings *mem,
struct arm_clk_ratios *arm_clk_ratio) struct arm_clk_ratios *arm_clk_ratio)

View File

@@ -18,18 +18,19 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <arch/cache.h>
#include <cbmem.h>
#include <console/console.h>
#include <delay.h>
#include <device/device.h>
#include <soc/clk.h>
#include <soc/cpu.h>
#include <soc/dp-core.h>
#include <soc/fimd.h>
#include <stddef.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stddef.h>
#include <delay.h>
#include <console/console.h>
#include <device/device.h>
#include <cbmem.h>
#include <arch/cache.h>
#include "fimd.h"
#include "dp-core.h"
#include "cpu.h"
#include "clk.h"
#include "chip.h" #include "chip.h"
static unsigned int cpu_id; static unsigned int cpu_id;

View File

@@ -20,13 +20,12 @@
/* Mem setup common file for different types of DDR present on SMDK5250 boards. /* Mem setup common file for different types of DDR present on SMDK5250 boards.
*/ */
#include <console/console.h>
#include <arch/io.h> #include <arch/io.h>
#include <console/console.h>
#include <delay.h> #include <delay.h>
#include "setup.h" #include <soc/clk.h>
#include "dmc.h" #include <soc/dmc.h>
#include "clk.h" #include <soc/setup.h>
#include "setup.h"
#define ZQ_INIT_TIMEOUT 10000 #define ZQ_INIT_TIMEOUT 10000

View File

@@ -19,13 +19,13 @@
/* DDR3 mem setup file for SMDK5250 board based on EXYNOS5 */ /* DDR3 mem setup file for SMDK5250 board based on EXYNOS5 */
#include <delay.h>
#include <arch/io.h> #include <arch/io.h>
#include <console/console.h> #include <console/console.h>
#include "clk.h" #include <delay.h>
#include "cpu.h" #include <soc/clk.h>
#include "dmc.h" #include <soc/cpu.h>
#include "setup.h" #include <soc/dmc.h>
#include <soc/setup.h>
#define RDLVL_COMPLETE_TIMEOUT 10000 #define RDLVL_COMPLETE_TIMEOUT 10000

View File

@@ -19,16 +19,16 @@
/* Samsung DP (Display port) register interface driver. */ /* Samsung DP (Display port) register interface driver. */
#include <console/console.h>
#include <arch/io.h> #include <arch/io.h>
#include <console/console.h>
#include <delay.h> #include <delay.h>
#include "timer.h" #include <soc/clk.h>
#include "clk.h" #include <soc/cpu.h>
#include "cpu.h" #include <soc/dp.h>
#include "periph.h" #include <soc/dp-core.h>
#include "dp.h" #include <soc/fimd.h>
#include "fimd.h" #include <soc/periph.h>
#include "dp-core.h" #include <timer.h>
void s5p_dp_reset(struct s5p_dp_device *dp) void s5p_dp_reset(struct s5p_dp_device *dp)
{ {

View File

@@ -20,19 +20,18 @@
/* LCD driver for Exynos */ /* LCD driver for Exynos */
#include <arch/io.h>
#include <console/console.h>
#include <delay.h> #include <delay.h>
#include <soc/dp.h>
#include <soc/dp-core.h>
#include <soc/fimd.h>
#include <soc/i2c.h>
#include <soc/power.h>
#include <soc/sysreg.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <timer.h> #include <timer.h>
#include <arch/io.h>
#include <console/console.h>
#include "power.h"
#include "sysreg.h"
#include "dp.h"
#include "dp-core.h"
#include "fimd.h"
#include "i2c.h"
/* /*
* Here is the rough outline of how we bring up the display: * Here is the rough outline of how we bring up the display:

View File

@@ -17,12 +17,12 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <console/console.h>
#include <string.h>
#include <delay.h>
#include <assert.h> #include <assert.h>
#include "gpio.h" #include <console/console.h>
#include "cpu.h" #include <delay.h>
#include <soc/cpu.h>
#include <soc/gpio.h>
#include <string.h>
#define CON_MASK(x) (0xf << ((x) << 2)) #define CON_MASK(x) (0xf << ((x) << 2))
#define CON_SFR(x, v) ((v) << ((x) << 2)) #define CON_SFR(x, v) ((v) << ((x) << 2))

View File

@@ -18,14 +18,14 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <arch/io.h>
#include <assert.h> #include <assert.h>
#include <console/console.h> #include <console/console.h>
#include <delay.h> #include <delay.h>
#include <arch/io.h>
#include <device/i2c.h> #include <device/i2c.h>
#include "clk.h" #include <soc/clk.h>
#include "i2c.h" #include <soc/i2c.h>
#include "periph.h" #include <soc/periph.h>
struct __attribute__ ((packed)) i2c_regs struct __attribute__ ((packed)) i2c_regs
{ {

View File

@@ -21,10 +21,11 @@
#ifndef CPU_SAMSUNG_EXYNOS5250_CLK_H #ifndef CPU_SAMSUNG_EXYNOS5250_CLK_H
#define CPU_SAMSUNG_EXYNOS5250_CLK_H #define CPU_SAMSUNG_EXYNOS5250_CLK_H
#include <soc/cpu.h>
#include <soc/dmc.h>
#include <soc/pinmux.h>
#include <stdint.h> #include <stdint.h>
#include "cpu.h"
enum periph_id; enum periph_id;
#define APLL 0 #define APLL 0
@@ -66,9 +67,6 @@ void set_mmc_clk(int dev_index, unsigned int div);
*/ */
unsigned long clock_get_periph_rate(enum periph_id peripheral); unsigned long clock_get_periph_rate(enum periph_id peripheral);
#include "pinmux.h"
#define MCT_HZ 24000000 #define MCT_HZ 24000000
/* /*
@@ -594,8 +592,6 @@ void clock_gate(void);
void mct_start(void); void mct_start(void);
uint64_t mct_raw_value(void); uint64_t mct_raw_value(void);
#include "dmc.h"
/* These are the ratio's for configuring ARM clock */ /* These are the ratio's for configuring ARM clock */
struct arm_clk_ratios { struct arm_clk_ratios {
unsigned int arm_freq_mhz; /* Frequency of ARM core in MHz */ unsigned int arm_freq_mhz; /* Frequency of ARM core in MHz */

View File

@@ -20,7 +20,7 @@
#ifndef __ASSEMBLER__ #ifndef __ASSEMBLER__
#include "cpu.h" #include <soc/cpu.h>
struct exynos5_dmc { struct exynos5_dmc {
unsigned int concontrol; unsigned int concontrol;

View File

@@ -23,6 +23,8 @@
#ifndef CPU_SAMSUNG_EXYNOS5250_DP_H #ifndef CPU_SAMSUNG_EXYNOS5250_DP_H
#define CPU_SAMSUNG_EXYNOS5250_DP_H #define CPU_SAMSUNG_EXYNOS5250_DP_H
#include <soc/cpu.h>
/* DSIM register map */ /* DSIM register map */
struct exynos5_dp { struct exynos5_dp {
u8 res1[0x10]; u8 res1[0x10];

View File

@@ -22,7 +22,7 @@
#ifndef CPU_SAMSUNG_EXYNOS5250_FIMD_H #ifndef CPU_SAMSUNG_EXYNOS5250_FIMD_H
#define CPU_SAMSUNG_EXYNOS5250_FIMD_H #define CPU_SAMSUNG_EXYNOS5250_FIMD_H
#include "cpu.h" #include <soc/cpu.h>
/* FIMD register map */ /* FIMD register map */
struct exynos5_fimd { struct exynos5_fimd {

View File

@@ -20,7 +20,7 @@
#ifndef CPU_SAMSUNG_EXYNOS5250_GPIO_H #ifndef CPU_SAMSUNG_EXYNOS5250_GPIO_H
#define CPU_SAMSUNG_EXYNOS5250_GPIO_H #define CPU_SAMSUNG_EXYNOS5250_GPIO_H
#include "cpu.h" #include <soc/cpu.h>
struct gpio_bank { struct gpio_bank {
unsigned int con; unsigned int con;

View File

@@ -22,7 +22,7 @@
#ifndef CPU_SAMSUNG_EXYNOS5250_POWER_H #ifndef CPU_SAMSUNG_EXYNOS5250_POWER_H
#define CPU_SAMSUNG_EXYNOS5250_POWER_H #define CPU_SAMSUNG_EXYNOS5250_POWER_H
#include "cpu.h" #include <soc/cpu.h>
/* Enable HW thermal trip with PS_HOLD_CONTROL register ENABLE_HW_TRIP bit */ /* Enable HW thermal trip with PS_HOLD_CONTROL register ENABLE_HW_TRIP bit */
void power_enable_hw_thermal_trip(void); void power_enable_hw_thermal_trip(void);

View File

@@ -22,7 +22,7 @@
#ifndef CPU_SAMSUNG_EXYNOS5250_SYSREG_H #ifndef CPU_SAMSUNG_EXYNOS5250_SYSREG_H
#define CPU_SAMSUNG_EXYNOS5250_SYSREG_H #define CPU_SAMSUNG_EXYNOS5250_SYSREG_H
#include "cpu.h" #include <soc/cpu.h>
/* sysreg map */ /* sysreg map */
struct exynos5_sysreg { struct exynos5_sysreg {

View File

@@ -20,7 +20,7 @@
#ifndef CPU_SAMSUNG_EXYNOS5250_USB_H #ifndef CPU_SAMSUNG_EXYNOS5250_USB_H
#define CPU_SAMSUNG_EXYNOS5250_USB_H #define CPU_SAMSUNG_EXYNOS5250_USB_H
#include "cpu.h" #include <soc/cpu.h>
#define CLK_24MHZ 5 #define CLK_24MHZ 5

View File

@@ -17,9 +17,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <stdint.h>
#include <arch/io.h> #include <arch/io.h>
#include "clk.h" #include <soc/clk.h>
#include <stdint.h>
uint64_t mct_raw_value(void) uint64_t mct_raw_value(void)
{ {

View File

@@ -17,11 +17,10 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <soc/clk.h>
#include <stdint.h> #include <stdint.h>
#include <timer.h> #include <timer.h>
#include "clk.h"
static const uint32_t clocks_per_usec = MCT_HZ/1000000; static const uint32_t clocks_per_usec = MCT_HZ/1000000;
void timer_monotonic_get(struct mono_time *mt) void timer_monotonic_get(struct mono_time *mt)

View File

@@ -17,10 +17,10 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <console/console.h>
#include <assert.h> #include <assert.h>
#include "gpio.h" #include <console/console.h>
#include "pinmux.h" #include <soc/gpio.h>
#include <soc/pinmux.h>
static void exynos_pinmux_uart(int start, int count) static void exynos_pinmux_uart(int start, int count)
{ {

View File

@@ -22,9 +22,9 @@
#include <arch/io.h> #include <arch/io.h>
#include <console/console.h> #include <console/console.h>
#include <halt.h> #include <halt.h>
#include "dmc.h" #include <soc/dmc.h>
#include "power.h" #include <soc/power.h>
#include "setup.h" #include <soc/setup.h>
/* Set the PS-Hold drive value */ /* Set the PS-Hold drive value */
static void ps_hold_setup(void) static void ps_hold_setup(void)

View File

@@ -18,13 +18,13 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <assert.h>
#include <stdlib.h>
#include <arch/io.h> #include <arch/io.h>
#include <assert.h>
#include <console/console.h> #include <console/console.h>
#include "clk.h" #include <soc/clk.h>
#include "gpio.h" #include <soc/gpio.h>
#include "spi.h" #include <soc/spi.h>
#include <stdlib.h>
#if defined(CONFIG_DEBUG_SPI) && CONFIG_DEBUG_SPI #if defined(CONFIG_DEBUG_SPI) && CONFIG_DEBUG_SPI
# define DEBUG_SPI(x,...) printk(BIOS_DEBUG, "EXYNOS_SPI: " x) # define DEBUG_SPI(x,...) printk(BIOS_DEBUG, "EXYNOS_SPI: " x)

View File

@@ -18,10 +18,9 @@
*/ */
#include <console/console.h> #include <console/console.h>
#include <timer.h>
#include <delay.h> #include <delay.h>
#include <soc/clk.h>
#include "clk.h" #include <timer.h>
void init_timer(void) void init_timer(void)
{ {

View File

@@ -20,10 +20,10 @@
/* EXYNOS - Thermal Management Unit */ /* EXYNOS - Thermal Management Unit */
#include <console/console.h>
#include <arch/io.h> #include <arch/io.h>
#include "power.h" #include <console/console.h>
#include "tmu.h" #include <soc/power.h>
#include <soc/tmu.h>
#define TRIMINFO_RELOAD 1 #define TRIMINFO_RELOAD 1
#define CORE_EN 1 #define CORE_EN 1

View File

@@ -19,7 +19,7 @@
*/ */
#include <arch/io.h> #include <arch/io.h>
#include "trustzone.h" #include <soc/trustzone.h>
/* Setting TZPC[TrustZone Protection Controller] */ /* Setting TZPC[TrustZone Protection Controller] */
void trustzone_init(void) void trustzone_init(void)

View File

@@ -17,15 +17,14 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <types.h>
#include <console/uart.h>
#include <arch/io.h> #include <arch/io.h>
#include <boot/coreboot_tables.h> #include <boot/coreboot_tables.h>
#include "uart.h" #include <console/uart.h>
#include "clk.h" #include <soc/clk.h>
#include "cpu.h" #include <soc/cpu.h>
#include "periph.h" #include <soc/periph.h>
#include "uart.h" #include <soc/uart.h>
#include <types.h>
#define RX_FIFO_COUNT_MASK 0xff #define RX_FIFO_COUNT_MASK 0xff
#define RX_FIFO_FULL_MASK (1 << 8) #define RX_FIFO_FULL_MASK (1 << 8)

View File

@@ -18,14 +18,14 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <delay.h>
#include <arch/io.h> #include <arch/io.h>
#include <console/console.h> #include <console/console.h>
#include <delay.h>
#include <device/device.h> #include <device/device.h>
#include "gpio.h" #include <soc/gpio.h>
#include "power.h" #include <soc/power.h>
#include "sysreg.h" #include <soc/sysreg.h>
#include "usb.h" #include <soc/usb.h>
static void reset_dwc3(struct exynos5_usb_drd_dwc3 *dwc3) static void reset_dwc3(struct exynos5_usb_drd_dwc3 *dwc3)
{ {

View File

@@ -18,8 +18,8 @@
*/ */
#include <console/console.h> #include <console/console.h>
#include "power.h" #include <soc/power.h>
#include "wakeup.h" #include <soc/wakeup.h>
void wakeup(void) void wakeup(void)
{ {