aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-01-18LINARO: u-boot-linaro-lt-mx6-2011.11.1-0ubuntu3~ppa9lt-imx6-packagedEric Miao
Signed-off-by: Eric Miao <eric.miao@linaro.org>
2012-01-17LINARO: u-boot-linaro-lt-mx6-2011.11.1-0ubuntu3~ppa8Eric Miao
Signed-off-by: Eric Miao <eric.miao@linaro.org>
2012-01-17LINARO: u-boot-linaro-lt-mx6-2011.11.1-0ubuntu3~ppa7Eric Miao
Signed-off-by: Eric Miao <eric.miao@linaro.org>
2012-01-17LINARO: u-boot-linaro-lt-mx6-2011.11.1-0ubuntu3~ppa6Eric Miao
Signed-off-by: Eric Miao <eric.miao@linaro.org>
2012-01-17LINARO: u-boot-linaro-lt-mx6-2011.11.1-0ubuntu3~ppa5Eric Miao
Signed-off-by: Eric Miao <eric.miao@linaro.org>
2012-01-17LINARO: u-boot-linaro-lt-mx6-2011.11.1-0ubuntu3~ppa4Eric Miao
Signed-off-by: Eric Miao <eric.miao@linaro.org>
2012-01-17LINARO: u-boot-linaro-lt-mx6-2011.11.1-0ubuntu3~ppa3Eric Miao
Signed-off-by: Eric Miao <eric.miao@linaro.org>
2012-01-17LINARO: u-boot-linaro-lt-mx6-2011.11.1-0ubuntu3~ppa2Eric Miao
Signed-off-by: Eric Miao <eric.miao@linaro.org>
2012-01-17LINARO: u-boot-linaro-lt-mx6-2011.11.1-0ubuntu3~ppa1Eric Miao
Signed-off-by: Eric Miao <eric.miao@canonical.com>
2012-01-17LINARO: Add debian/ from lp:u-boot-linaroEric Miao
Signed-off-by: Eric Miao <eric.miao@canonical.com>
2012-01-17Merge branch 'dirkbehme/master_imx6' into lt-imx6lt-imx6Eric Miao
* dirkbehme/master_imx6: (22 commits) imximage: Sort bootops alphabetically imximage: Add support for i.MX6 imximage: Add MX53 to the documentation common/image.c: align usage of fdt_high with initrd_high mx6q: Add fdt_high and initrd_high variables mx6x_pins: fix uart txd definitions mx6qsabrelite: setup uart1 pinmux mx6qsabrelite: add SPI NOR support mx6q: add ECSPI pad settings add imx_ecspi driver fec_mxc: move autonegoatiate restart after mii_postcall fsl_esdhc: fix PIO mode transfers mx6qsabrelite: enet: force master, maximize tx clock delay mx6qsabrelite: add CONFIG_PHY_MICREL_KSZ9021 miiphyutil: add Micrel KSZ9021 support to miiphy_speed fec_mxc: increase autonegotiation timeout fec_mxc: add 1000 Mbps selection mx6qsabrelite: use IMX_GPIO_NR macro i.mx6:imx6q: allign MAC address with burned-in ordering i.mx6q: mx6qarm2: Enable the usboh3 clock ...
2012-01-17imximage: Sort bootops alphabeticallyDirk Behme
Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com> CC: Fabio Estevam <festevam@gmail.com> CC: Stefano Babic <sbabic@denx.de> CC: Jason Liu <jason.hui@linaro.org>
2012-01-17imximage: Add support for i.MX6Dirk Behme
The i.MX6 processor can boot from NOR flash and SATA disks, additionally. Add the flash offsets for these additional boot modes. Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com> Signed-off-by: Fabio Estevam <festevam@gmail.com> CC: Stefano Babic <sbabic@denx.de> CC: Jason Liu <jason.hui@linaro.org>
2012-01-17imximage: Add MX53 to the documentationDirk Behme
i.MX53 is supported, too. Add this to the introduction of the documentation. Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com> CC: Fabio Estevam <festevam@gmail.com> CC: Stefano Babic <sbabic@denx.de> CC: Jason Liu <jason.hui@linaro.org>
2012-01-17common/image.c: align usage of fdt_high with initrd_highShawn Guo
The commit message of a28afca (Add uboot "fdt_high" enviroment variable) states that fdt_high behaves similarly to the existing initrd_high. But fdt_high actually has an outstanding difference from initrd_high. The former specifies the start address, while the later specifies the end address. As fdt_high and initrd_high will likely be used together, it'd be nice to have them behave same. The patch changes the behavior of fdt_high to have it aligned with initrd_high. The document of fdt_high in README is updated with an example to demonstrate the usage of this environment variable. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2012-01-17mx6q: Add fdt_high and initrd_high variablesDirk Behme
To be able to load the device tree and initrd correctly, set the fdt_high and initrd_high environment variables. Using 0xffffffff implies that the device tree and the initrd are initially copied to working addresses. This will avoid an additional copy. Loading the device tree to 0x30000000 and the initrd to 0x3c000000 should work for both boards, the ARM2 and SabreLite. Example (SabreLite): fatload mmc 0:2 0x10000000 uImage fatload mmc 0:2 0x3c000000 uInitrd fatload mmc 0:2 0x30000000 board.dtb bootm 0x10000000 0x3c000000 0x30000000 Note: This requires that the kernel has CONFIG_HIGHMEM enabled. Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
2012-01-17mx6x_pins: fix uart txd definitionsTroy Kisky
The uart txd pad can also provide the rxd function. But it does not stop its tx role. This could be used for a half duplex serial port. Change names to reduce confusion. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
2012-01-17mx6qsabrelite: setup uart1 pinmuxTroy Kisky
This allows Linux kernel to use UART1 before pinmux support is added for UART1 Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
2012-01-17mx6qsabrelite: add SPI NOR supportEric Nelson
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
2012-01-17mx6q: add ECSPI pad settingsEric Nelson
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
2012-01-17add imx_ecspi driverEric Nelson
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
2012-01-17fec_mxc: move autonegoatiate restart after mii_postcallTroy Kisky
Allow boards to change what is advertised before an autoneg restart happens Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
2012-01-17fsl_esdhc: fix PIO mode transfersIra W. Snyder
The pointer to the registers used to control the Freescale ESDHC MMC controller is not initialized correctly when using PIO mode. This is fixed by initializing the pointer in the same way as all other sites within the driver. Examining the commit history shows that this was broken at introduction due to a code change in upstream U-Boot to support the mx51 processor family. Reported-by: Jim Lentz <JLentz@zhone.com> Cc: Andy Fleming <afleming@freescale.com> Cc: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
2012-01-17mx6qsabrelite: enet: force master, maximize tx clock delayTroy Kisky
Register 0x106 is tx data delay register. With this patch, gigabit mode still does not work reliably. Ping shows about a 10% packet loss on large packets. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
2012-01-17mx6qsabrelite: add CONFIG_PHY_MICREL_KSZ9021Troy Kisky
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
2012-01-17miiphyutil: add Micrel KSZ9021 support to miiphy_speedTroy Kisky
Previously, only GIGE phy was supported in this function. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
2012-01-17fec_mxc: increase autonegotiation timeoutTroy Kisky
Timeouts were happening to soon for some switches Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
2012-01-17fec_mxc: add 1000 Mbps selectionTroy Kisky
Also, print negotiated speed Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
2012-01-17mx6qsabrelite: use IMX_GPIO_NR macroTroy Kisky
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
2012-01-17i.mx6:imx6q: allign MAC address with burned-in orderingJason Liu
For the i.mx6q, the burned-in MAC address will be the following odering, fuse: 0x620[7:0] MAC_ADDR[7:0] ---> mac[5] fuse: 0x620[15:8] MAC_ADDR[15:8] ---> mac[4] fuse: 0x620[23:16] MAC_ADDR[23:16] ---> mac[3] fuse: 0x620[31:24] MAC_ADDR[31:24] ---> mac[2] fuse: 0x630[7:0] MAC_ADDR[39:32] ---> mac[1] fuse: 0x630[15:8] MAC_ADDR[47:40] ---> mac[0] This patch also fix the error caculation for the fuse bank[0] address Signed-off-by: Jason Liu <jason.hui@linaro.org> Cc: Stefano Babic <sbabic@denx.de>
2012-01-17i.mx6q: mx6qarm2: Enable the usboh3 clockEric Nelson
Bits 0 and 1 of CCM_CCGR7 are the usboh3 clock enable bits. Enabling this clock is necessary for the USB download. Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
2012-01-17i.mx6q: mx6qsabrelite: Enable the usboh3 clockEric Nelson
Bits 0 and 1 of CCM_CCGR7 are the usboh3 clock enable bits. Enabling this clock is necessary for the USB download. Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
2012-01-17imx: mx6q: add aipstz init for off platform periphJason Liu
Init peripheral access control register of AIPSTZ OPACRx: Buffer Writes(BW): 0 -> not bufferable, Supervisor Protect(SP): 0 -> not require supervisor privilege level for accesses. Write Protect(WP): 0 -> allows write accesses. Trusted Protect(TP): 0 -> allows unstrusted master Signed-off-by: Jason Liu <jason.hui@linaro.org> Cc: Stefano Babic <sbabic@denx.de>
2012-01-17arm: imx6q: add anatop regulator initJason Chen
init core regulator to 1.2V Signed-off-by: Jason Chen <b02280@freescale.com> Signed-off-by: Eric Miao <eric.miao@linaro.org>
2012-01-17arm: imx6q: add axi cache and qos settingJason Chen
Signed-off-by: Jason Chen <b02280@freescale.com> Signed-off-by: Eric Miao <eric.miao@linaro.org>
2012-01-06sdhc_boot: Introduce CONFIG_FSL_FIXED_MMC_LOCATION optionFabio Estevam
Since commit 97039ab98 (env_mmc: Allow board code to override the environment address) mmc_get_env_addr is a weak-aliased function in common/env_mmc.c The mmc_get_env_addr implementation that exists at board/freescale/common/sdhc_boot.c is meant to be used only for PowerPC boards, but currently it is being used for all platforms that have CONFIG_ENV_IS_IN_MMC defined. Introduce CONFIG_FSL_FIXED_MMC_LOCATION so that the boards that need to use the mmc_get_env_addr version from board/freescale/common/sdhc_boot.c could activate this config option on their board file. This fixes the retrieval of CONFIG_ENV_OFFSET on non-PowerPC boards. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
2012-01-02net/eth.c: fix eth_write_hwaddr() to use dev->enetaddr as fall backEric Miao
Ignore the return value of eth_getenv_enetaddr_by_index(), and if it fails, fall back to use dev->enetaddr, which could be filled up by the ethernet device driver. Actually, this is the original behavior, and was later changed by commit 48506a2cde2458fa1f8c5993afc98e5a4617e1d3. Signed-off-by: Eric Miao <eric.miao@linaro.org> Acked-by: Simon Glass <sjg@chromium.org>
2012-01-02i.mx6q: mx6qsabrelite: Add the ethernet function supportJason Liu
Signed-off-by: Jason Liu <jason.hui@linaro.org> Signed-off-by: Eric Miao <eric.miao@linaro.org>
2012-01-02i.mx6q: mx6qsabrelite: Change default mmcdev and boot commandEric Miao
Signed-off-by: Eric Miao <eric.miao@linaro.org>
2012-01-02i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite boardDirk Behme
Add the initial support for Freescale i.MX6Q Sabre Lite board Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com> Signed-off-by: Jason Liu <jason.hui@linaro.org> Signed-off-by: Eric Miao <eric.miao@linaro.org>
2012-01-02i.mx6q: arm2: Add the enet function supportJason Liu
This enable the network function on the i.mx6q armadillo2 board(arm2), thus we can use tftp to load image from network. Signed-off-by: Jason Liu <jason.hui@linaro.org> Signed-off-by: Eric Miao <eric.miao@linaro.org>
2012-01-02fec: add the i.mx6q enet driver supportJason Liu
Signed-off-by: Jason Liu <jason.hui@linaro.org> Signed-off-by: Eric Miao <eric.miao@linaro.org>
2012-01-02i.mx: i.mx6q: Add the enet clock functionJason Liu
Signed-off-by: Jason Liu <jason.hui@linaro.org> Signed-off-by: Eric Miao <eric.miao@linaro.org>
2012-01-02i.mx: fsl_esdhc: add the i.mx6q supportJason Liu
The mmc host controller on the i.mx6q is called usdhc which is redesigned based on the freescale esdhc controller. The usdhc controller is almost compatible with esdhc except it adds one mix register to support debug/SD3.0 and move the low bit 0-6 of XFERTYP register to the mix control reg low bit 0-6. Thus on i.mx6q, we have the following compared with the previous soc: (can refer to RM of chapter 56.3.3) i.mx6q: mix control: bit 31 - bit 7: Added for debug/SD3.0 support bit 6 - bit 0: move in the XFERTYP register bit 6-0 on previous soc XFERTYP register: bit 31 - bit 7: the same as before, bit 6 - bit 0: no-use previous soc mix control: no XFERTYP register: bit 31 - bit 0: xfertype information Signed-off-by: Jason Liu <jason.hui@linaro.org> Cc: Andy Fleming <afleming@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Acked-by: Stefano Babic <sbabic@denx.de> Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-12-23Prepare v2011.12Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2011-12-23doc/mkimage.1: Fix -D/-f options formattingHorst Kronstorfer
Signed-off-by: Horst Kronstorfer <hkronsto@frequentis.com>
2011-12-23post/lib_powerpc/multi.c: fix stack overflow errorWolfgang Denk
The code and comment disagreed: the comment claimed that r6...r31 were copied, and consequently the arrays for "src" and "dst" were declared with 26 entries, but the actual code ("lmw r5,0(r3)" and "stmw r5,0(r4)") copied _27_ words (r5 through r31), which resulted in false "POST cpu Error at multi test" messages. Fix the comment and the array sizes. Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Anatolij Gustschin <agust@denx.de> Cc: Stefan Roese <sr@denx.de> Cc: Kumar Gala <galak@kernel.crashing.org> Cc: Kim Phillips <kim.phillips@freescale.com> Cc: Andy Fleming <afleming@gmail.com> Acked-by: Anatolij Gustschin <agust@denx.de> Tested-by: Anatolij Gustschin <agust@denx.de>
2011-12-23post/lib_powerpc/multi.c: code cleanupWolfgang Denk
Clean up and document the code: - get rid of unneeded code block - add comment which code is generated Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Anatolij Gustschin <agust@denx.de> Cc: Stefan Roese <sr@denx.de> Cc: Kumar Gala <galak@kernel.crashing.org> Cc: Kim Phillips <kim.phillips@freescale.com> Cc: Andy Fleming <afleming@gmail.com> Acked-by: Anatolij Gustschin <agust@denx.de>
2011-12-23post/lib_powerpc/multi.c: make checkpatch cleanWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Anatolij Gustschin <agust@denx.de> Cc: Stefan Roese <sr@denx.de> Cc: Kumar Gala <galak@kernel.crashing.org> Cc: Kim Phillips <kim.phillips@freescale.com> Cc: Andy Fleming <afleming@gmail.com> Acked-by: Anatolij Gustschin <agust@denx.de>
2011-12-23PPC: fix "Warning: FOO uses hard float, BAR uses soft float".Wolfgang Denk
It appears that with recent versions of GCC the explicit "-mhard-float" command line option takes precedence over the ``asm(".gnu_attribute 4, 2");'' in the source file, so this no longer helps to avoid the warnings we get when linking code that uses FP instructions with other code that was built using soft-float. We can remove the ".gnu_attribute" (which appears to carry no other information, at least so far) from the object files, but we also have to make sure we don't pull in the __gcc_qsub() and __gcc_qmul() functions from the standard libgcc, as these would again "infect" our linking. We copy this code from: gcc-4.2.2/gcc/config/rs6000/darwin-ldouble.c This old version was chosen because it was still available under a compatible license (GCC v2+). The file was stripped down to the needed parts, and reformatted so it passes checkpatch with only one warning (do not add new typedefs). Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Kumar Gala <galak@kernel.crashing.org> Cc: Stefan Roese <sr@denx.de> Cc: Andy Fleming <afleming@gmail.com> Cc: Kim Phillips <kim.phillips@freescale.com> Tested-by: Stefan Roese <sr@denx.de> Tested-by: Anatolij Gustschin <agust@denx.de>