- Oct 15, 2012
-
-
Benoît Thébaudeau authored
Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Stefano Babic <sbabic@denx.de>
-
- Sep 01, 2012
-
-
Benoît Thébaudeau authored
Define ARCH_MXC for i.MX devices. This is useful to identify features or behaviors common to all i.MX SoCs. The i.MX28 is omitted because its architecture is a bit different (like imx/mxc vs. mxs in Linux). Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Andy Fleming <afleming@gmail.com> Cc: Kim Phillips <kim.phillips@freescale.com>
-
Benoît Thébaudeau authored
Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Stefano Babic <sbabic@denx.de> Acked-by:
Stefano Babic <sbabic@denx.de>
-
- Jul 11, 2012
-
-
Troy Kisky authored
The following platforms had their config files changed flea3, imx31_phycore, mx35pdk, mx53ard, mx53evk, mx53smd and mx53loco. Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com> Acked-by:
Stefano Babic <sbabic@denx.de>
-
- Feb 27, 2012
-
-
Eric Nelson authored
Move (E)CSPI register declarations into the imx-regs.h files for each supported CPU Introduce two new macros to control conditional setup MXC_CSPI - Used for processors with the Configurable Serial Peripheral Interface (MX3x) MXC_ECSPI - For processors with Enhanced Configurable... (MX5x, MX6x) Signed-off-by:
Eric Nelson <eric.nelson@boundarydevices.com> Acked-by:
Dirk Behme <dirk.behme@de.bosch.com> Acked-by:
Stefano Babic <sbabic@denx.de> Acked-by:
Jason Liu <jason.hui@linaro.org> Tested-by:
Jason Liu <jason.hui@linaro.org>
-
- Feb 12, 2012
-
-
Helmut Raiger authored
This patch modifies mxcmmc.c to be used not only by i.MX27 but also by i.MX31 boards. Both use the same SD controller, but have different clock set-ups. The i.MX27 imx_get_XXXclock functions are made static to generic.c and a public mxc_get_clock() function is provided. Pins, base address and prototypes for an i.MX31 specific board_init_mmc() are provided. Some of the i.MX27 clock getters are unused and marked as such to avoid warnings (./MAKEALL -s mx27), but the code was left in for future use. Signed-off-by:
Helmut Raiger <helmut.raiger@hale.at> Acked-by:
Stefano Babic <sbabic@denx.de>
-
- Dec 06, 2011
-
-
Stefano Babic authored
The serial driver for iMX SOCs is continuosly changed if a new SOC or not yet used port is used. CONFIG_SYS_<SOC>_<UART Port> defines were used only to find the base address for the selected UART. Instead of that, move the base address to the board configuration file and drop all #ifdef from driver. Signed-off-by:
Stefano Babic <sbabic@denx.de> CC: Marek Vasut <marek.vasut@gmail.com> CC: Wolfgang Denk <wd@denx.de> CC: Fabio Estevam <fabio.estevam@freescale.com> CC: Helmut Raiger <helmut.raiger@hale.at> CC: John Rigby <jcrigby@gmail.com> CC: Matthias Weisser <weisserm@arcor.de> CC: Jason Liu <jason.hui@linaro.org> Acked-by:
Jason Liu <jason.hui@linaro.org>
-
- Nov 11, 2011
-
-
Fabio Estevam authored
Use proper IO accessor for GPR register. Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com> Acked-by:
Stefano Babic <sbabic@denx.de>
-
- Nov 03, 2011
-
-
Helmut Raiger authored
This allows to initialize DDR memory in C code. Currently all mx31 boards use assembler code (lowlevel_init.S) Signed-off-by:
Helmut Raiger <helmut.raiger@hale.at> Acked-by:
Stefano Babic <sbabic@denx.de>
-
Helmut Raiger authored
Signed-off-by:
Helmut Raiger <helmut.raiger@hale.at> Acked-by:
Stefano Babic <sbabic@denx.de>
-
Fabio Estevam authored
Introduce mx31_set_gpr function for setting the GPR (General Purpose Register) on MX31. This function can be useful for setting a group of pins into tied to some specific peripherals. Reuse this function from the linux kernel. Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
- Oct 27, 2011
-
-
Helmut Raiger authored
setup_weimcs() and some macros are added to support the setup for i.MX31 WEIM chip selects. As a compromise between verbosity and readability an ASCII-art'ish bit comment is used instead of bitfields. All i.MX31 boards have been patched to use this approach using a helper program to verify the changes. Signed-off-by:
Helmut Raiger <helmut.raiger@hale.at> Acked-by:
Stefano Babic <sbabic@denx.de>
-
- Oct 17, 2011
-
-
Helmut Raiger authored
This additionally updates mx31/generic.c by - replacing __REG() macro accesses with readl() and writel() - providing macros for PDR0 and PLL bit accesses Signed-off-by:
Helmut Raiger <helmut.raiger@hale.at> Acked-by:
Marek Vasut <marek.vasut@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Acked-by:
Stefano Babic <sbabic@denx.de> Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
- Oct 13, 2011
-
-
Helmut Raiger authored
This additionally updates mx31/generic.c by - replacing __REG() macro accesses with readl() and writel() - providing macros for PDR0 and PLL bit accesses Signed-off-by:
Helmut Raiger <helmut.raiger@hale.at> Acked-by:
Marek Vasut <marek.vasut@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Acked-by:
Stefano Babic <sbabic@denx.de> Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
- Sep 30, 2011
-
-
Fabio Estevam authored
Turn on the watchdog WDZST bit so that watchdog timer does not count during low power modes. Prior to applying this patch mx31pdk board got watchdog resets because when it booted in the Linux prompt and there was no activity, the system entered into idle mode while watchdog timer was still active. Fix this by disabling watchdog timer during idle mode. Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
- Sep 04, 2011
-
-
Stefano Babic authored
Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
- Jul 14, 2011
-
-
Matthias Weisser authored
Adding support for USB host on imx25 using the internal PHY. Changing the name of base address define for imx31 to get some unification. Signed-off-by:
Matthias Weisser <weisserm@arcor.de>
-
- May 11, 2011
-
-
Stefano Babic authored
Drop warnings in get_cpu_rev and changes the return value (a u32 instead of char * is returned) of the function to be coherent with other processors. Signed-off-by:
Stefano Babic <sbabic@denx.de> CC: Detlev Zundel <dzu@denx.de> CC: Fabio Estevam <fabio.estevam@freescale.com>
-
- Apr 27, 2011
-
-
Stefano Babic authored
Drop warnings due to recent commit ARM: mx31: Print the silicon version Signed-off-by:
Stefano Babic <sbabic@denx.de> CC: Fabio Estevam <fabio.estevam@freescale.com>
-
Fabio Estevam authored
Commit 5d2c154 (IMX: MX31: Cleanup include files and drop nasty #ifdef in drivers) renamed mx31-imx-regs.h to imx-regs.h. Change the file label accordingly. Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
Fabio Estevam authored
Use the same method of the Linux kernel to print the MX31 silicon version on boot. Tested on a MX31PDK with a 2.0 silicon, where it shows: CPU: Freescale i.MX31 rev 2.0 at 531 MHz Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
Stefano Babic authored
As exception among the i.MX processors, the i.MX31 has headers without general names (mx31-regs.h, mx31.h instead of imx-regs.h and clock.h). This requires several nasty #ifdef in the drivers to include the correct header. The patch cleans up the driver and renames the header files as for the other i.MX processors. Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
Stefano Babic authored
The patch add CONFIG_HW_WATCHDOG to be used with the internal watchdog timer of the MX31 processor. Two function are exported for the board maintainers: mxc_hw_watchdog_enable mxc_hw_watchdog_reset The board maintainer can decide to use mxc_hw_watchdog_reset as hw_watchdog_reset, or to implement his own function to reset the watchdog. The watchdog timer can be configured with CONFIG_SYS_WD_TIMER_SECS (value in seconds). The MX31 allows values between 0.5 (CONFIG_SYS_WD_TIMER_SECS = 0) and 128 seconds. Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
- Feb 01, 2011
-
-
Stefano Babic authored
This patch cleans driver code replacing all accesses to registers with fixed offsets with a corresponding structure. Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
- Oct 13, 2010
-
-
Stefano Babic authored
The patch adds a utility function and defines to set the pad as it is done in linux. Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
Stefano Babic authored
Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
- Sep 29, 2010
-
-
Stefano Babic authored
The patch adds support for setting gpios to the MX51 processor and change name to the corresponding functions for MX31. In this way, it is possible to get rid of nasty #ifdef switches related to the processor type. Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
- Apr 30, 2010
-
-
Stefano Babic authored
The QONG module can be downsized and delivered with 128MB instead of 256MB. The patch adds run time support for the two different memory configurations. Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
Stefano Babic authored
Add pin definitions ralted to the NAND controller to be used to set up the pin multiplexer. Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
- Apr 24, 2010
-
-
Stefano Babic authored
The QONG module can be downsized and delivered with 128MB instead of 256MB. The patch adds run time support for the two different memory configurations. Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
Stefano Babic authored
Add pin definitions ralted to the NAND controller to be used to set up the pin multiplexer. Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
- Apr 13, 2010
-
-
Peter Tyser authored
This helps to clean up the include/ directory so that it only contains non-architecture-specific headers and also matches Linux's directory layout which many U-Boot developers are already familiar with. Signed-off-by:
Peter Tyser <ptyser@xes-inc.com>
-
- Jan 19, 2010
-
-
Magnus Lilja authored
Signed-off-by:
Magnus Lilja <lilja.magnus@gmail.com>
-
- Jul 06, 2009
-
-
Magnus Lilja authored
Signed-off-by:
Magnus Lilja <lilja.magnus@gmail.com>
-
Magnus Lilja authored
Add support for Freescale's i.MX31 PDK board (a.k.a. 3 stack board). This patch assumes that some other program performs the actual NAND boot. Signed-off-by:
Magnus Lilja <lilja.magnus@gmail.com> Acked-by:
Fabio Estevam <fabioestevam@yahoo.com> Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- Jun 21, 2009
-
-
Magnus Lilja authored
This patch adds the NAND SPL framework needed to boot i.MX31 boards from NAND. It has been tested on a i.MX31 PDK board with large page NAND. Small page NANDs should work as well, but this has not been tested. Note: The i.MX31 NFC uses a non-standard layout for large page NANDs, whether this is compatible with a particular setup depends on how the NAND device is programmed by the flash programmer (e.g. JTAG debugger). The patch is based on the work by Maxim Artamonov. Signed-off-by:
Maxim Artamonov <scn1874@yandex.ru> Signed-off-by:
Magnus Lilja <lilja.magnus@gmail.com>
-
- Feb 24, 2009
-
-
Guennadi Liakhovetski authored
The "eet" variant of the imx31_phycore board has an OLED display, using a s6e63d6 display controller on the first SPI interface, using GPIO57 as a chip-select for it. With this configuration you can display 256 colour BMP images in 16-bit RGB (RGB565) LCD mode. Signed-off-by:
Guennadi Liakhovetski <lg@denx.de> Acked-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- Feb 07, 2009
-
-
Ilya Yanok authored
Added definitions for i.MX31 processor GPIO registers. Signed-off-by:
Ilya Yanok <yanok@emcraft.com>
-
- Jan 24, 2009
-
-
Maxim Artamonov authored
Signed-off-by: Maxim Artamonov <scn1874 at yandex.ru>
-
- Aug 11, 2008
-
-
Magnus Lilja authored
Correct the mx31_gpio_mux() function to allow changing all i.MX31 IOMUX contacts instead of only the first 256 ones as is the case prior to this patch. Add missing MUX_* macros and update board files to use the new macros. Signed-off-by:
Magnus Lilja <lilja.magnus@gmail.com>
-