- Jan 12, 2018
-
-
Christopher Spinrath authored
Like many other i.MX6 based boards, there are multiple variants of the cm-fx6 module featuring different SoC variants. Furthermore, the module can be paired with multiple baseboards. At the same time modern distribution like Fedora require U-Boot to select a proper devicetree which depends on the SoC variant and the baseboard. Thus, export the SoC variant and the actual board to the environment following the conventions of other i.MX6 devices (e.g. the NXP boards) such that the environment can select a devicetree file to load. For now, we only know for sure that the cm-fx6 module and the SB-fx6m baseboard amount to a Utilite Computer variant (depending on the SoC). Further combinations may be added in the future; e.g. CompuLab's evaluation board once someone can verify the identification string stored in its eeprom. Signed-off-by:
Christopher Spinrath <christopher.spinrath@rwth-aachen.de> Reviewed-by:
Stefano Babic <sbabic@denx.de>
-
Koen Vandeputte authored
By default, the subordinate is set equally to the secondary bus (1) when the RC boots, and does not alter afterwards. This means that theoretically, the highest bus reachable downstream is bus 1. Force the PCIe RC subordinate to 0xff, otherwise no downstream devices will be detected behind bus 1 if the booting OS does not allow enumerating a higher busnr than the subordinate value of the primary bus. Signed-off-by:
Koen Vandeputte <koen.vandeputte@ncentric.com>
-
Fabio Estevam authored
Currently mmdc_do_dqs_calibration() and mmdc_do_write_level_calibration() show the same error message, which is confusing for debugging. Disambiguate the mmdc_do_dqs_calibration() error message. Signed-off-by:
Fabio Estevam <fabio.estevam@nxp.com>
-
Fabio Estevam authored
i.MX6ULL also does not support 64-bit DDR bus, so add it to the check logic. Signed-off-by:
Fabio Estevam <fabio.estevam@nxp.com>
-
Fabio Estevam authored
mx6sabresd board uses the following pins for console: PAD_CSI0_DAT10__UART1_TX_DATA PAD_CSI0_DAT11__UART1_RX_DATA ,so put it in the same config option as wandboard. mx6sabreauto board uses the following pins for console: PAD_KEY_COL0__UART4_TX_DATA PAD_KEY_ROW0__UART4_RX_DATA So do not mention sabreauto board as part of the UART1_SD3_DAT6_7 option. The config option for sabreauto can be added later when needed. Signed-off-by:
Fabio Estevam <fabio.estevam@nxp.com>
-
Tom Rini authored
The code for programming the OTP fuses on the PMIC PF0100 can only be used in full U-Boot, so do not build / link it into SPL. Cc: Max Krummenacher <max.krummenacher@toradex.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Fabio Estevam <fabio.estevam@nxp.com> Tested-by:
Max Krummenacher <max.krummenacher@toradex.com>
-
Tom Rini authored
The command can only be used from full U-Boot, so do not build it into SPL. Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Tim Harvey <tharvey@gateworks.com> Signed-off-by:
Tom Rini <trini@konsulko.com> Acked-by:
Tim Harvey <tharvey@gateworks.com> Reviewed-by:
Fabio Estevam <fabio.estevam@nxp.com>
-
Tom Rini authored
The command can only be used from full U-Boot, so do not build it into SPL. Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Tim Harvey <tharvey@gateworks.com> Signed-off-by:
Tom Rini <trini@konsulko.com> Acked-by:
Tim Harvey <tharvey@gateworks.com> Reviewed-by:
Fabio Estevam <fabio.estevam@nxp.com>
-
Tom Rini authored
The "clocks" and "bootaux" commands are only usable in full U-Boot, not SPL, so do not link them inside of SPL. Rework a little of the bootaux related code to make use of __weak and declare parts of it static as it's local to the file. Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Fabio Estevam <fabio.estevam@nxp.com>
-
Eran Matityahu authored
Signed-off-by:
Eran Matityahu <eran.m@variscite.com>
-
Eran Matityahu authored
Use only one SPL MMC device, similarly to the iMX6 code Signed-off-by:
Eran Matityahu <eran.m@variscite.com>
-
Peng Fan authored
To support QSPI DM driver - Add spi0 alias for qspi node. Which is used for bus number 0. - Modify the n25q256a@0 compatible property to "spi-flash". - Modify spi4 (gpio_spi) node to spi5 - Define DM SPI/QSPI related config to enable QSPI Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Peng Fan authored
The QSPI module on i.MX7D is modified from i.MX6SX. The module used on i.MX6UL/6ULL is reused from i.MX7D. They share same tx buffer size. The endianness is not set at qspi driver initialization. So if we don't boot from QSPI, we will get wrong endianness when accessing from AHB address directly. Add the compatible entry for 6ul/7d. Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Fabio Estevam authored
i.MX6ULL also does not have a MMDC_P1_BASE_ADDR, so do not try to access it. Signed-off-by:
Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by:
Peng Fan <peng.fan@nxp.com> Reviewed-by:
Stefano Babic <ssbabic@denx.de>
-
Peng Fan authored
Before use GPIO, we need to request gpio first. Free gpio after use. Signed-off-by:
Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by:
Stefano Babic <ssbabic@denx.de>
-
Peng Fan authored
The u-boot-dtb.imx size is about 519KB, so 8 * 64KB conflicts with u-boot-dtb.imx. Enlarge the offset to 14 * 64KB to fix it. Signed-off-by:
Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com>
-
Peng Fan authored
Because kernel set WDOG_B mux before pad with the common pinctrl framwork now and wdog reset will be triggered once set WDOG_B mux with default pad setting, we set pad setting here to workaround this. Since imx_iomux_v3_setup_pad also set mux before pad setting, we set as GPIO mux firstly here to workaround it. Signed-off-by:
Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com>
-
Peng Fan authored
Enable I2C/MMC/GPIO/REGUALTOR/PMIC/USB DM drivers. There are some dependency, such as when DM MMC enabled, USB compile error. Also the i.MX I2C MMC DM driver does not support legacy GPIO interface. So enable them all together. Signed-off-by:
Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com>
-
Peng Fan authored
Add pfuze dm code, this code could be enabled with CONFIG_DM_PMIC_PFUZE100. Signed-off-by:
Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com>
-
Peng Fan authored
Enable DTS and OF_CONTROL for i.MX6SX-SDB. Signed-off-by:
Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com>
-
Peng Fan authored
Introduce dts from Kernel commit commit 71ee203389f7cb1c("Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi" ) Signed-off-by:
Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com>
-
Peng Fan authored
On i.MX7ULP, the fuse words (except bank 0 and 1) only supports to write once, because they use ECC mode. Multiple writes may damage the ECC value and cause a wrong fuse value decoded when reading. This patch adds a checking before the fuse word programming, only can write when the word value is 0. Signed-off-by:
Ye Li <ye.li@nxp.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Stefano Babic authored
Board has 1GB RAM and boots from SD Card U-Boot SPL 2018.01-rc3-00005-ga1898b8 (Jan 02 2018 - 13:48:54) BT_FUSE_SEL already fused, will do nothing Trying to boot from MMC1 U-Boot 2018.01-rc3-00005-ga1898b8 (Jan 02 2018 - 13:48:54 +0100) CPU: Freescale i.MX6DL rev1.2 996 MHz (running at 792 MHz) CPU: Commercial temperature grade (0C to 95C) at 40C Reset cause: POR I2C: ready DRAM: 1 GiB MMC: FSL_SDHC: 0 In: serial Out: serial Err: serial Net: FEC [PRIME] Signed-off-by:
Stefano Babic <sbabic@denx.de> Reviewed-by:
Fabio Estevam <fabio.estevam@nxp.com>
-
- Jan 11, 2018
-
-
git://git.denx.de/u-boot-sunxiTom Rini authored
-
Jagan Teki authored
a64-olinuxino has 8GiB eMMC, enable it. Acked-by:
Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by:
Jagan Teki <jagan@amarulasolutions.com>
-
git://git.denx.de/u-boot-videoTom Rini authored
-
git://git.denx.de/u-boot-socfpgaTom Rini authored
-
git://git.denx.de/u-boot-usbTom Rini authored
-
Hannes Schmelzer authored
The clock selection is done now from the am335x-fb code, so there is no more need doing this in the board code. Signed-off-by:
Hannes Schmelzer <oe5hpm@oevsv.at> Reviewed-by:
Anatolij Gustschin <agust@denx.de>
-
Hannes Schmelzer authored
Actual am335x-fb implementation takes now a real clock frequency instead a divider. So this component doesn't need to know anymore some base frequency of the LCDC, we simply provide the pixel-clock frequency. Signed-off-by:
Hannes Schmelzer <oe5hpm@oevsv.at> Reviewed-by:
Anatolij Gustschin <agust@denx.de>
-
Hannes Schmelzer authored
The LCDC IP-core an be feed from several clock sources, one of those is a dedicated DPLL for generating a dividable base-clock for this IP-core. The TRM specifies the maximum input frequency for the LCCD with 200 MHz, so we must not exceed this value with the PLL frequency (which can lock much higher). This patch tries every combination of multipliers and divisors of the PLL and the IP-core itself for getting as near as possible the the requested panel->pxl_clk. Signed-off-by:
Hannes Schmelzer <oe5hpm@oevsv.at> Reviewed-by:
Anatolij Gustschin <agust@denx.de>
-
Hannes Schmelzer authored
Signed-off-by:
Hannes Schmelzer <oe5hpm@oevsv.at> Reviewed-by:
Anatolij Gustschin <agust@denx.de>
-
Hannes Schmelzer authored
Signed-off-by:
Hannes Schmelzer <oe5hpm@oevsv.at> Reviewed-by:
Anatolij Gustschin <agust@denx.de>
-
Hannes Schmelzer authored
Adds the register definition of the Display DPLL Signed-off-by:
Hannes Schmelzer <oe5hpm@oevsv.at> Reviewed-by:
Anatolij Gustschin <agust@denx.de>
-
- Jan 10, 2018
-
-
Sumit Garg authored
Signed-off-by:
Udit Agarwal <udit.agarwal@nxp.com> Signed-off-by:
Sumit Garg <sumit.garg@nxp.com> [YS: run moveconfig.py -s] Reviewed-by:
York Sun <york.sun@nxp.com>
-
Sumit Garg authored
Using changes in this patch we were able to reduce approx 8k size of u-boot-spl.bin image. Following is breif description of changes to reduce SPL size: 1. Changes in board/freescale/ls1088a/Makefile to remove compilation of eth.c and cpld.c in case of SPL build. 2. Changes in board/freescale/ls1088a/ls1088a.c to keep board_early_init_f funcations in case of SPL build. 3. Changes in ls1088a_common.h & ls1088ardb.h to remove driver specific macros due to which static data was being compiled in case of SPL build. Signed-off-by:
Sumit Garg <sumit.garg@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Sumit Garg authored
Compile-off mp.c and libfdt.c in case of SPL build. SPL size reduces by approx 2k. Signed-off-by:
Sumit Garg <sumit.garg@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Bao Xiaowei authored
Remove duplicate macro CONFIG_FSL_PCIE_RESET and update its comment. It enables PCIe reset to fix link width 2x - 4x. Signed-off-by:
Bao Xiaowei <xiaowei.bao@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Alison Wang authored
855873: An eviction might overtake a cache clean operation Workaround: The erratum can be avoided by upgrading cache clean by address operations to cache clean and invalidate operations. For Cortex-A53 r0p3 and later release, this can be achieved by setting CPUACTLR.ENDCCASCI to 1. This patch is to implement the workaround for this erratum. Signed-off-by:
Alison Wang <alison.wang@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-