mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 21:21:37 +00:00
Merge branch 'master' of git://git.denx.de/u-boot-tegra
This commit is contained in:
commit
888f9aa5ca
72 changed files with 169 additions and 282 deletions
|
@ -15,7 +15,7 @@
|
|||
};
|
||||
|
||||
spi@7000d400 {
|
||||
spi-deactivate-delay = <200>;
|
||||
spi-deactivate-delay = <500>;
|
||||
spi-max-frequency = <3000000>;
|
||||
|
||||
cros_ec: cros-ec@0 {
|
||||
|
|
|
@ -414,6 +414,7 @@
|
|||
|
||||
usb@7d000000 { /* Rear external USB port. */
|
||||
status = "okay";
|
||||
dr_mode = "otg";
|
||||
nvidia,vbus-gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
|
|
|
@ -240,3 +240,12 @@ void tegra_pcie_board_port_reset(struct tegra_pcie_port *port)
|
|||
}
|
||||
}
|
||||
#endif /* CONFIG_PCI_TEGRA */
|
||||
|
||||
/*
|
||||
* Backlight off before OS handover
|
||||
*/
|
||||
void board_preboot_os(void)
|
||||
{
|
||||
gpio_request(TEGRA_GPIO(BB, 5), "BL_ON");
|
||||
gpio_direction_output(TEGRA_GPIO(BB, 5), 0);
|
||||
}
|
||||
|
|
|
@ -745,6 +745,15 @@ static void setup_display(void)
|
|||
gpio_direction_output(RGB_BACKLIGHTPWM_OE, 0);
|
||||
gpio_direction_output(RGB_BACKLIGHT_GP, 1);
|
||||
}
|
||||
|
||||
/*
|
||||
* Backlight off before OS handover
|
||||
*/
|
||||
void board_preboot_os(void)
|
||||
{
|
||||
gpio_direction_output(RGB_BACKLIGHTPWM_GP, 1);
|
||||
gpio_direction_output(RGB_BACKLIGHT_GP, 0);
|
||||
}
|
||||
#endif /* defined(CONFIG_VIDEO_IPUV3) */
|
||||
|
||||
int board_early_init_f(void)
|
||||
|
|
|
@ -164,3 +164,12 @@ void tegra_pcie_board_port_reset(struct tegra_pcie_port *port)
|
|||
#endif /* CONFIG_APALIS_T30_PCIE_EVALBOARD_INIT */
|
||||
}
|
||||
#endif /* CONFIG_PCI_TEGRA */
|
||||
|
||||
/*
|
||||
* Backlight off before OS handover
|
||||
*/
|
||||
void board_preboot_os(void)
|
||||
{
|
||||
gpio_request(TEGRA_GPIO(V, 2), "BKL1_ON");
|
||||
gpio_direction_output(TEGRA_GPIO(V, 2), 0);
|
||||
}
|
||||
|
|
|
@ -622,6 +622,15 @@ static void setup_display(void)
|
|||
gpio_direction_output(RGB_BACKLIGHTPWM_GP, 0);
|
||||
gpio_direction_output(RGB_BACKLIGHT_GP, 1);
|
||||
}
|
||||
|
||||
/*
|
||||
* Backlight off before OS handover
|
||||
*/
|
||||
void board_preboot_os(void)
|
||||
{
|
||||
gpio_direction_output(RGB_BACKLIGHTPWM_GP, 1);
|
||||
gpio_direction_output(RGB_BACKLIGHT_GP, 0);
|
||||
}
|
||||
#endif /* defined(CONFIG_VIDEO_IPUV3) */
|
||||
|
||||
int board_early_init_f(void)
|
||||
|
|
|
@ -150,6 +150,15 @@ static int setup_lcd(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Backlight off before OS handover
|
||||
*/
|
||||
void board_preboot_os(void)
|
||||
{
|
||||
gpio_direction_output(GPIO_PWM_A, 1);
|
||||
gpio_direction_output(GPIO_BL_ON, 0);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_FEC_MXC
|
||||
static iomux_v3_cfg_t const fec1_pads[] = {
|
||||
#ifndef CONFIG_COLIBRI_IMX7_EXT_PHYCLK
|
||||
|
|
|
@ -150,4 +150,13 @@ void pin_mux_display(void)
|
|||
pinmux_set_func(PMUX_PINGRP_SDC, PMUX_FUNC_PWM);
|
||||
pinmux_tristate_disable(PMUX_PINGRP_SDC);
|
||||
}
|
||||
|
||||
/*
|
||||
* Backlight off before OS handover
|
||||
*/
|
||||
void board_preboot_os(void)
|
||||
{
|
||||
gpio_request(TEGRA_GPIO(T, 4), "BL_ON");
|
||||
gpio_direction_output(TEGRA_GPIO(T, 4), 0);
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -66,3 +66,12 @@ void pin_mux_usb(void)
|
|||
udelay(5);
|
||||
gpio_set_value(TEGRA_GPIO(DD, 0), 1);
|
||||
}
|
||||
|
||||
/*
|
||||
* Backlight off before OS handover
|
||||
*/
|
||||
void board_preboot_os(void)
|
||||
{
|
||||
gpio_request(TEGRA_GPIO(V, 2), "BL_ON");
|
||||
gpio_direction_output(TEGRA_GPIO(V, 2), 0);
|
||||
}
|
||||
|
|
|
@ -38,8 +38,9 @@ DECLARE_GLOBAL_DATA_PTR;
|
|||
#define ENET_PAD_CTRL (PAD_CTL_PUS_47K_UP | PAD_CTL_SPEED_HIGH | \
|
||||
PAD_CTL_DSE_50ohm | PAD_CTL_OBE_IBE_ENABLE)
|
||||
|
||||
#define USB_PEN_GPIO 83
|
||||
#define USB_PEN_GPIO 83
|
||||
#define USB_CDET_GPIO 102
|
||||
#define PTC0_GPIO_45 45
|
||||
|
||||
static struct ddrmc_cr_setting colibri_vf_cr_settings[] = {
|
||||
/* AXI */
|
||||
|
@ -632,3 +633,12 @@ int board_usb_phy_mode(int port)
|
|||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Backlight off before OS handover
|
||||
*/
|
||||
void board_preboot_os(void)
|
||||
{
|
||||
gpio_request(PTC0_GPIO_45, "BL_ON");
|
||||
gpio_direction_output(PTC0_GPIO_45, 0);
|
||||
}
|
||||
|
|
|
@ -29,6 +29,7 @@ CONFIG_CMD_EXT4_WRITE=y
|
|||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
CONFIG_OF_LIVE=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="tegra124-apalis"
|
||||
CONFIG_SYS_I2C_TEGRA=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_RAM=y
|
||||
|
@ -46,6 +47,7 @@ CONFIG_SYS_NS16550=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_TEGRA=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_MANUFACTURER="Toradex"
|
||||
CONFIG_USB_GADGET_VENDOR_NUM=0x1b67
|
||||
|
|
|
@ -26,6 +26,7 @@ CONFIG_CMD_EXT4_WRITE=y
|
|||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
CONFIG_OF_LIVE=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="tegra30-apalis"
|
||||
CONFIG_SYS_I2C_TEGRA=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_RAM=y
|
||||
|
@ -38,6 +39,7 @@ CONFIG_SYS_NS16550=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_TEGRA=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_MANUFACTURER="Toradex"
|
||||
CONFIG_USB_GADGET_VENDOR_NUM=0x1b67
|
||||
|
|
|
@ -26,6 +26,7 @@ CONFIG_CMD_EXT4_WRITE=y
|
|||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
CONFIG_OF_LIVE=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="tegra30-beaver"
|
||||
CONFIG_SYS_I2C_TEGRA=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_RAM=y
|
||||
|
@ -42,6 +43,7 @@ CONFIG_TEGRA20_SLINK=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_TEGRA=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_MANUFACTURER="NVIDIA"
|
||||
CONFIG_USB_GADGET_VENDOR_NUM=0x0955
|
||||
|
|
|
@ -23,6 +23,7 @@ CONFIG_CMD_EXT4_WRITE=y
|
|||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
CONFIG_DEFAULT_DEVICE_TREE="tegra30-cardhu"
|
||||
CONFIG_SYS_I2C_TEGRA=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_WINBOND=y
|
||||
|
@ -36,5 +37,6 @@ CONFIG_TEGRA20_SLINK=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_TEGRA=y
|
||||
CONFIG_USB_HOST_ETHER=y
|
||||
CONFIG_USB_ETHER_ASIX=y
|
||||
|
|
|
@ -25,6 +25,7 @@ CONFIG_CMD_EXT4_WRITE=y
|
|||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
CONFIG_DEFAULT_DEVICE_TREE="tegra124-cei-tk1-som"
|
||||
CONFIG_SYS_I2C_TEGRA=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_RAM=y
|
||||
|
@ -45,6 +46,7 @@ CONFIG_TEGRA114_SPI=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_TEGRA=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_MANUFACTURER="NVIDIA"
|
||||
CONFIG_USB_GADGET_VENDOR_NUM=0x0955
|
||||
|
|
|
@ -34,6 +34,7 @@ CONFIG_CMD_UBI=y
|
|||
CONFIG_OF_LIVE=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="tegra20-colibri"
|
||||
CONFIG_ENV_IS_IN_NAND=y
|
||||
CONFIG_SYS_I2C_TEGRA=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_RAM=y
|
||||
|
@ -47,6 +48,7 @@ CONFIG_SYS_NS16550=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_TEGRA=y
|
||||
CONFIG_USB_ULPI_VIEWPORT=y
|
||||
CONFIG_USB_ULPI=y
|
||||
CONFIG_USB_GADGET=y
|
||||
|
|
|
@ -25,6 +25,7 @@ CONFIG_CMD_EXT4_WRITE=y
|
|||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
CONFIG_OF_LIVE=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="tegra30-colibri"
|
||||
CONFIG_SYS_I2C_TEGRA=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_RAM=y
|
||||
|
@ -32,6 +33,7 @@ CONFIG_SYS_NS16550=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_TEGRA=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_MANUFACTURER="Toradex"
|
||||
CONFIG_USB_GADGET_VENDOR_NUM=0x1b67
|
||||
|
|
|
@ -25,6 +25,7 @@ CONFIG_CMD_EXT4_WRITE=y
|
|||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
CONFIG_DEFAULT_DEVICE_TREE="tegra114-dalmore"
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_SYS_I2C_TEGRA=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_RAM=y
|
||||
|
@ -36,6 +37,7 @@ CONFIG_TEGRA114_SPI=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_TEGRA=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_MANUFACTURER="NVIDIA"
|
||||
CONFIG_USB_GADGET_VENDOR_NUM=0x0955
|
||||
|
|
|
@ -24,6 +24,7 @@ CONFIG_DEFAULT_DEVICE_TREE="tegra210-e2220-1170"
|
|||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_RAM=y
|
||||
CONFIG_DFU_SF=y
|
||||
CONFIG_SYS_I2C_TEGRA=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_WINBOND=y
|
||||
CONFIG_SYS_NS16550=y
|
||||
|
@ -31,6 +32,7 @@ CONFIG_TEGRA114_SPI=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_TEGRA=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_MANUFACTURER="NVIDIA"
|
||||
CONFIG_USB_GADGET_VENDOR_NUM=0x0955
|
||||
|
|
|
@ -41,6 +41,7 @@ CONFIG_SYS_NS16550=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_TEGRA=y
|
||||
CONFIG_USB_ULPI_VIEWPORT=y
|
||||
CONFIG_USB_ULPI=y
|
||||
CONFIG_USB_HOST_ETHER=y
|
||||
|
|
|
@ -26,6 +26,7 @@ CONFIG_CMD_EXT4_WRITE=y
|
|||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
CONFIG_OF_LIVE=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="tegra124-jetson-tk1"
|
||||
CONFIG_SYS_I2C_TEGRA=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_RAM=y
|
||||
|
@ -46,6 +47,7 @@ CONFIG_TEGRA114_SPI=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_TEGRA=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_MANUFACTURER="NVIDIA"
|
||||
CONFIG_USB_GADGET_VENDOR_NUM=0x0955
|
||||
|
|
|
@ -32,6 +32,7 @@ CONFIG_SYS_NS16550=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_TEGRA=y
|
||||
CONFIG_USB_HOST_ETHER=y
|
||||
CONFIG_USB_ETHER_SMSC95XX=y
|
||||
CONFIG_DM_VIDEO=y
|
||||
|
|
|
@ -41,6 +41,7 @@ CONFIG_CMD_EXT4_WRITE=y
|
|||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
CONFIG_OF_LIVE=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="tegra124-nyan-big"
|
||||
CONFIG_SYS_I2C_TEGRA=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_RAM=y
|
||||
|
@ -63,6 +64,7 @@ CONFIG_TPM_TIS_INFINEON=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_TEGRA=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_MANUFACTURER="NVIDIA"
|
||||
CONFIG_USB_GADGET_VENDOR_NUM=0x0955
|
||||
|
|
|
@ -25,6 +25,7 @@ CONFIG_DEFAULT_DEVICE_TREE="tegra210-p2371-0000"
|
|||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_RAM=y
|
||||
CONFIG_DFU_SF=y
|
||||
CONFIG_SYS_I2C_TEGRA=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_WINBOND=y
|
||||
CONFIG_SYS_NS16550=y
|
||||
|
@ -32,6 +33,7 @@ CONFIG_TEGRA114_SPI=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_TEGRA=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_MANUFACTURER="NVIDIA"
|
||||
CONFIG_USB_GADGET_VENDOR_NUM=0x0955
|
||||
|
|
|
@ -27,6 +27,7 @@ CONFIG_DEFAULT_DEVICE_TREE="tegra210-p2371-2180"
|
|||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_RAM=y
|
||||
CONFIG_DFU_SF=y
|
||||
CONFIG_SYS_I2C_TEGRA=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_WINBOND=y
|
||||
CONFIG_RTL8169=y
|
||||
|
@ -39,6 +40,7 @@ CONFIG_TEGRA114_SPI=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_TEGRA=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_MANUFACTURER="NVIDIA"
|
||||
CONFIG_USB_GADGET_VENDOR_NUM=0x0955
|
||||
|
|
|
@ -25,6 +25,7 @@ CONFIG_DEFAULT_DEVICE_TREE="tegra210-p2571"
|
|||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_RAM=y
|
||||
CONFIG_DFU_SF=y
|
||||
CONFIG_SYS_I2C_TEGRA=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_WINBOND=y
|
||||
CONFIG_SYS_NS16550=y
|
||||
|
@ -32,6 +33,7 @@ CONFIG_TEGRA114_SPI=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_TEGRA=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_MANUFACTURER="NVIDIA"
|
||||
CONFIG_USB_GADGET_VENDOR_NUM=0x0955
|
||||
|
|
|
@ -20,6 +20,7 @@ CONFIG_CMD_USB=y
|
|||
# CONFIG_CMD_NFS is not set
|
||||
CONFIG_CMD_EXT4_WRITE=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="tegra186-p2771-0000-000"
|
||||
CONFIG_SYS_I2C_TEGRA=y
|
||||
CONFIG_TEGRA186_BPMP_I2C=y
|
||||
CONFIG_DWC_ETH_QOS=y
|
||||
CONFIG_E1000=y
|
||||
|
|
|
@ -20,6 +20,7 @@ CONFIG_CMD_USB=y
|
|||
# CONFIG_CMD_NFS is not set
|
||||
CONFIG_CMD_EXT4_WRITE=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="tegra186-p2771-0000-500"
|
||||
CONFIG_SYS_I2C_TEGRA=y
|
||||
CONFIG_TEGRA186_BPMP_I2C=y
|
||||
CONFIG_DWC_ETH_QOS=y
|
||||
CONFIG_E1000=y
|
||||
|
|
|
@ -30,6 +30,7 @@ CONFIG_SYS_NS16550=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_TEGRA=y
|
||||
CONFIG_USB_HOST_ETHER=y
|
||||
CONFIG_USB_ETHER_ASIX=y
|
||||
CONFIG_DM_VIDEO=y
|
||||
|
|
|
@ -27,5 +27,6 @@ CONFIG_SYS_NS16550=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_TEGRA=y
|
||||
CONFIG_USB_HOST_ETHER=y
|
||||
CONFIG_USB_ETHER_SMSC95XX=y
|
||||
|
|
|
@ -22,6 +22,8 @@ CONFIG_CMD_EXT4_WRITE=y
|
|||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
CONFIG_DEFAULT_DEVICE_TREE="tegra20-seaboard"
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_SYS_I2C_TEGRA=y
|
||||
CONFIG_TEGRA_KEYBOARD=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_DM_PMIC=y
|
||||
CONFIG_DM_REGULATOR=y
|
||||
|
@ -31,6 +33,7 @@ CONFIG_SYS_NS16550=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_TEGRA=y
|
||||
CONFIG_USB_ULPI_VIEWPORT=y
|
||||
CONFIG_USB_ULPI=y
|
||||
CONFIG_USB_KEYBOARD=y
|
||||
|
|
|
@ -23,6 +23,7 @@ CONFIG_CMD_EXT4_WRITE=y
|
|||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
CONFIG_DEFAULT_DEVICE_TREE="tegra30-tec-ng"
|
||||
CONFIG_SYS_I2C_TEGRA=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_WINBOND=y
|
||||
|
@ -31,5 +32,6 @@ CONFIG_TEGRA20_SLINK=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_TEGRA=y
|
||||
CONFIG_USB_HOST_ETHER=y
|
||||
CONFIG_USB_ETHER_SMSC95XX=y
|
||||
|
|
|
@ -32,6 +32,7 @@ CONFIG_SYS_NS16550=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_TEGRA=y
|
||||
CONFIG_USB_HOST_ETHER=y
|
||||
CONFIG_USB_ETHER_SMSC95XX=y
|
||||
CONFIG_DM_VIDEO=y
|
||||
|
|
|
@ -24,6 +24,7 @@ CONFIG_CMD_EXT4_WRITE=y
|
|||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
CONFIG_DEFAULT_DEVICE_TREE="tegra20-trimslice"
|
||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_SYS_I2C_TEGRA=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_WINBOND=y
|
||||
|
@ -37,5 +38,6 @@ CONFIG_TEGRA20_SFLASH=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_TEGRA=y
|
||||
CONFIG_USB_HOST_ETHER=y
|
||||
CONFIG_USB_ETHER_ASIX=y
|
||||
|
|
|
@ -24,6 +24,7 @@ CONFIG_CMD_EXT4_WRITE=y
|
|||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
CONFIG_DEFAULT_DEVICE_TREE="tegra124-venice2"
|
||||
CONFIG_SYS_I2C_TEGRA=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_RAM=y
|
||||
|
@ -35,6 +36,7 @@ CONFIG_TEGRA114_SPI=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_TEGRA=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_MANUFACTURER="NVIDIA"
|
||||
CONFIG_USB_GADGET_VENDOR_NUM=0x0955
|
||||
|
|
|
@ -29,6 +29,7 @@ CONFIG_SYS_NS16550=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_TEGRA=y
|
||||
CONFIG_USB_ULPI_VIEWPORT=y
|
||||
CONFIG_USB_ULPI=y
|
||||
CONFIG_USB_KEYBOARD=y
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
images {
|
||||
kernel {
|
||||
description = "U-Boot mainline";
|
||||
description = "U-Boot mainline ";
|
||||
type = "kernel_noload";
|
||||
arch = "arm";
|
||||
os = "linux";
|
||||
|
|
|
@ -400,6 +400,12 @@ config SYS_I2C_STM32F7
|
|||
_ Optional clock stretching
|
||||
_ Software reset
|
||||
|
||||
config SYS_I2C_TEGRA
|
||||
bool "NVIDIA Tegra internal I2C controller"
|
||||
depends on TEGRA
|
||||
help
|
||||
Support for NVIDIA I2C controller available in Tegra SoCs.
|
||||
|
||||
config SYS_I2C_UNIPHIER
|
||||
bool "UniPhier I2C driver"
|
||||
depends on ARCH_UNIPHIER && DM_I2C
|
||||
|
|
|
@ -73,6 +73,12 @@ config I8042_KEYB
|
|||
variable 'keymap' to "de" to select German. Keyboard repeat is
|
||||
handled by the keyboard itself.
|
||||
|
||||
config TEGRA_KEYBOARD
|
||||
bool "NVIDIA Tegra internal matrix keyboard controller support"
|
||||
help
|
||||
A matrix keyboard connected directly to the internal keyboard
|
||||
controller on Tegra SoCs.
|
||||
|
||||
config TWL4030_INPUT
|
||||
bool "Enable TWL4030 Input controller"
|
||||
help
|
||||
|
|
|
@ -179,6 +179,12 @@ config USB_EHCI_PCI
|
|||
help
|
||||
Enables support for the PCI-based EHCI controller.
|
||||
|
||||
config USB_EHCI_TEGRA
|
||||
bool "Support for NVIDIA Tegra on-chip EHCI USB controller"
|
||||
depends on TEGRA
|
||||
---help---
|
||||
Enable support for Tegra on-chip EHCI USB controller
|
||||
|
||||
config USB_EHCI_ZYNQ
|
||||
bool "Support for Xilinx Zynq on-chip EHCI USB controller"
|
||||
depends on ARCH_ZYNQ
|
||||
|
|
|
@ -14,15 +14,10 @@
|
|||
|
||||
#define CONFIG_ARCH_MISC_INIT
|
||||
|
||||
/* High-level configuration options */
|
||||
|
||||
/* Board-specific serial config */
|
||||
#define CONFIG_TEGRA_ENABLE_UARTA
|
||||
#define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
|
||||
/* SD/MMC support */
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
|
||||
|
||||
|
@ -32,9 +27,6 @@
|
|||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
#define CONFIG_SYS_MMC_ENV_PART 1
|
||||
|
||||
/* USB host support */
|
||||
#define CONFIG_USB_EHCI_TEGRA
|
||||
|
||||
/* PCI host support */
|
||||
#undef CONFIG_PCI_SCAN_SHOW
|
||||
|
||||
|
|
|
@ -12,28 +12,18 @@
|
|||
|
||||
#include "tegra30-common.h"
|
||||
|
||||
/* High-level configuration options */
|
||||
|
||||
/* Board-specific serial config */
|
||||
#define CONFIG_TEGRA_ENABLE_UARTA
|
||||
#define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE
|
||||
|
||||
#define CONFIG_MACH_TYPE MACH_TYPE_APALIS_T30
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
|
||||
/* Environment in eMMC, before config block at the end of 1st "boot sector" */
|
||||
#define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE + \
|
||||
CONFIG_TDX_CFG_BLOCK_OFFSET)
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
#define CONFIG_SYS_MMC_ENV_PART 1
|
||||
|
||||
/* USB host support */
|
||||
#define CONFIG_USB_EHCI_TEGRA
|
||||
|
||||
/* PCI host support */
|
||||
|
||||
/* PCI networking support */
|
||||
#define CONFIG_E1000_NO_NVM
|
||||
|
||||
|
|
|
@ -22,9 +22,6 @@
|
|||
|
||||
#define CONFIG_MACH_TYPE MACH_TYPE_BEAVER
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
|
||||
/* Environment in eMMC, at the end of 2nd "boot sector" */
|
||||
#define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
|
@ -36,15 +33,6 @@
|
|||
#define CONFIG_SF_DEFAULT_SPEED 24000000
|
||||
#define CONFIG_SPI_FLASH_SIZE (4 << 20)
|
||||
|
||||
/* USB Host support */
|
||||
#define CONFIG_USB_EHCI_TEGRA
|
||||
|
||||
/* USB networking support */
|
||||
|
||||
/* PCI host support */
|
||||
|
||||
/* General networking support */
|
||||
|
||||
#include "tegra-common-usb-gadget.h"
|
||||
#include "tegra-common-post.h"
|
||||
|
||||
|
|
|
@ -26,9 +26,6 @@
|
|||
|
||||
#define CONFIG_MACH_TYPE MACH_TYPE_CARDHU
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
|
||||
/* Environment in eMMC, at the end of 2nd "boot sector" */
|
||||
#define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
|
@ -40,15 +37,6 @@
|
|||
#define CONFIG_SF_DEFAULT_SPEED 24000000
|
||||
#define CONFIG_SPI_FLASH_SIZE (4 << 20)
|
||||
|
||||
/* USB Host support */
|
||||
#define CONFIG_USB_EHCI_TEGRA
|
||||
|
||||
/* USB networking support */
|
||||
|
||||
/* PCI host support */
|
||||
|
||||
/* General networking support */
|
||||
|
||||
#include "tegra-common-post.h"
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
|
|
@ -22,9 +22,6 @@
|
|||
#define CONFIG_TEGRA_ENABLE_UARTD
|
||||
#define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
|
||||
/* Environment in eMMC, at the end of 2nd "boot sector" */
|
||||
#define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
|
@ -35,15 +32,6 @@
|
|||
#define CONFIG_SF_DEFAULT_SPEED 24000000
|
||||
#define CONFIG_SPI_FLASH_SIZE (4 << 20)
|
||||
|
||||
/* USB Host support */
|
||||
#define CONFIG_USB_EHCI_TEGRA
|
||||
|
||||
/* USB networking support */
|
||||
|
||||
/* PCI host support */
|
||||
|
||||
/* General networking support */
|
||||
|
||||
#include "tegra-common-usb-gadget.h"
|
||||
#include "tegra-common-post.h"
|
||||
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
|
||||
#include "tegra20-common.h"
|
||||
|
||||
/* High-level configuration options */
|
||||
|
||||
/* Board-specific serial config */
|
||||
#define CONFIG_TEGRA_ENABLE_UARTA
|
||||
#define CONFIG_TEGRA_UARTA_SDIO1
|
||||
|
@ -19,15 +17,6 @@
|
|||
|
||||
#define CONFIG_MACH_TYPE MACH_TYPE_COLIBRI_TEGRA2
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
|
||||
/* USB host support */
|
||||
#define CONFIG_USB_EHCI_TEGRA
|
||||
#define CONFIG_USB_MAX_CONTROLLER_COUNT 3
|
||||
|
||||
/* USB networking support */
|
||||
|
||||
/* General networking support */
|
||||
#define CONFIG_IP_DEFRAG
|
||||
#define CONFIG_TFTP_BLOCKSIZE 1536
|
||||
|
@ -40,8 +29,6 @@
|
|||
#define CONFIG_TEGRA_NAND
|
||||
#define CONFIG_SYS_MAX_NAND_DEVICE 1
|
||||
|
||||
/* Dynamic MTD partition support */
|
||||
|
||||
/* Environment in NAND, 64K is a bit excessive but erase block is 512K anyway */
|
||||
#define CONFIG_ENV_OFFSET (SZ_2M)
|
||||
#undef CONFIG_ENV_SIZE /* undef size from tegra20-common.h */
|
||||
|
|
|
@ -20,20 +20,12 @@
|
|||
|
||||
#define CONFIG_MACH_TYPE MACH_TYPE_COLIBRI_T30
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
|
||||
/* Environment in eMMC, before config block at the end of 1st "boot sector" */
|
||||
#define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE + \
|
||||
CONFIG_TDX_CFG_BLOCK_OFFSET)
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
#define CONFIG_SYS_MMC_ENV_PART 1
|
||||
|
||||
/* USB host support */
|
||||
#define CONFIG_USB_EHCI_TEGRA
|
||||
|
||||
/* USB networking support */
|
||||
|
||||
/* General networking support */
|
||||
#define CONFIG_IP_DEFRAG
|
||||
#define CONFIG_TFTP_BLOCKSIZE 16352
|
||||
|
|
|
@ -19,9 +19,6 @@
|
|||
|
||||
#define CONFIG_MACH_TYPE MACH_TYPE_DALMORE
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
|
||||
/* Environment in eMMC, at the end of 2nd "boot sector" */
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
#define CONFIG_SYS_MMC_ENV_PART 2
|
||||
|
@ -32,13 +29,6 @@
|
|||
#define CONFIG_SF_DEFAULT_SPEED 24000000
|
||||
#define CONFIG_SPI_FLASH_SIZE (4 << 20)
|
||||
|
||||
/* USB Host support */
|
||||
#define CONFIG_USB_EHCI_TEGRA
|
||||
|
||||
/* USB networking support */
|
||||
|
||||
/* General networking support */
|
||||
|
||||
#include "tegra-common-usb-gadget.h"
|
||||
#include "tegra-common-post.h"
|
||||
|
||||
|
|
|
@ -17,9 +17,6 @@
|
|||
/* Board-specific serial config */
|
||||
#define CONFIG_TEGRA_ENABLE_UARTA
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
|
||||
/* Environment in eMMC, at the end of 2nd "boot sector" */
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
#define CONFIG_SYS_MMC_ENV_PART 2
|
||||
|
@ -30,13 +27,6 @@
|
|||
#define CONFIG_SF_DEFAULT_SPEED 24000000
|
||||
#define CONFIG_SPI_FLASH_SIZE (4 << 20)
|
||||
|
||||
/* USB2.0 Host support */
|
||||
#define CONFIG_USB_EHCI_TEGRA
|
||||
|
||||
/* USB networking support */
|
||||
|
||||
/* General networking support */
|
||||
|
||||
#include "tegra-common-usb-gadget.h"
|
||||
#include "tegra-common-post.h"
|
||||
|
||||
|
|
|
@ -29,16 +29,9 @@
|
|||
#define CONFIG_TEGRA_NAND
|
||||
#define CONFIG_SYS_MAX_NAND_DEVICE 1
|
||||
|
||||
/* Dynamic MTD partition support */
|
||||
|
||||
/* Environment in NAND (which is 512M), aligned to start of last sector */
|
||||
#define CONFIG_ENV_OFFSET (SZ_512M - SZ_128K) /* 128K sector size */
|
||||
|
||||
/* USB Host support */
|
||||
#define CONFIG_USB_EHCI_TEGRA
|
||||
|
||||
/* USB networking support */
|
||||
|
||||
#include "tegra-common-post.h"
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
|
|
@ -18,9 +18,6 @@
|
|||
#define CONFIG_TEGRA_ENABLE_UARTD
|
||||
#define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
|
||||
/* Environment in eMMC, at the end of 2nd "boot sector" */
|
||||
#define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
|
@ -31,15 +28,6 @@
|
|||
#define CONFIG_SF_DEFAULT_SPEED 24000000
|
||||
#define CONFIG_SPI_FLASH_SIZE (4 << 20)
|
||||
|
||||
/* USB Host support */
|
||||
#define CONFIG_USB_EHCI_TEGRA
|
||||
|
||||
/* USB networking support */
|
||||
|
||||
/* PCI host support */
|
||||
|
||||
/* General networking support */
|
||||
|
||||
#include "tegra-common-usb-gadget.h"
|
||||
#include "tegra-common-post.h"
|
||||
|
||||
|
|
|
@ -25,11 +25,6 @@
|
|||
/* Environment in NAND, aligned to start of last sector */
|
||||
#define CONFIG_ENV_OFFSET (SZ_512M - SZ_128K) /* 128K sectors */
|
||||
|
||||
/* USB host support */
|
||||
#define CONFIG_USB_EHCI_TEGRA
|
||||
|
||||
/* USB networking support */
|
||||
|
||||
#include "tegra-common-post.h"
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
|
|
@ -18,9 +18,6 @@
|
|||
#define CONFIG_TEGRA_ENABLE_UARTA
|
||||
#define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
|
||||
/* Environment in eMMC, at the end of 2nd "boot sector" */
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
#define CONFIG_SYS_MMC_ENV_PART 2
|
||||
|
@ -34,15 +31,6 @@
|
|||
#define CONFIG_SF_DEFAULT_SPEED 24000000
|
||||
#define CONFIG_SPI_FLASH_SIZE (4 << 20)
|
||||
|
||||
/* USB Host support */
|
||||
#define CONFIG_USB_EHCI_TEGRA
|
||||
|
||||
/* USB networking support */
|
||||
|
||||
/* General networking support */
|
||||
|
||||
#define CONFIG_KEYBOARD
|
||||
|
||||
#undef CONFIG_LOADADDR
|
||||
#define CONFIG_LOADADDR 0x82408000
|
||||
|
||||
|
|
|
@ -17,9 +17,6 @@
|
|||
/* Board-specific serial config */
|
||||
#define CONFIG_TEGRA_ENABLE_UARTA
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
|
||||
/* Environment in eMMC, at the end of 2nd "boot sector" */
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
#define CONFIG_SYS_MMC_ENV_PART 2
|
||||
|
@ -30,13 +27,6 @@
|
|||
#define CONFIG_SF_DEFAULT_SPEED 24000000
|
||||
#define CONFIG_SPI_FLASH_SIZE (4 << 20)
|
||||
|
||||
/* USB2.0 Host support */
|
||||
#define CONFIG_USB_EHCI_TEGRA
|
||||
|
||||
/* USB networking support */
|
||||
|
||||
/* General networking support */
|
||||
|
||||
#include "tegra-common-usb-gadget.h"
|
||||
#include "tegra-common-post.h"
|
||||
|
||||
|
|
|
@ -17,9 +17,6 @@
|
|||
/* Board-specific serial config */
|
||||
#define CONFIG_TEGRA_ENABLE_UARTA
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
|
||||
/* Environment in eMMC, at the end of 2nd "boot sector" */
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
#define CONFIG_SYS_MMC_ENV_PART 2
|
||||
|
@ -30,15 +27,6 @@
|
|||
#define CONFIG_SF_DEFAULT_SPEED 24000000
|
||||
#define CONFIG_SPI_FLASH_SIZE (4 << 20)
|
||||
|
||||
/* USB2.0 Host support */
|
||||
#define CONFIG_USB_EHCI_TEGRA
|
||||
|
||||
/* USB networking support */
|
||||
|
||||
/* PCI host support */
|
||||
|
||||
/* General networking support */
|
||||
|
||||
#include "tegra-common-usb-gadget.h"
|
||||
#include "tegra-common-post.h"
|
||||
|
||||
|
|
|
@ -18,9 +18,6 @@
|
|||
#define CONFIG_SERIAL_MULTI
|
||||
#define CONFIG_TEGRA_ENABLE_UARTA
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
|
||||
/* Environment in eMMC, at the end of 2nd "boot sector" */
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
#define CONFIG_SYS_MMC_ENV_PART 2
|
||||
|
@ -31,13 +28,6 @@
|
|||
#define CONFIG_SF_DEFAULT_SPEED 24000000
|
||||
#define CONFIG_SPI_FLASH_SIZE (4 << 20)
|
||||
|
||||
/* USB2.0 Host support */
|
||||
#define CONFIG_USB_EHCI_TEGRA
|
||||
|
||||
/* USB networking support */
|
||||
|
||||
/* General networking support */
|
||||
|
||||
#include "tegra-common-usb-gadget.h"
|
||||
#include "tegra-common-post.h"
|
||||
|
||||
|
|
|
@ -13,16 +13,11 @@
|
|||
/* High-level configuration options */
|
||||
#define CONFIG_TEGRA_BOARD_STRING "NVIDIA P2771-0000"
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
|
||||
/* Environment in eMMC, at the end of 2nd "boot sector" */
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
#define CONFIG_SYS_MMC_ENV_PART 2
|
||||
#define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
|
||||
|
||||
/* PCI host support */
|
||||
|
||||
#define BOARD_EXTRA_ENV_SETTINGS \
|
||||
"calculated_vars=kernel_addr_r fdt_addr_r scriptaddr pxefile_addr_r " \
|
||||
"ramdisk_addr_r\0" \
|
||||
|
|
|
@ -26,11 +26,6 @@
|
|||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
#define CONFIG_SYS_MMC_ENV_PART 2
|
||||
|
||||
/* USB Host support */
|
||||
#define CONFIG_USB_EHCI_TEGRA
|
||||
|
||||
/* USB networking support */
|
||||
|
||||
#include "tegra-common-post.h"
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
|
|
@ -25,13 +25,6 @@
|
|||
/* Environment in NAND, aligned to start of last sector */
|
||||
#define CONFIG_ENV_OFFSET (SZ_512M - SZ_128K) /* 128K sectors */
|
||||
|
||||
/* USB host support */
|
||||
#define CONFIG_USB_EHCI_TEGRA
|
||||
|
||||
/* USB networking support */
|
||||
|
||||
/* General networking support */
|
||||
|
||||
#include "tegra-common-post.h"
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
|
|
@ -26,23 +26,11 @@
|
|||
|
||||
#define CONFIG_MACH_TYPE MACH_TYPE_SEABOARD
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
|
||||
/* Environment in eMMC, at the end of 2nd "boot sector" */
|
||||
#define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
#define CONFIG_SYS_MMC_ENV_PART 2
|
||||
|
||||
/* USB Host support */
|
||||
#define CONFIG_USB_EHCI_TEGRA
|
||||
|
||||
/* USB networking support */
|
||||
|
||||
/* Enable keyboard */
|
||||
#define CONFIG_TEGRA_KEYBOARD
|
||||
#define CONFIG_KEYBOARD
|
||||
|
||||
/* NAND support */
|
||||
#define CONFIG_TEGRA_NAND
|
||||
|
||||
|
|
|
@ -16,9 +16,6 @@
|
|||
#define CONFIG_TEGRA_ENABLE_UARTD
|
||||
#define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
|
||||
/* Environment in eMMC, at the end of 2nd "boot sector" */
|
||||
#define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
|
@ -30,13 +27,6 @@
|
|||
#define CONFIG_SF_DEFAULT_SPEED 24000000
|
||||
#define CONFIG_SPI_FLASH_SIZE (4 << 20)
|
||||
|
||||
/* USB Host support */
|
||||
#define CONFIG_USB_EHCI_TEGRA
|
||||
|
||||
/* USB networking support */
|
||||
|
||||
/* General networking support */
|
||||
|
||||
/* Tag support */
|
||||
#define CONFIG_CMDLINE_TAG
|
||||
#define CONFIG_SETUP_MEMORY_TAGS
|
||||
|
|
|
@ -25,11 +25,6 @@
|
|||
/* Environment in NAND, aligned to start of last sector */
|
||||
#define CONFIG_ENV_OFFSET (SZ_512M - SZ_128K) /* 128K sectors */
|
||||
|
||||
/* USB host support */
|
||||
#define CONFIG_USB_EHCI_TEGRA
|
||||
|
||||
/* USB networking support */
|
||||
|
||||
#include "tegra-common-post.h"
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
|
|
@ -39,15 +39,9 @@
|
|||
*/
|
||||
#define CONFIG_SYS_MMC_MAX_DEVICE 4
|
||||
|
||||
/*
|
||||
* select serial console configuration
|
||||
*/
|
||||
|
||||
/* allow to overwrite serial and ethaddr */
|
||||
#define CONFIG_ENV_OVERWRITE
|
||||
|
||||
/* turn on command-line edit/hist/auto */
|
||||
|
||||
/*
|
||||
* Increasing the size of the IO buffer as default nfsargs size is more
|
||||
* than 256 and so it is not possible to edit it
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
/*
|
||||
* Miscellaneous configurable options
|
||||
*/
|
||||
#define CONFIG_STACKBASE 0x82800000 /* 40MB */
|
||||
#define CONFIG_STACKBASE 0x83800000 /* 56MB */
|
||||
|
||||
/*-----------------------------------------------------------------------
|
||||
* Physical Memory Map
|
||||
|
@ -36,13 +36,13 @@
|
|||
* should not overlap that area, or the kernel will have to copy itself
|
||||
* somewhere else before decompression. Similarly, the address of any other
|
||||
* data passed to the kernel shouldn't overlap the start of RAM. Pushing
|
||||
* this up to 16M allows for a sizable kernel to be decompressed below the
|
||||
* this up to 32M allows for a sizable kernel to be decompressed below the
|
||||
* compressed load address.
|
||||
*
|
||||
* fdt_addr_r simply shouldn't overlap anything else. Choosing 32M allows for
|
||||
* the compressed kernel to be up to 16M too.
|
||||
* fdt_addr_r simply shouldn't overlap anything else. Choosing 48M allows for
|
||||
* the compressed kernel to be up to 32M too.
|
||||
*
|
||||
* ramdisk_addr_r simply shouldn't overlap anything else. Choosing 33M allows
|
||||
* ramdisk_addr_r simply shouldn't overlap anything else. Choosing 49M allows
|
||||
* for the FDT/DTB to be up to 1M, which is hopefully plenty.
|
||||
*/
|
||||
#define CONFIG_LOADADDR 0x81000000
|
||||
|
@ -50,8 +50,8 @@
|
|||
"scriptaddr=0x90000000\0" \
|
||||
"pxefile_addr_r=0x90100000\0" \
|
||||
"kernel_addr_r=" __stringify(CONFIG_LOADADDR) "\0" \
|
||||
"fdt_addr_r=0x82000000\0" \
|
||||
"ramdisk_addr_r=0x82100000\0"
|
||||
"fdt_addr_r=0x83000000\0" \
|
||||
"ramdisk_addr_r=0x83100000\0"
|
||||
|
||||
/* Defines for SPL */
|
||||
#define CONFIG_SPL_TEXT_BASE 0x80108000
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
/*
|
||||
* Miscellaneous configurable options
|
||||
*/
|
||||
#define CONFIG_STACKBASE 0x82800000 /* 40MB */
|
||||
#define CONFIG_STACKBASE 0x83800000 /* 56MB */
|
||||
|
||||
/*-----------------------------------------------------------------------
|
||||
* Physical Memory Map
|
||||
|
@ -38,13 +38,13 @@
|
|||
* should not overlap that area, or the kernel will have to copy itself
|
||||
* somewhere else before decompression. Similarly, the address of any other
|
||||
* data passed to the kernel shouldn't overlap the start of RAM. Pushing
|
||||
* this up to 16M allows for a sizable kernel to be decompressed below the
|
||||
* this up to 32M allows for a sizable kernel to be decompressed below the
|
||||
* compressed load address.
|
||||
*
|
||||
* fdt_addr_r simply shouldn't overlap anything else. Choosing 32M allows for
|
||||
* the compressed kernel to be up to 16M too.
|
||||
* fdt_addr_r simply shouldn't overlap anything else. Choosing 48M allows for
|
||||
* the compressed kernel to be up to 32M too.
|
||||
*
|
||||
* ramdisk_addr_r simply shouldn't overlap anything else. Choosing 33M allows
|
||||
* ramdisk_addr_r simply shouldn't overlap anything else. Choosing 49M allows
|
||||
* for the FDT/DTB to be up to 1M, which is hopefully plenty.
|
||||
*/
|
||||
#define CONFIG_LOADADDR 0x81000000
|
||||
|
@ -52,8 +52,8 @@
|
|||
"scriptaddr=0x90000000\0" \
|
||||
"pxefile_addr_r=0x90100000\0" \
|
||||
"kernel_addr_r=" __stringify(CONFIG_LOADADDR) "\0" \
|
||||
"fdt_addr_r=0x82000000\0" \
|
||||
"ramdisk_addr_r=0x82100000\0"
|
||||
"fdt_addr_r=0x83000000\0" \
|
||||
"ramdisk_addr_r=0x83100000\0"
|
||||
|
||||
/* Defines for SPL */
|
||||
#define CONFIG_SPL_TEXT_BASE 0x80108000
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
/*
|
||||
* Miscellaneous configurable options
|
||||
*/
|
||||
#define CONFIG_STACKBASE 0x02800000 /* 40MB */
|
||||
#define CONFIG_STACKBASE 0x03800000 /* 56MB */
|
||||
|
||||
/*-----------------------------------------------------------------------
|
||||
* Physical Memory Map
|
||||
|
@ -37,13 +37,13 @@
|
|||
* should not overlap that area, or the kernel will have to copy itself
|
||||
* somewhere else before decompression. Similarly, the address of any other
|
||||
* data passed to the kernel shouldn't overlap the start of RAM. Pushing
|
||||
* this up to 16M allows for a sizable kernel to be decompressed below the
|
||||
* this up to 32M allows for a sizable kernel to be decompressed below the
|
||||
* compressed load address.
|
||||
*
|
||||
* fdt_addr_r simply shouldn't overlap anything else. Choosing 32M allows for
|
||||
* the compressed kernel to be up to 16M too.
|
||||
* fdt_addr_r simply shouldn't overlap anything else. Choosing 48M allows for
|
||||
* the compressed kernel to be up to 32M too.
|
||||
*
|
||||
* ramdisk_addr_r simply shouldn't overlap anything else. Choosing 33M allows
|
||||
* ramdisk_addr_r simply shouldn't overlap anything else. Choosing 49M allows
|
||||
* for the FDT/DTB to be up to 1M, which is hopefully plenty.
|
||||
*/
|
||||
#define CONFIG_LOADADDR 0x01000000
|
||||
|
@ -51,8 +51,8 @@
|
|||
"scriptaddr=0x10000000\0" \
|
||||
"pxefile_addr_r=0x10100000\0" \
|
||||
"kernel_addr_r=" __stringify(CONFIG_LOADADDR) "\0" \
|
||||
"fdt_addr_r=0x02000000\0" \
|
||||
"ramdisk_addr_r=0x02100000\0"
|
||||
"fdt_addr_r=0x03000000\0" \
|
||||
"ramdisk_addr_r=0x03100000\0"
|
||||
|
||||
/* Defines for SPL */
|
||||
#define CONFIG_SPL_TEXT_BASE 0x00108000
|
||||
|
@ -78,7 +78,7 @@
|
|||
* parameter, the default (2) causes occasional Data Buffer Errors in OUT
|
||||
* packets depending on the buffer address and size.
|
||||
*/
|
||||
#define CONFIG_USB_EHCI_TXFIFO_THRESH 10
|
||||
#define CONFIG_USB_EHCI_TXFIFO_THRESH 0x10
|
||||
#define CONFIG_EHCI_IS_TDI
|
||||
|
||||
#define CONFIG_SYS_NAND_SELF_INIT
|
||||
|
|
|
@ -14,10 +14,6 @@
|
|||
*/
|
||||
#define V_NS16550_CLK 408000000 /* 408MHz (pllp_out0) */
|
||||
|
||||
/*-----------------------------------------------------------------------
|
||||
* Physical Memory Map
|
||||
*/
|
||||
|
||||
/* Generic Interrupt Controller */
|
||||
#define CONFIG_GICV2
|
||||
|
||||
|
|
|
@ -16,11 +16,7 @@
|
|||
/*
|
||||
* Miscellaneous configurable options
|
||||
*/
|
||||
#define CONFIG_STACKBASE 0x82800000 /* 40MB */
|
||||
|
||||
/*-----------------------------------------------------------------------
|
||||
* Physical Memory Map
|
||||
*/
|
||||
#define CONFIG_STACKBASE 0x83800000 /* 56MB */
|
||||
|
||||
/*
|
||||
* Memory layout for where various images get loaded by boot scripts:
|
||||
|
@ -37,13 +33,13 @@
|
|||
* should not overlap that area, or the kernel will have to copy itself
|
||||
* somewhere else before decompression. Similarly, the address of any other
|
||||
* data passed to the kernel shouldn't overlap the start of RAM. Pushing
|
||||
* this up to 16M allows for a sizable kernel to be decompressed below the
|
||||
* this up to 32M allows for a sizable kernel to be decompressed below the
|
||||
* compressed load address.
|
||||
*
|
||||
* fdt_addr_r simply shouldn't overlap anything else. Choosing 32M allows for
|
||||
* the compressed kernel to be up to 16M too.
|
||||
* fdt_addr_r simply shouldn't overlap anything else. Choosing 48M allows for
|
||||
* the compressed kernel to be up to 32M too.
|
||||
*
|
||||
* ramdisk_addr_r simply shouldn't overlap anything else. Choosing 33M allows
|
||||
* ramdisk_addr_r simply shouldn't overlap anything else. Choosing 49M allows
|
||||
* for the FDT/DTB to be up to 1M, which is hopefully plenty.
|
||||
*/
|
||||
#define CONFIG_LOADADDR 0x81000000
|
||||
|
@ -51,8 +47,8 @@
|
|||
"scriptaddr=0x90000000\0" \
|
||||
"pxefile_addr_r=0x90100000\0" \
|
||||
"kernel_addr_r=" __stringify(CONFIG_LOADADDR) "\0" \
|
||||
"fdt_addr_r=0x82000000\0" \
|
||||
"ramdisk_addr_r=0x82100000\0"
|
||||
"fdt_addr_r=0x83000000\0" \
|
||||
"ramdisk_addr_r=0x83100000\0"
|
||||
|
||||
/* Defines for SPL */
|
||||
#define CONFIG_SPL_TEXT_BASE 0x80108000
|
||||
|
|
|
@ -23,9 +23,6 @@
|
|||
/* SPI */
|
||||
#define CONFIG_SF_DEFAULT_MODE SPI_MODE_0
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
|
||||
/* Environment in SPI */
|
||||
#define CONFIG_ENV_SPI_MAX_HZ 48000000
|
||||
#define CONFIG_ENV_SPI_MODE SPI_MODE_0
|
||||
|
@ -33,15 +30,6 @@
|
|||
/* 1MiB flash, environment located as high as possible */
|
||||
#define CONFIG_ENV_OFFSET (SZ_1M - CONFIG_ENV_SIZE)
|
||||
|
||||
/* USB Host support */
|
||||
#define CONFIG_USB_EHCI_TEGRA
|
||||
|
||||
/* USB networking support */
|
||||
|
||||
/* PCI host support */
|
||||
|
||||
/* General networking support */
|
||||
|
||||
#include "tegra-common-post.h"
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
|
|
@ -18,9 +18,6 @@
|
|||
#define CONFIG_TEGRA_ENABLE_UARTA
|
||||
#define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
|
||||
/* Environment in eMMC, at the end of 2nd "boot sector" */
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
#define CONFIG_SYS_MMC_ENV_PART 2
|
||||
|
@ -31,13 +28,6 @@
|
|||
#define CONFIG_SF_DEFAULT_SPEED 24000000
|
||||
#define CONFIG_SPI_FLASH_SIZE (4 << 20)
|
||||
|
||||
/* USB Host support */
|
||||
#define CONFIG_USB_EHCI_TEGRA
|
||||
|
||||
/* USB networking support */
|
||||
|
||||
/* General networking support */
|
||||
|
||||
#include "tegra-common-usb-gadget.h"
|
||||
#include "tegra-common-post.h"
|
||||
|
||||
|
|
|
@ -24,11 +24,6 @@
|
|||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
#define CONFIG_SYS_MMC_ENV_PART 2
|
||||
|
||||
/* USB Host support */
|
||||
#define CONFIG_USB_EHCI_TEGRA
|
||||
|
||||
/* USB networking support */
|
||||
|
||||
#include "tegra-common-post.h"
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
|
|
@ -3140,7 +3140,6 @@ CONFIG_SYS_I2C_SPEED2
|
|||
CONFIG_SYS_I2C_SPEED3
|
||||
CONFIG_SYS_I2C_TCA642X_ADDR
|
||||
CONFIG_SYS_I2C_TCA642X_BUS_NUM
|
||||
CONFIG_SYS_I2C_TEGRA
|
||||
CONFIG_SYS_I2C_W83782G_ADDR
|
||||
CONFIG_SYS_IBAT
|
||||
CONFIG_SYS_IBAT0L
|
||||
|
@ -4391,7 +4390,6 @@ CONFIG_TEGRA_ENABLE_UARTC
|
|||
CONFIG_TEGRA_ENABLE_UARTD
|
||||
CONFIG_TEGRA_ENABLE_UARTE
|
||||
CONFIG_TEGRA_GPU
|
||||
CONFIG_TEGRA_KEYBOARD
|
||||
CONFIG_TEGRA_LP0
|
||||
CONFIG_TEGRA_NAND
|
||||
CONFIG_TEGRA_PMU
|
||||
|
|
Loading…
Add table
Reference in a new issue