summaryrefslogtreecommitdiff
path: root/include/configs/mx6qsabreauto.h
Commit message (Collapse)AuthorAgeLines
* ENGR00299848 ARM:imx6 Change static environment SD/MMC storage to dynamicYe.Li2014-02-25-1/+1
| | | | | | | | | | | | | | | | | | imx6 boards (sabresd, sabreauto, arm2 and slevk) have multiple SD/MMC ports to boot. But current uboot hard code the SD/MMC port for environment variables storage. So if customer changes a port without modifying the configuration "CONFIG_SYS_MMC_ENV_DEV", error will issue at saving and loading environment. Implement a mechanism to detect SD/MMC port from SRC SMBR register, and override the default "mmc_get_env_devno". The "board_late_mmc_env_init" is used to set "mmcdev" when booting from SD/MMC port. Finally after booting from SD/MMC, the environment storage device and "mmcdev" are both set to current SD/MMC port. Customers don't need to re-build the image if booting from different SD/MMC port. This patch also adds SD1 and SD3 support to imx6slevk BSP, and adds support for sabreauto SD1 slot on base board. Signed-off-by: Ye.Li <B37916@freescale.com>
* ENGR00294905 ARM:imx6:sabreauto Add USB HOST BSP supportYe.Li2014-01-17-8/+19
| | | | | | | | | | | | Sabreauto board has pin conflict (pin EIM_D18) between NOR flash and i2c3. To enable the USB host, the i2c3 must be used to operate the max7310 IO expander to output the VBUS power. As SPINOR is enabled at default, it is impossible to use USB host at same time. Thus, remove the SYS_USE_SPINOR from sabreauto configurations to disable SPINOR. Signed-off-by: Ye.Li <B37916@freescale.com>
* ENGR00294905 ARM:imx6:EHCI Update OTG support from mainlineYe.Li2014-01-17-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the ehci-mx6 driver from mainline. Drop the changes related with usb_init_type because we don't upgrade the whole driver framework. The OTG controller is forced to host mode in ehci_hcd_init. The signal on OTG ID is ignored. Set Power polarity in CTRL register to active-high to control the off-chip power switch. Update USB base address to support imx6sl. Original: usb: ehci-mx6: add support for otg port Previously, only host1 was supported using an index of 0. Now, otg has index 0, host1 is 1, host2 is 2, host3 is 3. Since OTG requires usbmode to be set after reset, I added CONFIG_EHCI_HCD_INIT_AFTER_RESET to nitrogen6x.h and mx6qsabreauto.h. I also added a weak function board_ehci_power to handle turning power on/off for otg. Type is type of device connected (USB stick vs Host.) Init is type of device desired. Only power up port if type == init == USB_INIT_HOST. Only return error if type != init. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> (cherry picked from commit d1a5286099a1ccb43fa8599e2c806ca039783e2f) Conflicts: drivers/usb/host/ehci-mx6.c
* ENGR00265233 config/i.mx6: fix the abuse of CONFIG_SYS_MMC_ENV_PARTJason Liu2013-06-03-1/+1
| | | | | | | | | | | | | | | | | | | | | | CONFIG_SYS_MMC_ENV_PART: was used to tell the u-boot which emmc (boot)partition to be used for the env_mmc.Usually, the emmc card will have 2 boot partitions, boot1 and boot2. 0: means user area 1: means boot partition 1 2: means boot partition 2 The patch fix the abuse of CONFIG_SYS_MMC_ENV_PART, which detached the emmc boot partition number and the mmc partition to store the boot image such as uImage/dtb or bootscripts. If user want to use the boot partition to store the u-boot env, please change the CONFIG_SYS_MMC_ENV_PART to which boot partition you want. This patch also fixed 2 small display format issue for CONFIG_LOADADDR and CONFIG_SYS_TEXT_BASE. Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00264076-4 i.mx6:sabre_common:change mmc dev settingJason Liu2013-05-24-2/+0
| | | | | | | - change the CONFIG_MMCROOT to SDHC3(sd3) - make the mmcdev/part independent of ENV_IS_IN_MMC Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00263306 imx6q: put CONFIG_SYS_NAND out of the common configJason Liu2013-05-22-0/+2
| | | | | | | Since Sabresd board does not have NAND, we need put CONFIG_SYS_NAND into the Sabreauto board only. Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00263305-8 i.mx6q/dl/solo: sabresd/sabreauto: Add the SPI-NOR supportJason Liu2013-05-21-0/+5
| | | | | | | | | This patch adds the SPI-NOR support for the i.mx6q/dl/solo:sabresd/auto board: - Support the SPI-NOR function with sf command, - Support the enviroment from SPI-NOR when CONFIG_SYS_BOOT_SPINOR Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00263305-1 i.mx:i.mx6q: make preparation for the i.mx6dl supportJason Liu2013-05-21-3/+1
| | | | | | | | | | | | | | This patch is to make preparation for the i.mx6dl support - Move CONFIG_MX6Q definition out of the mx6qsabre_common.h file - Include the mx6_pins.h instead of the mx6q_pins.h in board file, - Make the CPU configure by using the boards.cfg file - Make the DDR size configurable based on the boards.cfg. - Make the FDT file configurable based on the boards.cfg. There is no function change with this patch. Signed-off-by: Jason Liu <r64343@freescale.com>
* mx6qsabre_common: Let mmc partition be board specificFabio Estevam2013-01-28-0/+1
| | | | | | | | | | commit 49ea0ff5 (49ea0ff5) introduced CONFIG_SYS_MMC_ENV_PART into mx6qsabresd.h to store the mmc partition, but in order for it to have effect we should place it into 'mmcpart' variable. Also add CONFIG_SYS_MMC_ENV_PART into mx6qsabreauto.h. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
* mx6qsabreauto: enable USB host interfaceKnut Wohlrab2013-01-28-0/+11
| | | | | | The USB host interface is routed to plug USB1/J30 on the mother board. Signed-off-by: Knut Wohlrab <knut.wohlrab@de.bosch.com>
* mx6qsabre{auto, sd}: Add support to dynamically choose between fdt use or notOtavio Salvador2013-01-13-0/+1
| | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
* mx6qsabresd: add usdhc2 and usdhc4 supportShawn Guo2013-01-05-0/+5
| | | | | | | | | | | | | The on-board number of available usdhc devices is something board specific. The patch moves CONFIG_SYS_FSL_USDHC_NUM out of mx6qsabre_common.h and adds usdhc2 and usdhc4 support for mx6qsabresd board. To keep the default mmc device for environment same as before (usdhc3), it moves CONFIG_SYS_MMC_ENV_DEV out of mx6qsabre_common.h and changes it to 1 for mx6qsabresd. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
* mx6qsabreauto: Change mmcroot so it works out of boxOtavio Salvador2012-10-16-1/+2
| | | | | | | | The mmcroot setting vary between mx6qsabreauto and mx6qsabresd so we move this to the board configuration file. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Fabio Estevam <fabio.estevam@freescale.com>
* mx6qsabreauto: Use ttymxc3 as consoleOtavio Salvador2012-10-15-1/+3
| | | | | | | | The mx6qsabreauto console is different than mx6qsabresd so the console configuration is now set in the board file. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Stefano Babic <sbabic@denx.de>
* mx6q: Add basic support for mx6qsabreautoFabio Estevam2012-10-15-0/+20
mx6qsabreauto is a board based on mx6q SoC with the following features: - 2GB of DDR3 - 2 USB ports - 1 HDMI output port - SPI NOR - 2 LVDS LCD ports - Gigabit Ethernet - Camera - eMMC and SD card slot - Multichannel Audio - CAN - SATA - NAND - PCIE - Video Input Add very basic support for it. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>