exynos5420: Change all SoC headers to <soc/headername.h> system
This patch aligns exynos5420 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 Peach_Pit. Change-Id: If97b40101d3541a81bca302a9bd64b84a04ff24a Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 570ca9ed6337d622781f37184b2cd7209de0083f Original-Change-Id: I338559564e57bdc5202d34c7173ce0d075ad2afc Original-Signed-off-by: Julius Werner <jwerner@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/224501 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/9324 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:
parent
1ed0c8c0b2
commit
80af442cd2
|
@ -18,14 +18,14 @@
|
|||
*/
|
||||
|
||||
#include <boot/coreboot_tables.h>
|
||||
#include <bootmode.h>
|
||||
#include <console/console.h>
|
||||
#include <ec/google/chromeec/ec.h>
|
||||
#include <ec/google/chromeec/ec_commands.h>
|
||||
#include <soc/cpu.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <string.h>
|
||||
#include <vendorcode/google/chromeos/chromeos.h>
|
||||
#include <bootmode.h>
|
||||
#include <soc/samsung/exynos5420/cpu.h>
|
||||
#include <soc/samsung/exynos5420/gpio.h>
|
||||
|
||||
void fill_lb_gpios(struct lb_gpios *gpios)
|
||||
{
|
||||
|
|
|
@ -17,30 +17,30 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <arch/cache.h>
|
||||
#include <boot/coreboot_tables.h>
|
||||
#include <cbmem.h>
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <device/device.h>
|
||||
#include <device/i2c.h>
|
||||
#include <cbmem.h>
|
||||
#include <delay.h>
|
||||
#include <edid.h>
|
||||
#include <vbe.h>
|
||||
#include <boot/coreboot_tables.h>
|
||||
#include <arch/cache.h>
|
||||
#include <soc/samsung/exynos5420/tmu.h>
|
||||
#include <soc/samsung/exynos5420/clk.h>
|
||||
#include <soc/samsung/exynos5420/cpu.h>
|
||||
#include <soc/samsung/exynos5420/gpio.h>
|
||||
#include <soc/samsung/exynos5420/power.h>
|
||||
#include <soc/samsung/exynos5420/periph.h>
|
||||
#include <soc/samsung/exynos5420/i2c.h>
|
||||
#include <soc/samsung/exynos5420/dp.h>
|
||||
#include <soc/samsung/exynos5420/fimd.h>
|
||||
#include <soc/samsung/exynos5420/usb.h>
|
||||
#include <drivers/parade/ps8625/ps8625.h>
|
||||
#include <ec/google/chromeec/ec.h>
|
||||
#include <edid.h>
|
||||
#include <soc/tmu.h>
|
||||
#include <soc/clk.h>
|
||||
#include <soc/cpu.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <soc/power.h>
|
||||
#include <soc/periph.h>
|
||||
#include <soc/i2c.h>
|
||||
#include <soc/dp.h>
|
||||
#include <soc/fimd.h>
|
||||
#include <soc/usb.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <symbols.h>
|
||||
#include <vbe.h>
|
||||
|
||||
/* convenient shorthand (in MB) */
|
||||
#define DRAM_START ((uintptr_t)_dram/MiB)
|
||||
|
|
|
@ -1 +1 @@
|
|||
#include <soc/samsung/exynos5420/memlayout.ld>
|
||||
#include <soc/memlayout.ld>
|
||||
|
|
|
@ -18,14 +18,13 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <console/console.h>
|
||||
#include <soc/clk.h>
|
||||
#include <soc/dmc.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <soc/setup.h>
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
#include <console/console.h>
|
||||
|
||||
#include <soc/samsung/exynos5420/gpio.h>
|
||||
#include <soc/samsung/exynos5420/dmc.h>
|
||||
#include <soc/samsung/exynos5420/setup.h>
|
||||
#include <soc/samsung/exynos5420/clk.h>
|
||||
|
||||
const struct mem_timings mem_timings = {
|
||||
.mem_manuf = MEM_MANUF_SAMSUNG,
|
||||
|
|
|
@ -17,31 +17,29 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <types.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <arch/cache.h>
|
||||
#include <arch/exception.h>
|
||||
#include <arch/stages.h>
|
||||
#include <armv7.h>
|
||||
#include <cbfs.h>
|
||||
#include <cbmem.h>
|
||||
#include <timestamp.h>
|
||||
|
||||
#include <arch/cache.h>
|
||||
#include <arch/exception.h>
|
||||
#include <soc/samsung/exynos5420/i2c.h>
|
||||
#include <soc/samsung/exynos5420/clk.h>
|
||||
#include <soc/samsung/exynos5420/cpu.h>
|
||||
#include <soc/samsung/exynos5420/dmc.h>
|
||||
#include <soc/samsung/exynos5420/gpio.h>
|
||||
#include <soc/samsung/exynos5420/setup.h>
|
||||
#include <soc/samsung/exynos5420/periph.h>
|
||||
#include <soc/samsung/exynos5420/power.h>
|
||||
#include <soc/samsung/exynos5420/trustzone.h>
|
||||
#include <soc/samsung/exynos5420/wakeup.h>
|
||||
#include <console/console.h>
|
||||
#include <program_loading.h>
|
||||
|
||||
#include <drivers/maxim/max77802/max77802.h>
|
||||
#include <device/i2c.h>
|
||||
#include <drivers/maxim/max77802/max77802.h>
|
||||
#include <program_loading.h>
|
||||
#include <soc/clk.h>
|
||||
#include <soc/cpu.h>
|
||||
#include <soc/dmc.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <soc/i2c.h>
|
||||
#include <soc/periph.h>
|
||||
#include <soc/power.h>
|
||||
#include <soc/setup.h>
|
||||
#include <soc/trustzone.h>
|
||||
#include <soc/wakeup.h>
|
||||
#include <stdlib.h>
|
||||
#include <timestamp.h>
|
||||
#include <types.h>
|
||||
|
||||
#define PMIC_I2C_BUS 4
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <soc/samsung/exynos5420/gpio.h>
|
||||
#include <soc/samsung/exynos5420/wakeup.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <soc/wakeup.h>
|
||||
|
||||
int wakeup_need_reset(void)
|
||||
{
|
||||
|
|
|
@ -51,6 +51,8 @@ ramstage-y += cbmem.c
|
|||
rmodules_$(ARCH-romstage-y)-y += monotonic_timer.c
|
||||
rmodules_$(ARCH-romstage-y)-y += mct.c
|
||||
|
||||
CPPFLAGS_common += -Isrc/soc/samsung/exynos5420/include/
|
||||
|
||||
$(objcbfs)/bootblock.raw.elf: $(objcbfs)/bootblock.elf
|
||||
cp $< $@
|
||||
|
||||
|
|
|
@ -18,16 +18,16 @@
|
|||
*/
|
||||
|
||||
|
||||
#include <arch/cache.h>
|
||||
#include <assert.h>
|
||||
#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 <string.h>
|
||||
#include <symbols.h>
|
||||
#include <arch/cache.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:
|
||||
* The first two are the bare BL1 and the Coreboot boot block, which are just
|
||||
|
|
|
@ -17,12 +17,11 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <bootblock_common.h>
|
||||
#include <arch/cache.h>
|
||||
|
||||
#include "clk.h"
|
||||
#include "wakeup.h"
|
||||
#include "cpu.h"
|
||||
#include <bootblock_common.h>
|
||||
#include <soc/clk.h>
|
||||
#include <soc/wakeup.h>
|
||||
#include <soc/cpu.h>
|
||||
|
||||
/* convenient shorthand (in MB) */
|
||||
#define SRAM_START (EXYNOS5_SRAM_BASE >> 20)
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
#include <cbmem.h>
|
||||
#include "cpu.h"
|
||||
#include <soc/cpu.h>
|
||||
#include <stddef.h>
|
||||
|
||||
void *cbmem_top(void)
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#ifndef CPU_SAMSUNG_EXYNOS5420_H
|
||||
#define CPU_SAMSUNG_EXYNOS5420_H
|
||||
|
||||
#include "gpio.h"
|
||||
#include <soc/gpio.h>
|
||||
|
||||
struct soc_samsung_exynos5420_config {
|
||||
/* special magic numbers! */
|
||||
|
|
|
@ -17,13 +17,13 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <assert.h>
|
||||
#include <console/console.h>
|
||||
#include <soc/clk.h>
|
||||
#include <soc/periph.h>
|
||||
#include <stdlib.h>
|
||||
#include <timer.h>
|
||||
#include <arch/io.h>
|
||||
#include <console/console.h>
|
||||
#include "clk.h"
|
||||
#include "periph.h"
|
||||
|
||||
/* input clock of PLL: SMDK5420 has 24MHz input clock */
|
||||
#define CONFIG_SYS_CLK_FREQ 24000000
|
||||
|
|
|
@ -19,13 +19,13 @@
|
|||
|
||||
/* Clock setup for SMDK5420 board based on EXYNOS5 */
|
||||
|
||||
#include <delay.h>
|
||||
#include <console/console.h>
|
||||
#include "clk.h"
|
||||
#include "cpu.h"
|
||||
#include "dp.h"
|
||||
#include "dmc.h"
|
||||
#include "setup.h"
|
||||
#include <delay.h>
|
||||
#include <soc/clk.h>
|
||||
#include <soc/cpu.h>
|
||||
#include <soc/dp.h>
|
||||
#include <soc/dmc.h>
|
||||
#include <soc/setup.h>
|
||||
|
||||
void system_clock_init(void)
|
||||
{
|
||||
|
|
|
@ -18,21 +18,21 @@
|
|||
* 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 <ec/google/chromeec/ec.h>
|
||||
#include <soc/dp.h>
|
||||
#include <soc/fimd.h>
|
||||
#include <soc/cpu.h>
|
||||
#include <soc/clk.h>
|
||||
#include <stddef.h>
|
||||
#include <stdlib.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 "dp.h"
|
||||
#include "fimd.h"
|
||||
#include "cpu.h"
|
||||
#include "clk.h"
|
||||
#include "chip.h"
|
||||
|
||||
#include <ec/google/chromeec/ec.h>
|
||||
#include "chip.h"
|
||||
|
||||
static unsigned int cpu_id;
|
||||
static unsigned int cpu_rev;
|
||||
|
|
|
@ -20,12 +20,12 @@
|
|||
/* Mem setup common file for different types of DDR present on SMDK5420 boards.
|
||||
*/
|
||||
|
||||
#include <console/console.h>
|
||||
#include <arch/io.h>
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include "dmc.h"
|
||||
#include "setup.h"
|
||||
#include "clk.h"
|
||||
#include <soc/clk.h>
|
||||
#include <soc/dmc.h>
|
||||
#include <soc/setup.h>
|
||||
|
||||
#define ZQ_INIT_TIMEOUT 10000
|
||||
|
||||
|
|
|
@ -24,13 +24,13 @@
|
|||
* MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include <delay.h>
|
||||
#include <arch/io.h>
|
||||
#include <console/console.h>
|
||||
#include "clk.h"
|
||||
#include "dmc.h"
|
||||
#include "power.h"
|
||||
#include "setup.h"
|
||||
#include <delay.h>
|
||||
#include <soc/clk.h>
|
||||
#include <soc/dmc.h>
|
||||
#include <soc/power.h>
|
||||
#include <soc/setup.h>
|
||||
|
||||
#define TIMEOUT 10000
|
||||
|
||||
|
|
|
@ -20,19 +20,17 @@
|
|||
*/
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <lib.h>
|
||||
#include <soc/dp.h>
|
||||
#include <soc/fimd.h>
|
||||
#include <soc/i2c.h>
|
||||
#include <soc/power.h>
|
||||
#include <soc/sysreg.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <timer.h>
|
||||
#include <delay.h>
|
||||
#include <console/console.h>
|
||||
#include <lib.h>
|
||||
#include "timer.h"
|
||||
#include "power.h"
|
||||
#include "sysreg.h"
|
||||
|
||||
#include "dp.h"
|
||||
#include "fimd.h"
|
||||
#include "i2c.h"
|
||||
|
||||
/*
|
||||
* Here is the rough outline of how we bring up the display:
|
||||
|
|
|
@ -19,18 +19,17 @@
|
|||
* MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <soc/dp.h>
|
||||
#include <soc/fimd.h>
|
||||
#include <soc/i2c.h>
|
||||
#include <soc/power.h>
|
||||
#include <soc/sysreg.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <timer.h>
|
||||
#include <arch/io.h>
|
||||
#include <console/console.h>
|
||||
#include "dp.h"
|
||||
#include "fimd.h"
|
||||
#include "i2c.h"
|
||||
#include "power.h"
|
||||
#include "sysreg.h"
|
||||
#include "timer.h"
|
||||
|
||||
/* FIXME: I think the DP controller shouldn't be hardcoded here... */
|
||||
static struct exynos_dp * const dp_regs = (void *)EXYNOS5_DP1_BASE;
|
||||
|
|
|
@ -20,15 +20,15 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <delay.h>
|
||||
#include <arch/io.h>
|
||||
#include <console/console.h>
|
||||
#include "clk.h"
|
||||
#include "dp.h"
|
||||
#include "fimd.h"
|
||||
#include "periph.h"
|
||||
#include "sysreg.h"
|
||||
#include "timer.h"
|
||||
#include <delay.h>
|
||||
#include <soc/clk.h>
|
||||
#include <soc/dp.h>
|
||||
#include <soc/fimd.h>
|
||||
#include <soc/periph.h>
|
||||
#include <soc/sysreg.h>
|
||||
#include <timer.h>
|
||||
|
||||
/* fairly useful debugging stuff. */
|
||||
#if 0
|
||||
|
|
|
@ -17,12 +17,12 @@
|
|||
* 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 "gpio.h"
|
||||
#include "cpu.h"
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <soc/cpu.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <string.h>
|
||||
|
||||
#define CON_MASK(x) (0xf << ((x) << 2))
|
||||
#define CON_SFR(x, v) ((v) << ((x) << 2))
|
||||
|
|
|
@ -23,12 +23,12 @@
|
|||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <device/i2c.h>
|
||||
#include <timer.h>
|
||||
#include <soc/clk.h>
|
||||
#include <soc/i2c.h>
|
||||
#include <soc/periph.h>
|
||||
#include <soc/pinmux.h>
|
||||
#include <stddef.h>
|
||||
#include "clk.h"
|
||||
#include "i2c.h"
|
||||
#include "periph.h"
|
||||
#include "pinmux.h"
|
||||
#include <timer.h>
|
||||
|
||||
struct __attribute__ ((packed)) i2c_regs
|
||||
{
|
||||
|
|
|
@ -21,10 +21,11 @@
|
|||
#ifndef CPU_SAMSUNG_EXYNOS5420_CLK_H
|
||||
#define CPU_SAMSUNG_EXYNOS5420_CLK_H
|
||||
|
||||
#include <soc/cpu.h>
|
||||
#include <soc/dmc.h>
|
||||
#include <soc/pinmux.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "cpu.h"
|
||||
|
||||
enum periph_id;
|
||||
|
||||
/* This master list of PLLs is ordered arbitrarily. */
|
||||
|
@ -55,9 +56,6 @@ void set_mmc_clk(int dev_index, unsigned int div);
|
|||
*/
|
||||
unsigned long clock_get_periph_rate(enum periph_id peripheral);
|
||||
|
||||
#include "pinmux.h"
|
||||
|
||||
|
||||
#define MCT_HZ 24000000
|
||||
|
||||
/*
|
||||
|
@ -730,8 +728,6 @@ void clock_gate(void);
|
|||
void mct_start(void);
|
||||
uint64_t mct_raw_value(void);
|
||||
|
||||
#include "dmc.h"
|
||||
|
||||
/* These are the ratio's for configuring ARM clock */
|
||||
struct arm_clk_ratios {
|
||||
unsigned int arm_freq_mhz; /* Frequency of ARM core in MHz */
|
|
@ -72,7 +72,7 @@
|
|||
|
||||
#ifndef __ASSEMBLER__
|
||||
|
||||
#include "cpu.h"
|
||||
#include <soc/cpu.h>
|
||||
|
||||
struct exynos5_dmc {
|
||||
uint32_t concontrol;
|
|
@ -23,7 +23,7 @@
|
|||
#ifndef CPU_SAMSUNG_EXYNOS5420_DP_H
|
||||
#define CPU_SAMSUNG_EXYNOS5420_DP_H
|
||||
|
||||
#include "cpu.h"
|
||||
#include <soc/cpu.h>
|
||||
|
||||
/* DSIM register map */
|
||||
struct exynos_dp {
|
|
@ -22,7 +22,7 @@
|
|||
#ifndef CPU_SAMSUNG_EXYNOS5420_FIMD_H
|
||||
#define CPU_SAMSUNG_EXYNOS5420_FIMD_H
|
||||
|
||||
#include "cpu.h"
|
||||
#include <soc/cpu.h>
|
||||
|
||||
/* FIMD register map */
|
||||
struct exynos5_fimd {
|
|
@ -20,7 +20,7 @@
|
|||
#ifndef CPU_SAMSUNG_EXYNOS5420_GPIO_H
|
||||
#define CPU_SAMSUNG_EXYNOS5420_GPIO_H
|
||||
|
||||
#include "cpu.h"
|
||||
#include <soc/cpu.h>
|
||||
|
||||
struct gpio_bank {
|
||||
unsigned int con;
|
|
@ -22,7 +22,7 @@
|
|||
#ifndef CPU_SAMSUNG_EXYNOS5420_POWER_H
|
||||
#define CPU_SAMSUNG_EXYNOS5420_POWER_H
|
||||
|
||||
#include "cpu.h"
|
||||
#include <soc/cpu.h>
|
||||
|
||||
/* Enable HW thermal trip with PS_HOLD_CONTROL register ENABLE_HW_TRIP bit */
|
||||
void power_enable_hw_thermal_trip(void);
|
|
@ -22,7 +22,7 @@
|
|||
#ifndef CPU_SAMSUNG_EXYNOS5420_SYSREG_H
|
||||
#define CPU_SAMSUNG_EXYNOS5420_SYSREG_H
|
||||
|
||||
#include "cpu.h"
|
||||
#include <soc/cpu.h>
|
||||
|
||||
/* sysreg map */
|
||||
struct exynos5_sysreg {
|
|
@ -20,7 +20,7 @@
|
|||
#ifndef CPU_SAMSUNG_EXYNOS5420_USB_H
|
||||
#define CPU_SAMSUNG_EXYNOS5420_USB_H
|
||||
|
||||
#include "cpu.h"
|
||||
#include <soc/cpu.h>
|
||||
|
||||
#define CLK_24MHZ 5
|
||||
|
|
@ -17,9 +17,9 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <arch/io.h>
|
||||
#include "clk.h"
|
||||
#include <soc/clk.h>
|
||||
#include <stdint.h>
|
||||
|
||||
uint64_t mct_raw_value(void)
|
||||
{
|
||||
|
|
|
@ -17,11 +17,10 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <soc/clk.h>
|
||||
#include <stdint.h>
|
||||
#include <timer.h>
|
||||
|
||||
#include "clk.h"
|
||||
|
||||
static const uint32_t clocks_per_usec = MCT_HZ/1000000;
|
||||
|
||||
void timer_monotonic_get(struct mono_time *mt)
|
||||
|
|
|
@ -17,11 +17,11 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <console/console.h>
|
||||
#include <assert.h>
|
||||
#include <console/console.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <soc/pinmux.h>
|
||||
#include <stdlib.h>
|
||||
#include "gpio.h"
|
||||
#include "pinmux.h"
|
||||
|
||||
static void exynos_pinmux_uart(int start, int count)
|
||||
{
|
||||
|
|
|
@ -22,9 +22,9 @@
|
|||
#include <arch/io.h>
|
||||
#include <console/console.h>
|
||||
#include <halt.h>
|
||||
#include "dmc.h"
|
||||
#include "power.h"
|
||||
#include "setup.h"
|
||||
#include <soc/dmc.h>
|
||||
#include <soc/power.h>
|
||||
#include <soc/setup.h>
|
||||
|
||||
/* Set the PS-Hold drive value */
|
||||
static void ps_hold_setup(void)
|
||||
|
|
|
@ -18,14 +18,13 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <arch/cpu.h>
|
||||
#include <arch/io.h>
|
||||
#include <soc/cpu.h>
|
||||
#include <soc/power.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <types.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <arch/io.h>
|
||||
|
||||
#include "cpu.h"
|
||||
#include "power.h"
|
||||
|
||||
/* ACTLR, L2CTLR L2ACTLR constants used in SMP core power up. */
|
||||
|
||||
|
|
|
@ -18,16 +18,15 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <console/console.h>
|
||||
#include <arch/io.h>
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
#include <console/console.h>
|
||||
#include <soc/cpu.h>
|
||||
#include <soc/spi.h>
|
||||
#include <spi_flash.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "cpu.h"
|
||||
#include "spi.h"
|
||||
|
||||
#define EXYNOS_SPI_MAX_TRANSFER_BYTES (65535)
|
||||
|
||||
#if defined(CONFIG_DEBUG_SPI) && CONFIG_DEBUG_SPI
|
||||
|
|
|
@ -18,10 +18,10 @@
|
|||
*/
|
||||
|
||||
#include <console/console.h>
|
||||
#include <timer.h>
|
||||
#include <delay.h>
|
||||
#include <soc/clk.h>
|
||||
#include <thread.h>
|
||||
#include "clk.h"
|
||||
#include <timer.h>
|
||||
|
||||
void init_timer(void)
|
||||
{
|
||||
|
|
|
@ -20,10 +20,10 @@
|
|||
|
||||
/* EXYNOS - Thermal Management Unit */
|
||||
|
||||
#include <console/console.h>
|
||||
#include <arch/io.h>
|
||||
#include "power.h"
|
||||
#include "tmu.h"
|
||||
#include <console/console.h>
|
||||
#include <soc/power.h>
|
||||
#include <soc/tmu.h>
|
||||
|
||||
#define TRIMINFO_RELOAD 1
|
||||
#define CORE_EN 1
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
*/
|
||||
|
||||
#include <arch/io.h>
|
||||
#include "trustzone.h"
|
||||
#include <soc/trustzone.h>
|
||||
|
||||
/* Setting TZPC[TrustZone Protection Controller]
|
||||
* We pretty much disable it all, as the kernel
|
||||
|
|
|
@ -17,15 +17,14 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <types.h>
|
||||
#include <console/uart.h>
|
||||
#include <arch/io.h>
|
||||
#include <boot/coreboot_tables.h>
|
||||
#include "uart.h"
|
||||
#include "clk.h"
|
||||
#include "cpu.h"
|
||||
#include "periph.h"
|
||||
#include "uart.h"
|
||||
#include <console/uart.h>
|
||||
#include <soc/clk.h>
|
||||
#include <soc/cpu.h>
|
||||
#include <soc/periph.h>
|
||||
#include <soc/uart.h>
|
||||
#include <types.h>
|
||||
|
||||
#define RX_FIFO_COUNT_MASK 0xff
|
||||
#define RX_FIFO_FULL_MASK (1 << 8)
|
||||
|
|
|
@ -18,14 +18,14 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <delay.h>
|
||||
#include <arch/io.h>
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <device/device.h>
|
||||
#include "gpio.h"
|
||||
#include "power.h"
|
||||
#include "sysreg.h"
|
||||
#include "usb.h"
|
||||
#include <soc/gpio.h>
|
||||
#include <soc/power.h>
|
||||
#include <soc/sysreg.h>
|
||||
#include <soc/usb.h>
|
||||
|
||||
static void reset_dwc3(struct exynos5_usb_drd_dwc3 *dwc3)
|
||||
{
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
|
||||
#include <arch/cache.h>
|
||||
#include <console/console.h>
|
||||
#include "power.h"
|
||||
#include "wakeup.h"
|
||||
#include <soc/power.h>
|
||||
#include <soc/wakeup.h>
|
||||
|
||||
void wakeup(void)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue