mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 15:37:23 +00:00
Merge branch '2019-08-11-master-imports'
- environment cleanup - HiKey 960 support - Some PCI fixes
This commit is contained in:
commit
5939afc961
519 changed files with 4986 additions and 1570 deletions
22
MAINTAINERS
22
MAINTAINERS
|
@ -50,6 +50,26 @@ so much easier [Ed]
|
|||
Maintainers List (try to look for most precise areas first)
|
||||
|
||||
-----------------------------------
|
||||
ANDROID AB
|
||||
M: Igor Opaniuk <igor.opaniuk@gmail.com>
|
||||
R: Sam Protsenko <semen.protsenko@linaro.org>
|
||||
S: Maintained
|
||||
F: cmd/ab_select.c
|
||||
F: common/android_ab.c
|
||||
F: doc/android/ab.txt
|
||||
F: include/android_ab.h
|
||||
F: test/py/tests/test_android/test_ab.py
|
||||
|
||||
ANDROID AVB
|
||||
M: Igor Opaniuk <igor.opaniuk@gmail.com>
|
||||
S: Maintained
|
||||
F: cmd/avb.c
|
||||
F: common/avb_verify.c
|
||||
F: doc/android/avb2.txt
|
||||
F: include/avb_verify.h
|
||||
F: lib/libavb/
|
||||
F: test/py/tests/test_android/test_avb.py
|
||||
|
||||
ARC
|
||||
M: Alexey Brodkin <alexey.brodkin@synopsys.com>
|
||||
M: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
|
||||
|
@ -168,9 +188,11 @@ F: board/freescale/*mx*/
|
|||
|
||||
ARM HISILICON
|
||||
M: Peter Griffin <peter.griffin@linaro.org>
|
||||
M: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
|
||||
S: Maintained
|
||||
F: arch/arm/cpu/armv8/hisilicon
|
||||
F: arch/arm/include/asm/arch-hi6220/
|
||||
F: arch/arm/include/asm/arch-hi3660/
|
||||
|
||||
ARM MARVELL KIRKWOOD ARMADA-XP ARMADA-38X ARMADA-37XX ARMADA-7K/8K
|
||||
M: Stefan Roese <sr@denx.de>
|
||||
|
|
2
README
2
README
|
@ -83,7 +83,7 @@ Where we come from:
|
|||
* Provide extended interface to Linux boot loader
|
||||
* S-Record download
|
||||
* network boot
|
||||
* PCMCIA / CompactFlash / ATA disk / SCSI ... boot
|
||||
* ATA disk / SCSI ... boot
|
||||
- create ARMBoot project (http://sourceforge.net/projects/armboot)
|
||||
- add other CPU families (starting with ARM)
|
||||
- create U-Boot project (http://sourceforge.net/projects/u-boot)
|
||||
|
|
|
@ -8,8 +8,9 @@
|
|||
#include <config.h>
|
||||
#include <command.h>
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <malloc.h>
|
||||
#include <environment.h>
|
||||
#include <env_internal.h>
|
||||
#include <linux/types.h>
|
||||
#include <api_public.h>
|
||||
|
||||
|
@ -496,7 +497,7 @@ static int API_env_enum(va_list ap)
|
|||
{
|
||||
int i, buflen;
|
||||
char *last, **next, *s;
|
||||
ENTRY *match, search;
|
||||
struct env_entry *match, search;
|
||||
static char *var;
|
||||
|
||||
last = (char *)va_arg(ap, unsigned long);
|
||||
|
@ -513,7 +514,7 @@ static int API_env_enum(va_list ap)
|
|||
if (s != NULL)
|
||||
*s = 0;
|
||||
search.key = var;
|
||||
i = hsearch_r(search, FIND, &match, &env_htab, 0);
|
||||
i = hsearch_r(search, ENV_FIND, &match, &env_htab, 0);
|
||||
if (i == 0) {
|
||||
i = API_EINVAL;
|
||||
goto done;
|
||||
|
|
|
@ -1209,6 +1209,18 @@ config TARGET_HIKEY
|
|||
Support for HiKey 96boards platform. It features a HI6220
|
||||
SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM.
|
||||
|
||||
config TARGET_HIKEY960
|
||||
bool "Support HiKey960 96boards Consumer Edition Platform"
|
||||
select ARM64
|
||||
select DM
|
||||
select DM_SERIAL
|
||||
select OF_CONTROL
|
||||
select PL01X_SERIAL
|
||||
imply CMD_DM
|
||||
help
|
||||
Support for HiKey960 96boards platform. It features a HI3660
|
||||
SoC, with 4xA73 CPU, 4xA53 CPU, MALI-G71 GPU, and 3GB RAM.
|
||||
|
||||
config TARGET_POPLAR
|
||||
bool "Support Poplar 96boards Enterprise Edition Platform"
|
||||
select ARM64
|
||||
|
@ -1778,6 +1790,7 @@ source "board/grinn/chiliboard/Kconfig"
|
|||
source "board/gumstix/pepper/Kconfig"
|
||||
source "board/h2200/Kconfig"
|
||||
source "board/hisilicon/hikey/Kconfig"
|
||||
source "board/hisilicon/hikey960/Kconfig"
|
||||
source "board/hisilicon/poplar/Kconfig"
|
||||
source "board/isee/igep003x/Kconfig"
|
||||
source "board/phytec/pcm051/Kconfig"
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <environment.h>
|
||||
#include <env.h>
|
||||
#include <i2c.h>
|
||||
#include <net.h>
|
||||
#include <linux/mtd/st_smi.h>
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/crm_regs.h>
|
||||
#include <asm/mach-imx/sys_proto.h>
|
||||
#include <env.h>
|
||||
#include <netdev.h>
|
||||
#ifdef CONFIG_FSL_ESDHC_IMX
|
||||
#include <fsl_esdhc_imx.h>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <fsl_ddr_sdram.h>
|
||||
#include <asm/io.h>
|
||||
#include <linux/errno.h>
|
||||
|
@ -32,7 +33,7 @@
|
|||
#include <fsl_qbman.h>
|
||||
|
||||
#ifdef CONFIG_TFABOOT
|
||||
#include <environment.h>
|
||||
#include <env_internal.h>
|
||||
#ifdef CONFIG_CHAIN_OF_TRUST
|
||||
#include <fsl_validate.h>
|
||||
#endif
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <fsl_immap.h>
|
||||
#include <fsl_ifc.h>
|
||||
#include <asm/arch/fsl_serdes.h>
|
||||
|
@ -26,7 +27,7 @@
|
|||
#endif
|
||||
#include <fsl_immap.h>
|
||||
#ifdef CONFIG_TFABOOT
|
||||
#include <environment.h>
|
||||
#include <env_internal.h>
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
#endif
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <spl.h>
|
||||
#include <asm/io.h>
|
||||
#include <fsl_ifc.h>
|
||||
|
|
|
@ -15,6 +15,7 @@ dtb-$(CONFIG_EXYNOS4) += exynos4210-origen.dtb \
|
|||
exynos4412-odroid.dtb
|
||||
|
||||
dtb-$(CONFIG_TARGET_HIKEY) += hi6220-hikey.dtb
|
||||
dtb-$(CONFIG_TARGET_HIKEY960) += hi3660-hikey960.dtb
|
||||
|
||||
dtb-$(CONFIG_TARGET_POPLAR) += hi3798cv200-poplar.dtb
|
||||
|
||||
|
|
10
arch/arm/dts/hi3660-hikey960-u-boot.dtsi
Normal file
10
arch/arm/dts/hi3660-hikey960-u-boot.dtsi
Normal file
|
@ -0,0 +1,10 @@
|
|||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* U-Boot additions
|
||||
*
|
||||
* Copyright (c) 2019 Linaro Ltd.
|
||||
*/
|
||||
|
||||
&dwmmc1 {
|
||||
u-boot,dm-pre-reloc;
|
||||
};
|
607
arch/arm/dts/hi3660-hikey960.dts
Normal file
607
arch/arm/dts/hi3660-hikey960.dts
Normal file
|
@ -0,0 +1,607 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/*
|
||||
* dts file for Hisilicon HiKey960 Development Board
|
||||
*
|
||||
* Copyright (C) 2016, Hisilicon Ltd.
|
||||
*
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "hi3660.dtsi"
|
||||
#include "hikey960-pinctrl.dtsi"
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/input/input.h>
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
|
||||
/ {
|
||||
model = "HiKey960";
|
||||
compatible = "hisilicon,hi3660-hikey960", "hisilicon,hi3660";
|
||||
|
||||
aliases {
|
||||
mshc1 = &dwmmc1;
|
||||
mshc2 = &dwmmc2;
|
||||
serial0 = &uart0;
|
||||
serial1 = &uart1;
|
||||
serial2 = &uart2;
|
||||
serial3 = &uart3;
|
||||
serial4 = &uart4;
|
||||
serial5 = &uart5;
|
||||
serial6 = &uart6;
|
||||
};
|
||||
|
||||
chosen {
|
||||
stdout-path = "serial6:115200n8";
|
||||
};
|
||||
|
||||
memory@0 {
|
||||
device_type = "memory";
|
||||
/* rewrite this at bootloader */
|
||||
reg = <0x0 0x0 0x0 0x0>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
ranges;
|
||||
|
||||
ramoops@32000000 {
|
||||
compatible = "ramoops";
|
||||
reg = <0x0 0x32000000 0x0 0x00100000>;
|
||||
record-size = <0x00020000>;
|
||||
console-size = <0x00020000>;
|
||||
ftrace-size = <0x00020000>;
|
||||
};
|
||||
};
|
||||
|
||||
reboot-mode-syscon@32100000 {
|
||||
compatible = "syscon", "simple-mfd";
|
||||
reg = <0x0 0x32100000 0x0 0x00001000>;
|
||||
|
||||
reboot-mode {
|
||||
compatible = "syscon-reboot-mode";
|
||||
offset = <0x0>;
|
||||
|
||||
mode-normal = <0x77665501>;
|
||||
mode-bootloader = <0x77665500>;
|
||||
mode-recovery = <0x77665502>;
|
||||
};
|
||||
};
|
||||
|
||||
keys {
|
||||
compatible = "gpio-keys";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pwr_key_pmx_func &pwr_key_cfg_func>;
|
||||
|
||||
power {
|
||||
wakeup-source;
|
||||
gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
|
||||
label = "GPIO Power";
|
||||
linux,code = <KEY_POWER>;
|
||||
};
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
user_led1 {
|
||||
label = "green:user1";
|
||||
/* gpio_150_user_led1 */
|
||||
gpios = <&gpio18 6 0>;
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
|
||||
user_led2 {
|
||||
label = "green:user2";
|
||||
/* gpio_151_user_led2 */
|
||||
gpios = <&gpio18 7 0>;
|
||||
linux,default-trigger = "none";
|
||||
};
|
||||
|
||||
user_led3 {
|
||||
label = "green:user3";
|
||||
/* gpio_189_user_led3 */
|
||||
gpios = <&gpio23 5 0>;
|
||||
linux,default-trigger = "mmc0";
|
||||
};
|
||||
|
||||
user_led4 {
|
||||
label = "green:user4";
|
||||
/* gpio_190_user_led4 */
|
||||
gpios = <&gpio23 6 0>;
|
||||
panic-indicator;
|
||||
linux,default-trigger = "none";
|
||||
};
|
||||
|
||||
wlan_active_led {
|
||||
label = "yellow:wlan";
|
||||
/* gpio_205_wifi_active */
|
||||
gpios = <&gpio25 5 0>;
|
||||
linux,default-trigger = "phy0tx";
|
||||
default-state = "off";
|
||||
};
|
||||
|
||||
bt_active_led {
|
||||
label = "blue:bt";
|
||||
gpios = <&gpio25 7 0>;
|
||||
/* gpio_207_user_led1 */
|
||||
linux,default-trigger = "hci0-power";
|
||||
default-state = "off";
|
||||
};
|
||||
};
|
||||
|
||||
pmic: pmic@fff34000 {
|
||||
compatible = "hisilicon,hi6421v530-pmic";
|
||||
reg = <0x0 0xfff34000 0x0 0x1000>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
|
||||
regulators {
|
||||
ldo3: LDO3 { /* HDMI */
|
||||
regulator-name = "VOUT3_1V85";
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <2200000>;
|
||||
regulator-enable-ramp-delay = <120>;
|
||||
};
|
||||
|
||||
ldo9: LDO9 { /* SDCARD I/O */
|
||||
regulator-name = "VOUT9_1V8_2V95";
|
||||
regulator-min-microvolt = <1750000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
regulator-enable-ramp-delay = <240>;
|
||||
};
|
||||
|
||||
ldo11: LDO11 { /* Low Speed Connector */
|
||||
regulator-name = "VOUT11_1V8_2V95";
|
||||
regulator-min-microvolt = <1750000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
regulator-enable-ramp-delay = <240>;
|
||||
};
|
||||
|
||||
ldo15: LDO15 { /* UFS VCC */
|
||||
regulator-name = "VOUT15_3V0";
|
||||
regulator-min-microvolt = <1750000>;
|
||||
regulator-max-microvolt = <3000000>;
|
||||
regulator-boot-on;
|
||||
regulator-always-on;
|
||||
regulator-enable-ramp-delay = <120>;
|
||||
};
|
||||
|
||||
ldo16: LDO16 { /* SD VDD */
|
||||
regulator-name = "VOUT16_2V95";
|
||||
regulator-min-microvolt = <1750000>;
|
||||
regulator-max-microvolt = <3000000>;
|
||||
regulator-enable-ramp-delay = <360>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
wlan_en: wlan-en-1-8v {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "wlan-en-regulator";
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
|
||||
/* GPIO_051_WIFI_EN */
|
||||
gpio = <&gpio6 3 0>;
|
||||
|
||||
/* WLAN card specific delay */
|
||||
startup-delay-us = <70000>;
|
||||
enable-active-high;
|
||||
};
|
||||
|
||||
firmware {
|
||||
optee {
|
||||
compatible = "linaro,optee-tz";
|
||||
method = "smc";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
* Legend: proper name = the GPIO line is used as GPIO
|
||||
* NC = not connected (pin out but not routed from the chip to
|
||||
* anything the board)
|
||||
* "[PER]" = pin is muxed for [peripheral] (not GPIO)
|
||||
* "" = no idea, schematic doesn't say, could be
|
||||
* unrouted (not connected to any external pin)
|
||||
* LSEC = Low Speed External Connector
|
||||
* HSEC = High Speed External Connector
|
||||
*
|
||||
* Line names are taken from "HiKey 960 Board ver A" schematics
|
||||
* from Huawei. The 40 pin low speed expansion connector is named
|
||||
* J2002 63453-140LF.
|
||||
*
|
||||
* For the lines routed to the external connectors the
|
||||
* lines are named after the 96Boards CE Specification 1.0,
|
||||
* Appendix "Expansion Connector Signal Description".
|
||||
*
|
||||
* When the 96Board naming of a line and the schematic name of
|
||||
* the same line are in conflict, the 96Board specification
|
||||
* takes precedence, which means that the external UART on the
|
||||
* LSEC is named UART0 while the schematic and SoC names this
|
||||
* UART3. This is only for the informational lines i.e. "[FOO]",
|
||||
* the GPIO named lines "GPIO-A" thru "GPIO-L" are the only
|
||||
* ones actually used for GPIO.
|
||||
*/
|
||||
&gpio0 {
|
||||
/* GPIO_000-GPIO_007 */
|
||||
gpio-line-names =
|
||||
"",
|
||||
"TP901", /* TEST_MODE connected to TP901 */
|
||||
"[PMU0_SSI]",
|
||||
"[PMU1_SSI]",
|
||||
"[PMU2_SSI]",
|
||||
"[PMU0_CLKOUT]",
|
||||
"[JTAG_TCK]",
|
||||
"[JTAG_TMS]";
|
||||
};
|
||||
|
||||
&gpio1 {
|
||||
/* GPIO_008-GPIO_015 */
|
||||
gpio-line-names =
|
||||
"[JTAG_TRST_N]",
|
||||
"[JTAG_TDI]",
|
||||
"[JTAG_TDO]",
|
||||
"NC", "NC",
|
||||
"[I2C3_SCL]",
|
||||
"[I2C3_SDA]",
|
||||
"NC";
|
||||
};
|
||||
|
||||
&gpio2 {
|
||||
/* GPIO_016-GPIO_023 */
|
||||
gpio-line-names =
|
||||
"NC", "NC", "NC",
|
||||
"GPIO-J", /* LSEC pin 32: GPIO_019 */
|
||||
"GPIO_020_HDMI_SEL",
|
||||
"GPIO-L", /* LSEC pin 34: GPIO_021 */
|
||||
"GPIO_022_UFSBUCK_INT_N",
|
||||
"GPIO-G"; /* LSEC pin 29: LCD_TE0 */
|
||||
};
|
||||
|
||||
&gpio3 {
|
||||
/* GPIO_024-GPIO_031 */
|
||||
/* The rail from pin BK36 is named LCD_TE0, we assume to be muxed as GPIO for GPIO-G */
|
||||
gpio-line-names =
|
||||
"[CSI0_MCLK]", /* HSEC pin 15: ISP_CCLK0_MCAM */
|
||||
"[CSI1_MCLK]", /* HSEC pin 17: ISP_CCLK1_SCAM */
|
||||
"NC",
|
||||
"[I2C2_SCL]", /* HSEC pin 32: ISP_SCL0 */
|
||||
"[I2C2_SDA]", /* HSEC pin 34: ISP_SDA0 */
|
||||
"[I2C3_SCL]", /* HSEC pin 36: ISP_SCL1 */
|
||||
"[I2C3_SDA]", /* HSEC pin 38: ISP_SDA1 */
|
||||
"NC";
|
||||
};
|
||||
|
||||
&gpio4 {
|
||||
/* GPIO_032-GPIO_039 */
|
||||
gpio-line-names =
|
||||
"NC", "NC",
|
||||
"PWR_BTN_N", /* LSEC pin 4: GPIO_034_PWRON_DET */
|
||||
"GPIO_035_PMU2_EN",
|
||||
"GPIO_036_USB_HUB_RESET",
|
||||
"NC", "NC", "NC";
|
||||
};
|
||||
|
||||
&gpio5 {
|
||||
/* GPIO_040-GPIO_047 */
|
||||
gpio-line-names =
|
||||
"GPIO-H", /* LSEC pin 30: GPIO_040_LCD_RST_N */
|
||||
"GPIO_041_HDMI_PD",
|
||||
"TP904", /* Test point */
|
||||
"TP905", /* Test point */
|
||||
"NC", "NC",
|
||||
"GPIO_046_HUB_VDD33_EN",
|
||||
"GPIO_047_PMU1_EN";
|
||||
};
|
||||
|
||||
&gpio6 {
|
||||
/* GPIO_048-GPIO_055 */
|
||||
gpio-line-names =
|
||||
"NC", "NC", "NC",
|
||||
"GPIO_051_WIFI_EN",
|
||||
"GPIO-I", /* LSEC pin 31: GPIO_052_CAM0_RST_N */
|
||||
/*
|
||||
* These two pins should be used for SD(IO) data according to the
|
||||
* 96boards specification but seems to be repurposed for a IRDA UART.
|
||||
* They are however named according to the spec.
|
||||
*/
|
||||
"[SD_DAT1]", /* HSEC pin 3: UART0_IRDA_RXD */
|
||||
"[SD_DAT2]", /* HSEC pin 5: UART0_IRDA_TXD */
|
||||
"[UART1_RXD]"; /* LSEC pin 13: DEBUG_UART6_RXD */
|
||||
};
|
||||
|
||||
&gpio7 {
|
||||
/* GPIO_056-GPIO_063 */
|
||||
gpio-line-names =
|
||||
"[UART1_TXD]", /* LSEC pin 11: DEBUG_UART6_TXD */
|
||||
"[UART0_CTS]", /* LSEC pin 3: UART3_CTS_N */
|
||||
"[UART0_RTS]", /* LSEC pin 9: UART3_RTS_N */
|
||||
"[UART0_RXD]", /* LSEC pin 7: UART3_RXD */
|
||||
"[UART0_TXD]", /* LSEC pin 5: UART3_TXD */
|
||||
"[SOC_BT_UART4_CTS_N]",
|
||||
"[SOC_BT_UART4_RTS_N]",
|
||||
"[SOC_BT_UART4_RXD]";
|
||||
};
|
||||
|
||||
&gpio8 {
|
||||
/* GPIO_064-GPIO_071 */
|
||||
gpio-line-names =
|
||||
"[SOC_BT_UART4_TXD]",
|
||||
"NC",
|
||||
"[PMU_HKADC_SSI]",
|
||||
"NC",
|
||||
"GPIO_068_SEL",
|
||||
"NC", "NC", "NC";
|
||||
|
||||
};
|
||||
|
||||
&gpio9 {
|
||||
/* GPIO_072-GPIO_079 */
|
||||
gpio-line-names =
|
||||
"NC", "NC", "NC",
|
||||
"GPIO-K", /* LSEC pin 33: GPIO_075_CAM1_RST_N */
|
||||
"NC", "NC", "NC", "NC";
|
||||
};
|
||||
|
||||
&gpio10 {
|
||||
/* GPIO_080-GPIO_087 */
|
||||
gpio-line-names = "NC", "NC", "NC", "NC", "NC", "NC", "NC", "NC";
|
||||
};
|
||||
|
||||
&gpio11 {
|
||||
/* GPIO_088-GPIO_095 */
|
||||
gpio-line-names =
|
||||
"NC",
|
||||
"[PCIE_PERST_N]",
|
||||
"NC", "NC", "NC", "NC", "NC", "NC";
|
||||
};
|
||||
|
||||
&gpio12 {
|
||||
/* GPIO_096-GPIO_103 */
|
||||
gpio-line-names = "NC", "NC", "NC", "", "", "", "", "NC";
|
||||
};
|
||||
|
||||
&gpio13 {
|
||||
/* GPIO_104-GPIO_111 */
|
||||
gpio-line-names = "NC", "NC", "NC", "NC", "NC", "NC", "NC", "NC";
|
||||
};
|
||||
|
||||
&gpio14 {
|
||||
/* GPIO_112-GPIO_119 */
|
||||
gpio-line-names = "NC", "NC", "NC", "NC", "NC", "NC", "NC", "NC";
|
||||
};
|
||||
|
||||
&gpio15 {
|
||||
/* GPIO_120-GPIO_127 */
|
||||
gpio-line-names =
|
||||
"NC", "NC", "NC", "NC", "NC", "NC",
|
||||
"GPIO_126_BT_EN",
|
||||
"TP902"; /* GPIO_127_JTAG_SEL0 */
|
||||
};
|
||||
|
||||
&gpio16 {
|
||||
/* GPIO_128-GPIO_135 */
|
||||
gpio-line-names = "", "", "", "", "", "", "", "";
|
||||
};
|
||||
|
||||
&gpio17 {
|
||||
/* GPIO_136-GPIO_143 */
|
||||
gpio-line-names = "", "", "", "", "", "", "", "";
|
||||
};
|
||||
|
||||
&gpio18 {
|
||||
/* GPIO_144-GPIO_151 */
|
||||
gpio-line-names =
|
||||
"[UFS_REF_CLK]",
|
||||
"[UFS_RST_N]",
|
||||
"[SPI1_SCLK]", /* HSEC pin 9: GPIO_146_SPI3_CLK */
|
||||
"[SPI1_DIN]", /* HSEC pin 11: GPIO_147_SPI3_DI */
|
||||
"[SPI1_DOUT]", /* HSEC pin 1: GPIO_148_SPI3_DO */
|
||||
"[SPI1_CS]", /* HSEC pin 7: GPIO_149_SPI3_CS0_N */
|
||||
"GPIO_150_USER_LED1",
|
||||
"GPIO_151_USER_LED2";
|
||||
};
|
||||
|
||||
&gpio19 {
|
||||
/* GPIO_152-GPIO_159 */
|
||||
gpio-line-names = "NC", "NC", "NC", "NC", "", "", "", "";
|
||||
};
|
||||
|
||||
&gpio20 {
|
||||
/* GPIO_160-GPIO_167 */
|
||||
gpio-line-names =
|
||||
"[SD_CLK]",
|
||||
"[SD_CMD]",
|
||||
"[SD_DATA0]",
|
||||
"[SD_DATA1]",
|
||||
"[SD_DATA2]",
|
||||
"[SD_DATA3]",
|
||||
"", "";
|
||||
};
|
||||
|
||||
&gpio21 {
|
||||
/* GPIO_168-GPIO_175 */
|
||||
gpio-line-names =
|
||||
"[WL_SDIO_CLK]",
|
||||
"[WL_SDIO_CMD]",
|
||||
"[WL_SDIO_DATA0]",
|
||||
"[WL_SDIO_DATA1]",
|
||||
"[WL_SDIO_DATA2]",
|
||||
"[WL_SDIO_DATA3]",
|
||||
"", "";
|
||||
};
|
||||
|
||||
&gpio22 {
|
||||
/* GPIO_176-GPIO_183 */
|
||||
gpio-line-names =
|
||||
"[GPIO_176_PMU_PWR_HOLD]",
|
||||
"NA",
|
||||
"[SYSCLK_EN]",
|
||||
"GPIO_179_WL_WAKEUP_AP",
|
||||
"GPIO_180_HDMI_INT",
|
||||
"NA",
|
||||
"GPIO-F", /* LSEC pin 28: LCD_BL_PWM */
|
||||
"[I2C0_SCL]"; /* LSEC pin 15 */
|
||||
};
|
||||
|
||||
&gpio23 {
|
||||
/* GPIO_184-GPIO_191 */
|
||||
gpio-line-names =
|
||||
"[I2C0_SDA]", /* LSEC pin 17 */
|
||||
"[I2C1_SCL]", /* Actual SoC I2C1 */
|
||||
"[I2C1_SDA]", /* Actual SoC I2C1 */
|
||||
"[I2C1_SCL]", /* LSEC pin 19: I2C7_SCL */
|
||||
"[I2C1_SDA]", /* LSEC pin 21: I2C7_SDA */
|
||||
"GPIO_189_USER_LED3",
|
||||
"GPIO_190_USER_LED4",
|
||||
"";
|
||||
};
|
||||
|
||||
&gpio24 {
|
||||
/* GPIO_192-GPIO_199 */
|
||||
gpio-line-names =
|
||||
"[PCM_DI]", /* LSEC pin 22: GPIO_192_I2S0_DI */
|
||||
"[PCM_DO]", /* LSEC pin 20: GPIO_193_I2S0_DO */
|
||||
"[PCM_CLK]", /* LSEC pin 18: GPIO_194_I2S0_XCLK */
|
||||
"[PCM_FS]", /* LSEC pin 16: GPIO_195_I2S0_XFS */
|
||||
"[GPIO_196_I2S2_DI]",
|
||||
"[GPIO_197_I2S2_DO]",
|
||||
"[GPIO_198_I2S2_XCLK]",
|
||||
"[GPIO_199_I2S2_XFS]";
|
||||
};
|
||||
|
||||
&gpio25 {
|
||||
/* GPIO_200-GPIO_207 */
|
||||
gpio-line-names =
|
||||
"NC",
|
||||
"NC",
|
||||
"GPIO_202_VBUS_TYPEC",
|
||||
"GPIO_203_SD_DET",
|
||||
"GPIO_204_PMU12_IRQ_N",
|
||||
"GPIO_205_WIFI_ACTIVE",
|
||||
"GPIO_206_USBSW_SEL",
|
||||
"GPIO_207_BT_ACTIVE";
|
||||
};
|
||||
|
||||
&gpio26 {
|
||||
/* GPIO_208-GPIO_215 */
|
||||
gpio-line-names =
|
||||
"GPIO-A", /* LSEC pin 23: GPIO_208 */
|
||||
"GPIO-B", /* LSEC pin 24: GPIO_209 */
|
||||
"GPIO-C", /* LSEC pin 25: GPIO_210 */
|
||||
"GPIO-D", /* LSEC pin 26: GPIO_211 */
|
||||
"GPIO-E", /* LSEC pin 27: GPIO_212 */
|
||||
"[PCIE_CLKREQ_N]",
|
||||
"[PCIE_WAKE_N]",
|
||||
"[SPI0_CLK]"; /* LSEC pin 8: SPI2_CLK */
|
||||
};
|
||||
|
||||
&gpio27 {
|
||||
/* GPIO_216-GPIO_223 */
|
||||
gpio-line-names =
|
||||
"[SPI0_DIN]", /* LSEC pin 10: SPI2_DI */
|
||||
"[SPI0_DOUT]", /* LSEC pin 14: SPI2_DO */
|
||||
"[SPI0_CS]", /* LSEC pin 12: SPI2_CS0_N */
|
||||
"GPIO_219_CC_INT",
|
||||
"NC",
|
||||
"NC",
|
||||
"[PMU_INT]",
|
||||
"";
|
||||
};
|
||||
|
||||
&gpio28 {
|
||||
/* GPIO_224-GPIO_231 */
|
||||
gpio-line-names =
|
||||
"", "", "", "", "", "", "", "";
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
/* On Low speed expansion */
|
||||
label = "LS-I2C0";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c1 {
|
||||
status = "okay";
|
||||
|
||||
adv7533: adv7533@39 {
|
||||
status = "ok";
|
||||
compatible = "adi,adv7533";
|
||||
reg = <0x39>;
|
||||
};
|
||||
};
|
||||
|
||||
&uart3 {
|
||||
/* On Low speed expansion */
|
||||
label = "LS-UART0";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart4 {
|
||||
status = "okay";
|
||||
|
||||
bluetooth {
|
||||
compatible = "ti,wl1837-st";
|
||||
enable-gpios = <&gpio15 6 GPIO_ACTIVE_HIGH>;
|
||||
max-speed = <3000000>;
|
||||
};
|
||||
};
|
||||
|
||||
&i2c7 {
|
||||
/* On Low speed expansion */
|
||||
label = "LS-I2C1";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart6 {
|
||||
/* On Low speed expansion */
|
||||
label = "LS-UART1";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi2 {
|
||||
/* On Low speed expansion */
|
||||
label = "LS-SPI0";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi3 {
|
||||
/* On High speed expansion */
|
||||
label = "HS-SPI1";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dwmmc1 {
|
||||
cd-gpios = <&gpio25 3 GPIO_ACTIVE_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sd_pmx_func
|
||||
&sd_clk_cfg_func
|
||||
&sd_cfg_func>;
|
||||
vmmc-supply = <&ldo16>;
|
||||
vqmmc-supply = <&ldo9>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dwmmc2 { /* WIFI */
|
||||
bus-width = <0x4>;
|
||||
non-removable;
|
||||
broken-cd;
|
||||
cap-power-off-card;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sdio_pmx_func
|
||||
&sdio_clk_cfg_func
|
||||
&sdio_cfg_func>;
|
||||
/* WL_EN */
|
||||
vmmc-supply = <&wlan_en>;
|
||||
status = "ok";
|
||||
|
||||
wlcore: wlcore@2 {
|
||||
compatible = "ti,wl1837";
|
||||
reg = <2>; /* sdio func num */
|
||||
/* WL_IRQ, GPIO_179_WL_WAKEUP_AP */
|
||||
interrupt-parent = <&gpio22>;
|
||||
interrupts = <3 IRQ_TYPE_EDGE_RISING>;
|
||||
};
|
||||
};
|
1157
arch/arm/dts/hi3660.dtsi
Normal file
1157
arch/arm/dts/hi3660.dtsi
Normal file
File diff suppressed because it is too large
Load diff
1060
arch/arm/dts/hikey960-pinctrl.dtsi
Normal file
1060
arch/arm/dts/hikey960-pinctrl.dtsi
Normal file
File diff suppressed because it is too large
Load diff
52
arch/arm/include/asm/arch-hi3660/hi3660.h
Normal file
52
arch/arm/include/asm/arch-hi3660/hi3660.h
Normal file
|
@ -0,0 +1,52 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||
/*
|
||||
* (C) Copyright 2019 Linaro
|
||||
* Author: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
|
||||
*/
|
||||
|
||||
#ifndef __HI3660_H__
|
||||
#define __HI3660_H__
|
||||
|
||||
#define HI3660_UART6_BASE 0xfff32000
|
||||
|
||||
#define PMU_REG_BASE 0xfff34000
|
||||
#define PMIC_HARDWARE_CTRL0 (PMU_REG_BASE + (0x0C5 << 2))
|
||||
|
||||
#define SCTRL_REG_BASE 0xfff0a000
|
||||
#define SCTRL_SCFPLLCTRL0 (SCTRL_REG_BASE + 0x120)
|
||||
#define SCTRL_SCFPLLCTRL0_FPLL0_EN BIT(0)
|
||||
|
||||
#define CRG_REG_BASE 0xfff35000
|
||||
#define CRG_PEREN2 (CRG_REG_BASE + 0x020)
|
||||
#define CRG_PERDIS2 (CRG_REG_BASE + 0x024)
|
||||
#define CRG_PERCLKEN2 (CRG_REG_BASE + 0x028)
|
||||
#define CRG_PERSTAT2 (CRG_REG_BASE + 0x02C)
|
||||
#define CRG_PEREN4 (CRG_REG_BASE + 0x040)
|
||||
#define CRG_PERDIS4 (CRG_REG_BASE + 0x044)
|
||||
#define CRG_PERCLKEN4 (CRG_REG_BASE + 0x048)
|
||||
#define CRG_PERSTAT4 (CRG_REG_BASE + 0x04C)
|
||||
#define CRG_PERRSTEN2 (CRG_REG_BASE + 0x078)
|
||||
#define CRG_PERRSTDIS2 (CRG_REG_BASE + 0x07C)
|
||||
#define CRG_PERRSTSTAT2 (CRG_REG_BASE + 0x080)
|
||||
#define CRG_PERRSTEN3 (CRG_REG_BASE + 0x084)
|
||||
#define CRG_PERRSTDIS3 (CRG_REG_BASE + 0x088)
|
||||
#define CRG_PERRSTSTAT3 (CRG_REG_BASE + 0x08C)
|
||||
#define CRG_PERRSTEN4 (CRG_REG_BASE + 0x090)
|
||||
#define CRG_PERRSTDIS4 (CRG_REG_BASE + 0x094)
|
||||
#define CRG_PERRSTSTAT4 (CRG_REG_BASE + 0x098)
|
||||
#define CRG_ISOEN (CRG_REG_BASE + 0x144)
|
||||
#define CRG_ISODIS (CRG_REG_BASE + 0x148)
|
||||
#define CRG_ISOSTAT (CRG_REG_BASE + 0x14C)
|
||||
|
||||
#define PINMUX4_BASE 0xfff11000
|
||||
#define PINMUX4_SDDET (PINMUX4_BASE + 0x60)
|
||||
|
||||
#define PINCONF3_BASE 0xff37e800
|
||||
#define PINCONF3_SDCLK (PINCONF3_BASE + 0x00)
|
||||
#define PINCONF3_SDCMD (PINCONF3_BASE + 0x04)
|
||||
#define PINCONF3_SDDATA0 (PINCONF3_BASE + 0x08)
|
||||
#define PINCONF3_SDDATA1 (PINCONF3_BASE + 0x0c)
|
||||
#define PINCONF3_SDDATA2 (PINCONF3_BASE + 0x10)
|
||||
#define PINCONF3_SDDATA3 (PINCONF3_BASE + 0x14)
|
||||
|
||||
#endif /*__HI3660_H__*/
|
|
@ -15,6 +15,7 @@
|
|||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <dm/root.h>
|
||||
#include <env.h>
|
||||
#include <image.h>
|
||||
#include <u-boot/zlib.h>
|
||||
#include <asm/byteorder.h>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <environment.h>
|
||||
#include <env.h>
|
||||
#include <i2c.h>
|
||||
#include <net.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <environment.h>
|
||||
#include <malloc.h>
|
||||
#include <asm/byteorder.h>
|
||||
#include <linux/compiler.h>
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#include <asm/mach-imx/iomux-v3.h>
|
||||
#include <asm/io.h>
|
||||
#include <common.h>
|
||||
#include <environment.h>
|
||||
#include <env.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
|
@ -127,7 +127,7 @@ int board_late_init(void)
|
|||
|
||||
/* In bootstrap don't use the env vars */
|
||||
if (((reg & 0x3000000) >> 24) == 0x1) {
|
||||
set_default_env(NULL, 0);
|
||||
env_set_default(NULL, 0);
|
||||
env_set("preboot", "");
|
||||
}
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include <asm/arch/imx-rdc.h>
|
||||
#include <asm/arch/crm_regs.h>
|
||||
#include <dm.h>
|
||||
#include <env.h>
|
||||
#include <imx_thermal.h>
|
||||
#include <fsl_sec.h>
|
||||
#include <asm/setup.h>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <linux/errno.h>
|
||||
#include <asm/mach-imx/video.h>
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <netdev.h>
|
||||
#include <asm/cache.h>
|
||||
#include <asm/io.h>
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <asm/arch/boot.h>
|
||||
#include <env.h>
|
||||
#include <linux/libfdt.h>
|
||||
#include <linux/err.h>
|
||||
#include <environment.h>
|
||||
#include <asm/arch/mem.h>
|
||||
#include <asm/arch/sm.h>
|
||||
#include <asm/armv8/mmu.h>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <ahci.h>
|
||||
#include <environment.h>
|
||||
#include <spl.h>
|
||||
#include <asm/omap_common.h>
|
||||
#include <asm/arch/omap.h>
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
#include <asm/arch/clocks_omap3.h>
|
||||
#include <asm/arch/mem.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <environment.h>
|
||||
#include <command.h>
|
||||
|
||||
/******************************************************************************
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* Aneesh V <aneesh@ti.com>
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <environment.h>
|
||||
#include <env.h>
|
||||
#include <asm/setup.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <asm/omap_common.h>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <env.h>
|
||||
#include <linux/ctype.h>
|
||||
|
||||
#ifdef CONFIG_ARCH_CPU_INIT
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
*/
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <env.h>
|
||||
#include <clk.h>
|
||||
#include <asm/armv7.h>
|
||||
#include <asm/io.h>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <env.h>
|
||||
#include <errno.h>
|
||||
#include <fdtdec.h>
|
||||
#include <linux/libfdt.h>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include <altera.h>
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <errno.h>
|
||||
#include <fdtdec.h>
|
||||
#include <miiphy.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include <common.h>
|
||||
#include <clk.h>
|
||||
#include <debug_uart.h>
|
||||
#include <environment.h>
|
||||
#include <env.h>
|
||||
#include <misc.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/stm32.h>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <efi_loader.h>
|
||||
#include <env.h>
|
||||
#include <errno.h>
|
||||
#include <ns16550.h>
|
||||
#include <usb.h>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <environment.h>
|
||||
#include <env.h>
|
||||
#include <fdt_support.h>
|
||||
#include <fdtdec.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <spl.h>
|
||||
#include <linux/libfdt.h>
|
||||
#include <nand.h>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <mmc.h>
|
||||
#include <linux/errno.h>
|
||||
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <image.h>
|
||||
#include <u-boot/zlib.h>
|
||||
#include <bzlib.h>
|
||||
#include <watchdog.h>
|
||||
#include <environment.h>
|
||||
#include <asm/byteorder.h>
|
||||
#ifdef CONFIG_SHOW_BOOT_PROGRESS
|
||||
# include <status_led.h>
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <fdt_support.h>
|
||||
#include <image.h>
|
||||
#include <u-boot/zlib.h>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <image.h>
|
||||
#include <fdt_support.h>
|
||||
#include <asm/addrspace.h>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
|
||||
#include <asm/u-boot-nds32.h>
|
||||
|
||||
#include <environment.h>
|
||||
|
||||
typedef struct bd_info {
|
||||
unsigned long bi_arch_number; /* unique id for this board */
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <image.h>
|
||||
#include <u-boot/zlib.h>
|
||||
#include <asm/byteorder.h>
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <watchdog.h>
|
||||
#include <asm/processor.h>
|
||||
#include <ioports.h>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <environment.h>
|
||||
#include <env.h>
|
||||
#include <linux/libfdt.h>
|
||||
#include <fdt_support.h>
|
||||
#include <asm/processor.h>
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#ifdef CONFIG_SYS_P4080_ERRATUM_SERDES8
|
||||
#include <hwconfig.h>
|
||||
#endif
|
||||
|
|
|
@ -4,7 +4,9 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <asm/processor.h>
|
||||
#include <env.h>
|
||||
#include <ioports.h>
|
||||
#include <lmb.h>
|
||||
#include <asm/io.h>
|
||||
|
|
|
@ -8,13 +8,13 @@
|
|||
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <watchdog.h>
|
||||
#include <command.h>
|
||||
#include <image.h>
|
||||
#include <malloc.h>
|
||||
#include <u-boot/zlib.h>
|
||||
#include <bzlib.h>
|
||||
#include <environment.h>
|
||||
#include <asm/byteorder.h>
|
||||
#include <asm/mp.h>
|
||||
#include <bootm.h>
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
|
||||
#include <asm/u-boot-riscv.h>
|
||||
|
||||
#include <environment.h>
|
||||
|
||||
typedef struct bd_info {
|
||||
unsigned long bi_boot_params; /* where this board expects params */
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <env_internal.h>
|
||||
#include <asm/e820.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <malloc.h>
|
||||
#include <asm/acpi_table.h>
|
||||
#include <asm/io.h>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <u-boot/zlib.h>
|
||||
#include <asm/byteorder.h>
|
||||
#include <asm/addrspace.h>
|
||||
|
|
|
@ -10,11 +10,11 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <div64.h>
|
||||
#include <env.h>
|
||||
#include <malloc.h>
|
||||
#include <spi_flash.h>
|
||||
#include <mmc.h>
|
||||
#include <version.h>
|
||||
#include <environment.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
static ulong fwenv_addr[MAX_FWENV_ADDR];
|
||||
|
|
|
@ -9,7 +9,8 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <console.h>
|
||||
#include <environment.h>
|
||||
#include <env.h>
|
||||
#include <env_internal.h>
|
||||
#include <ns16550.h>
|
||||
#include <malloc.h>
|
||||
#include <mmc.h>
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <hwconfig.h>
|
||||
#include <pci.h>
|
||||
#include <i2c.h>
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <errno.h>
|
||||
#include <spl.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
*
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <errno.h>
|
||||
#include <spl.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
* B&R Industrial Automation GmbH - http://www.br-automation.com/ *
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <errno.h>
|
||||
#include <i2c.h>
|
||||
#include <dm/uclass.h>
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
*/
|
||||
#include <version.h>
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <fdtdec.h>
|
||||
#include <i2c.h>
|
||||
#include <lcd.h>
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include <command.h>
|
||||
#include "asm/m5282.h"
|
||||
#include <bmp_layout.h>
|
||||
#include <env.h>
|
||||
#include <status_led.h>
|
||||
#include <bus_vcxk.h>
|
||||
|
||||
|
|
|
@ -8,13 +8,13 @@
|
|||
#include <asm/io.h>
|
||||
#include <dm.h>
|
||||
#include <clk.h>
|
||||
#include <env.h>
|
||||
#include <spi.h>
|
||||
#include <mvebu/comphy.h>
|
||||
#include <miiphy.h>
|
||||
#include <linux/string.h>
|
||||
#include <linux/libfdt.h>
|
||||
#include <fdt_support.h>
|
||||
#include <environment.h>
|
||||
|
||||
#include "mox_sp.h"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <environment.h>
|
||||
#include <env.h>
|
||||
#include <i2c.h>
|
||||
#include <miiphy.h>
|
||||
#include <netdev.h>
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <env.h>
|
||||
#include <linux/errno.h>
|
||||
#include <asm/arch/imx-regs.h>
|
||||
#include <asm/arch/crm_regs.h>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <environment.h>
|
||||
#include <env.h>
|
||||
#include <i2c.h>
|
||||
#include <asm/mach-types.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <environment.h>
|
||||
#include <env.h>
|
||||
#include <asm/mach-types.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
#include <asm/arch/soc.h>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <div64.h>
|
||||
#include <env.h>
|
||||
#include <spi.h>
|
||||
#include <spi_flash.h>
|
||||
#include <linux/mtd/mtd.h>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <env.h>
|
||||
#include <i2c.h>
|
||||
#include <wdt.h>
|
||||
#include <asm/gpio.h>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
#include <config.h>
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <linux/ctype.h>
|
||||
#include <linux/usb/musb.h>
|
||||
#include <asm/omap_musb.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <environment.h>
|
||||
#include <env.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/gx.h>
|
||||
#include <asm/arch/sm.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <environment.h>
|
||||
#include <env.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/gx.h>
|
||||
#include <asm/arch/sm.h>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <environment.h>
|
||||
#include <env.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/gx.h>
|
||||
#include <asm/arch/sm.h>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <environment.h>
|
||||
#include <env.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/gx.h>
|
||||
#include <asm/arch/mem.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <environment.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/axg.h>
|
||||
#include <asm/arch/sm.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <environment.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/axg.h>
|
||||
#include <asm/arch/sm.h>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <environment.h>
|
||||
#include <env_internal.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/eth.h>
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include <asm/arch/imx-regs.h>
|
||||
#include <asm/arch/iomux.h>
|
||||
#include <asm/arch/mx6-pins.h>
|
||||
#include <env.h>
|
||||
#include <linux/errno.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/mach-imx/iomux-v3.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <environment.h>
|
||||
#include <jffs2/jffs2.h>
|
||||
#include <nand.h>
|
||||
#include <netdev.h>
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <env.h>
|
||||
#include <netdev.h>
|
||||
#include <asm/io.h>
|
||||
#include <dm/platform_data/serial_pl01x.h>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <w1.h>
|
||||
#include <w1-eeprom.h>
|
||||
#include <dm/device-internal.h>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <environment.h>
|
||||
#include <env.h>
|
||||
#include <i2c_eeprom.h>
|
||||
#include <netdev.h>
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include <asm/arch/gpio.h>
|
||||
#include <asm/arch/clk.h>
|
||||
#include <debug_uart.h>
|
||||
#include <env.h>
|
||||
#include <linux/ctype.h>
|
||||
#include <phy.h>
|
||||
#include <micrel.h>
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/imx-regs.h>
|
||||
#include <asm/arch/iomux.h>
|
||||
#include <env.h>
|
||||
#include <malloc.h>
|
||||
#include <asm/arch/mx6-pins.h>
|
||||
#include <asm/mach-imx/iomux-v3.h>
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <errno.h>
|
||||
#include <spl.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
|
@ -27,9 +28,8 @@
|
|||
#include <cpsw.h>
|
||||
#include <power/tps65217.h>
|
||||
#include <power/tps65910.h>
|
||||
#include <environment.h>
|
||||
#include <env_internal.h>
|
||||
#include <watchdog.h>
|
||||
#include <environment.h>
|
||||
#include "board.h"
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#include <asm/arch/iomux-mx28.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <env.h>
|
||||
#include <linux/mii.h>
|
||||
#include <miiphy.h>
|
||||
#include <netdev.h>
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include <atmel_lcdc.h>
|
||||
#include <atmel_mci.h>
|
||||
#include <dm.h>
|
||||
#include <env.h>
|
||||
#include <lcd.h>
|
||||
#include <net.h>
|
||||
#ifndef CONFIG_DM_ETH
|
||||
|
|
|
@ -11,8 +11,7 @@
|
|||
#include <common.h>
|
||||
#include <cpsw.h>
|
||||
#include <dm.h>
|
||||
#include <environment.h>
|
||||
#include <environment.h>
|
||||
#include <env_internal.h>
|
||||
#include <errno.h>
|
||||
#include <i2c.h>
|
||||
#include <miiphy.h>
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <errno.h>
|
||||
#include <spl.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
|
@ -30,9 +31,8 @@
|
|||
#include <miiphy.h>
|
||||
#include <cpsw.h>
|
||||
#include <power/tps65217.h>
|
||||
#include <environment.h>
|
||||
#include <env_internal.h>
|
||||
#include <watchdog.h>
|
||||
#include <environment.h>
|
||||
#include "mmc.h"
|
||||
#include "board.h"
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/imx-regs.h>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/mach-types.h>
|
||||
#include <env.h>
|
||||
#include <mmc.h>
|
||||
#include <asm/kona-common/kona_sdhci.h>
|
||||
#include <asm/kona-common/clk.h>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/mach-types.h>
|
||||
#include <env.h>
|
||||
#include <mmc.h>
|
||||
#include <asm/kona-common/kona_sdhci.h>
|
||||
#include <asm/kona-common/clk.h>
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include <linux/types.h>
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/bootm.h>
|
||||
#include <mach/timer.h>
|
||||
|
|
|
@ -8,7 +8,8 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <environment.h>
|
||||
#include <env.h>
|
||||
#include <env_internal.h>
|
||||
#include <net.h>
|
||||
#include <malloc.h>
|
||||
#include <netdev.h>
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <dm/platform_data/net_ethoc.h>
|
||||
#include <env.h>
|
||||
#include <linux/ctype.h>
|
||||
#include <linux/string.h>
|
||||
#include <linux/stringify.h>
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include <asm/mach-imx/mxc_i2c.h>
|
||||
#include <asm/io.h>
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <fsl_esdhc_imx.h>
|
||||
#include <i2c.h>
|
||||
#include <miiphy.h>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <environment.h>
|
||||
#include <env.h>
|
||||
#include <mmc.h>
|
||||
#include <phy.h>
|
||||
#include <netdev.h>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include <ahci.h>
|
||||
#include <dm.h>
|
||||
#include <dwc_ahsata.h>
|
||||
#include <environment.h>
|
||||
#include <env.h>
|
||||
#include <fsl_esdhc_imx.h>
|
||||
#include <miiphy.h>
|
||||
#include <mtd_node.h>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <environment.h>
|
||||
#include <env.h>
|
||||
#include <errno.h>
|
||||
#include <miiphy.h>
|
||||
#include <cpsw.h>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <environment.h>
|
||||
#include <env.h>
|
||||
#include <status_led.h>
|
||||
#include <netdev.h>
|
||||
#include <net.h>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <environment.h>
|
||||
#include <env.h>
|
||||
#include <fdt_support.h>
|
||||
#include <usb.h>
|
||||
#include <mmc.h>
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include <common.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/io.h>
|
||||
#include <env.h>
|
||||
#include <stdio_dev.h>
|
||||
#include <asm/arch/dss.h>
|
||||
#include <lcd.h>
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
#include <asm/arch/sys_proto.h>
|
||||
#include <asm/arch/mxc_hdmi.h>
|
||||
#include <asm/arch/crm_regs.h>
|
||||
#include <env.h>
|
||||
#include <mmc.h>
|
||||
#include <fsl_esdhc_imx.h>
|
||||
#include <i2c.h>
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <hwconfig.h>
|
||||
#include <mpc8xx.h>
|
||||
#include <fdt_support.h>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <environment.h>
|
||||
#include <env.h>
|
||||
#include <i2c.h>
|
||||
#include <net.h>
|
||||
#include <spi.h>
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue