- Oct 30, 2015
-
-
Yao Yuan authored
I2C1 can work on ls102xa rev2.0 SD boot, so add ID EEPROM for SD boot. Signed-off-by:
Yuan Yao <yao.yuan@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
- Oct 29, 2015
-
-
Alison Wang authored
As 3G/1G user/kernel memory split is used on LS1021A, the Linux kernel fails to access the device tree blob on boot. The reason is that u-boot relocates the device tree blob into high memory when booting the kernel and the kernel is unable to access the blob. To avoid this issue, fdt_high is set to the value of 0xffffffff. The device tree blob will not get relocated and is still in low memory to make it accessible to the kernel. For the same reason, initrd_high is set to the value of 0xffffffff too. Signed-off-by:
Alison Wang <alison.wang@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Mingkai Hu authored
Config Security Level Register is different between different SoCs, so put the CSL register definition into the arch specific directory. Signed-off-by:
Mingkai Hu <Mingkai.Hu@freescale.com> Signed-off-by:
Hou Zhiqiang <B48286@freescale.com> Signed-off-by:
Gong Qianyu <Qianyu.Gong@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Gong Qianyu authored
For most PPC platforms, they will call the first get_clocks() in init_sequence_f[] as they define CONFIG_PPC. CONFIG_SYS_FSL_CLK is then defined to call the second get_clocks(), which should be redundant for PPC. Signed-off-by:
Gong Qianyu <Qianyu.Gong@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
- Oct 26, 2015
-
-
Alison Wang authored
As QSPI and IFC are pin-multiplexed on LS1021A, only IFC is supported in SD boot now. For the customer's demand, QSPI needs to be supported in SD boot too. This patch adds QSPI or IFC support in SD boot according to the corresponding defconfig. For detail, ls1021atwr_sdcard_ifc_defconfig is used to support IFC in SD boot and ls1021atwr_sdcard_qspi_defconfig is used to support QSPI in SD boot. Signed-off-by:
Alison Wang <alison.wang@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Zhao Qiang authored
The address of uboot changed, so change qe ucode Signed-off-by:
Zhao Qiang <B45475@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Scott Wood authored
This will allow OF-based earlycon to be used once the appropriate aliases are added to the device tree and kernel support is fixed. Signed-off-by:
Scott Wood <scottwood@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
- Oct 24, 2015
-
-
Gong Qianyu authored
get_clocks() should not be limited by ESDHC. Signed-off-by:
Gong Qianyu <Qianyu.Gong@freescale.com>
-
Masahiro Yamada authored
We have finished Generic Board conversion for ARM and PowerPC, i.e. all the boards have been converted except OpenRISC, SuperH, SPARC, which have not supported Generic Board framework yet. Select SYS_GENERIC_BOARD in arch/Kconfig and delete all the macro defines in include/configs/*.h. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
- Oct 11, 2015
-
-
Yao Yuan authored
DSPI2 can be verified when boot from QSPI now. Signed-off-by:
Yuan Yao <yao.yuan@freescale.com> Reviewed-by:
Jagan Teki <jteki@openedev.com>
-
- Oct 02, 2015
-
-
Albert ARIBAUD \\(3ADEV\\) authored
The driver assumed that I2C1 and I2C2 were always enabled, and if they were not, then an asynchronous abort was (silently) raised, to be caught much later on in the Linux kernel. Fix this by making I2C1 and I2C2 optional just like I2C3 and I2C4 are. To make the change binary-invariant, declare I2C1 and I2C2 in every include/configs/ file which defines CONFIG_SYS_I2C_MXC. Also, while updating README about CONFIG_SYS_I2C_MXC_I2C1 and CONFIG_SYS_I2C_MXC_I2C2, add missing descriptions for I2C4 speed (CONFIG_SYS_MXC_I2C4_SPEED) and slave (CONFIG_SYS_MXC_I2C4_SLAVE) config options. Signed-off-by:
Albert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr>
-
- Sep 02, 2015
-
-
Zhuoyu Zhang authored
DEVDISRn registers provides a mechanism for gating clocks of IP blocks that are not used. Here we implement hwconfig option to allow users to disable unused peripherals on the board. For ex. If eSDHC/qDMA/eDMA are unused and with disabled status in dts, User can enable CONFIG_FSL_DEVICE_DISABLE and set "devdis:esdhc,qdma,edma" in hwconfig, thus ESDHC controller & eDMA/qDMA will be clock gated to save more power. Signed-off-by:
Zhuoyu Zhang <Zhuoyu.Zhang@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
- Aug 21, 2015
-
-
Simon Glass authored
Move config for the E1000 Ethernet driver to Kconfig and tidy up affected boards. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
- Aug 03, 2015
-
-
Tang Yuantian authored
Signed-off-by:
Tang Yuantian <Yuantian.Tang@freescale.com> Acked-by:
Alison Wang <alison.wang@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
gaurav rana authored
Enable bootscript support in secure boot for establishing chain of trust on LS1021atwr. Signed-off-by:
Gaurav Rana <gaurav.rana@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Zhuoyu Zhang authored
For ls1021a, Reserve secure code in to memory in case OCRAM is needed by other usage. Signed-off-by:
Zhuoyu Zhang <Zhuoyu.Zhang@freescale.com> Acked-by:
Alison Wang <alison.wang@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
- Jul 22, 2015
-
-
Ramneek Mehresh authored
Enable USB IP support for both EHCI and XHCI for ls1021atwr platform Signed-off-by:
Ramneek Mehresh <ramneek.mehresh@freescale.com>
-
- Jul 20, 2015
-
-
Wang Dongsheng authored
Base on PSCI services, implement CPU_ON/CPU_OFF for ls102xa platform. Tested on LS1021AQDS, LS1021ATWR. Test CPU hotplug times: 60K Test kernel boot times: 1.2K Signed-off-by:
Wang Dongsheng <dongsheng.wang@freescale.com> Acked-by:
Alison Wang <alison.wang@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
- Jun 29, 2015
-
-
Haikun Wang authored
Enable Driver Model SPI for ls1021atwr board. DSPI and QSPI only be enabled when boot from QSPI. DSPI and QSPI are compatible under Driver Model SPI. Signed-off-by:
Haikun Wang <Haikun.Wang@freescale.com> Tested-by:
Review Code-CDREVIEW <CDREVIEW@freescale.com> Tested-by:
Haikun Wang <haikun.wang@freescale.com> Reviewed-by:
Prabhakar Kushwaha <prabhakar@freescale.com> Reviewed-by:
Jagan Teki <jteki@openedev.com>
-
- Jun 26, 2015
-
-
Joe Hershberger authored
This sets the default commands Kconfig to match include/config_cmd_default.h commands in the common/Kconfig and removes them from include/configs. Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com> [trini: rastaban, am43xx_evm_usbhost_boot, am43xx_evm_ethboot updates] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Joe Hershberger authored
Some archs/boards specify their own default by pre-defining the config which causes the Kconfig system to mix up the order of the configs in the defconfigs... This will cause merge pain if allowed to proliferate. Remove the configs that behave this way from the archs. A few configs still remain, but that is because they only exist as defaults and do not have a proper Kconfig entry. Those appear to be: SPIFLASH DISPLAY_BOARDINFO Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com> [trini: rastaban, am43xx_evm_usbhost_boot, am43xx_evm_ethboot updates, drop DM_USB from MSI_Primo81 as USB_MUSB_SUNXI isn't converted yet to DM] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Jun 02, 2015
-
-
Lars Poeschel authored
CONFIG_NET_MULTI is not used anywhere and thus can safely be removed from the configs. Acked-by:
Marek Vasut <marex@denx.de> Acked-by:
Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by:
Lars Poeschel <poeschel@lemonage.de>
-
- Jun 01, 2015
-
-
Joe Hershberger authored
This also selects CONFIG_NET for any CONFIG_CMD_NET board. Remove the imx default for CONFIG_NET. This moves the config that was defined by 60296a83 (commands: add more command entries in Kconfig). Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com>
-
- May 20, 2015
-
-
York Sun authored
ccsr_ddr structure is already defined in fsl_immap.h. Remove this duplicated define. Move fixed timing into ls1021atwr.h. Signed-off-by:
York Sun <yorksun@freescale.com> CC: Alison Wang <alison.wang@freescale.com> Acked-by:
Alison Wang <alison.wang@freescale.com>
-
Alison Wang authored
The original load address of U-Boot is 0x67f80000. The address space of NOR flash is 0x60000000 to 0x67ffffff. It will cause the size of u-boot couldn't be larger than 512K. As more features are supported in u-boot, the size of u-boot is larger than 512K. To fix this issue, the load address of U-Boot for NOR boot is adjusted to 0x60100000. In RCW, the PBI command needs to change as follows: .pbi -write 0xee0200, 0x67f80000 +write 0xee0200, 0x60100000 .end Signed-off-by:
Alison Wang <alison.wang@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
- Apr 23, 2015
-
-
York Sun authored
Some SoCs have more than two I2C busses. Instead of adding ifdef to the driver, macros are put into board header file where CONFIG_SYS_I2C_MXC is defined. Signed-off-by:
York Sun <yorksun@freescale.com> CC: Heiko Schocher <hs@denx.de>
-
- Feb 24, 2015
-
-
Minghuan Lian authored
The patch enables and adds PCIe settings for boards LS1021AQDS and LS1021ATWR. Signed-off-by:
Minghuan Lian <Minghuan.Lian@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
- Jan 24, 2015
-
-
Alison Wang authored
This patch adds LPUART support for LS1021ATWR board. For ls1021atwr_nor_lpuart_defconfig, LPUART is used as the console. Signed-off-by:
Alison Wang <alison.wang@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
- Dec 11, 2014
-
-
Xiubo Li authored
LS1 has 4 SMMUs for address translation of the masters. All the SMMUs' stream IDs are 8-bit. The address translation depends on the stream ID of the incoming transaction. Each master has unique stream ID assigned to it and is configurable through SCFG registers. The stream ID for the masters is identical and share the same register field of STREAM ID registers. Signed-off-by:
Xiubo Li <Li.Xiubo@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Xiubo Li authored
The Central Security Unit (CSU) allows secure world software to change the default access control policies of peripherals/bus slaves, determining which bus masters may access them. This allows peripherals to be separated into distinct security domains. Combined with SMMU configuration of the system masters privileges, these features provide protection against indirect unauthorized access to data. For now we configure all the peripheral access permissions as R/W. Signed-off-by:
Xiubo Li <Li.Xiubo@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Xiubo Li authored
Enable hypervisors utilizing the ARMv7 virtualization extension on the LS1021A-QDS/TWR boards with the A7 core tile, we add the required configuration variable. Signed-off-by:
Xiubo Li <Li.Xiubo@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Alison Wang authored
This patch adds QSPI boot support for LS1021AQDS/TWR board. The QSPI boot image need to be programmed into the QSPI flash first. Then the booting will start from QSPI memory space. Signed-off-by:
Alison Wang <alison.wang@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Alison Wang authored
The SD/NAND/QSPI boot definations are wrong for QE support, this patch is to fix this error. Signed-off-by:
Alison Wang <alison.wang@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Alison Wang authored
This patch will fix the bug that the partitions on the SD card could not be accessed and add the support for the FAT fs. Signed-off-by:
Alison Wang <alison.wang@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Alison Wang authored
This patch adds SD boot support for LS1021ATWR board. SPL framework is used. PBL initialize the internal RAM and copy SPL to it, then SPL initialize DDR using SPD and copy u-boot from SD card to DDR, finally SPL transfer control to u-boot. Signed-off-by:
Chen Lu <chen.lu@freescale.com> Signed-off-by:
Alison Wang <alison.wang@freescale.com> Signed-off-by:
Jason Jin <jason.jin@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Minghuan Lian authored
The patch changes PCIe dts node status to 'disabled' if the corresponding controller is disabled according to serdes protocol. Signed-off-by:
Minghuan Lian <Minghuan.Lian@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
- Nov 24, 2014
-
-
Alison Wang authored
SystemID information could be read through I2C1 from EEPROM on LS1021ATWR board. As LS1 is a little-endian processor, getting the version ID by be32_to_cpu() is wrong. Fix it by using e.version directly. This change will be compatible for both ARM and PowerPC. As there is an errata that I2C1 could not work in SD boot, reading EEPROM through I2C1 is disabled too in SD boot. Signed-off-by:
Alison Wang <alison.wang@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Yuan Yao authored
Add define CONFIG_SYS_WRITE_SWAPPED_DATA. For LS1021AQDS and LS1021QTWR nor flash write should swap the bytes when handle unaligned tail bytes. Because of the ending, if the date bus width is 16-bits and the number of bytes is odd, we should swap the byte when write the last one. Signed-off-by:
Yuan Yao <yao.yuan@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
- Nov 23, 2014
-
-
Masahiro Yamada authored
Since commit 0defddc8 (config: Add a default CONFIG_SYS_PROMPT), each board header does not need to define CONFIG_SYS_PROMPT as long as it uses the default prompt "=> ". Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
- Nov 19, 2014
-
-
Zhao Qiang authored
Signed-off-by:
Zhao Qiang <B45475@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-