- Feb 01, 2011
-
-
Stefano Babic authored
The usage of bss values in drivers before initialisation of bss is forbidden. In that special case some data in .rel.dyn gets corrupted. This patch is the same as recently applied for arm926js architecture. Signed-off-by:
Stefano Babic <sbabic@denx.de> CC: Heiko Schocher <hs@denx.de>
-
Stefano Babic authored
The patch adds suupport for the Freescale's mx35pdk board (known as well as mx35_3stack). The board boots from the NOR flash. Following devices are supported: - two ethernet devices (FEC and SMC911x on debug board) - I2C - PMIC (MC13892) via I2C interface - UART - NOR flash (64MB) - NAND flash (2GB) - basic access to mc9sdz60 registers via I2C interface Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
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>
-
Anatolij Gustschin authored
The MXC SPI driver didn't calculate the SPI clock up to now and just used highest possible divider 512 for DATA RATE in the control register. This results in very low transfer rates. The patch adds code to calculate and setup the SPI clock frequency for transfers. Signed-off-by:
Anatolij Gustschin <agust@denx.de> Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
Anatolij Gustschin authored
We need to shift only one time in each cycle in the swapping loop for unaligned tx case. Currently two byte shift operations are performed in each loop cycle causing zero gaps in the transmited data, so not all data scheduled for transmition is actually transmited. The proper swapping in unaligned rx case is missing, so add it as we need to put the received data into the rx buffer in the correct byte order. Signed-off-by:
Anatolij Gustschin <agust@denx.de> Tested-by:
Stefano Babic <sbabic@denx.de>
-
Stefano Babic authored
Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
Stefano Babic authored
The patch adds helper funtions for basic access to the registers of the MC9sdz60 chip (multifunctional device with RTC and CAN) via I2C interface. Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
Stefano Babic authored
There is sporadic failures when more as one I2C slave is on the bus and the processor tries to communicate with more as one slave. The problem was seen on a mx35pdk (two I2C slaves, PMIC controller and CAN/RTC chip). The current driver uses the IIF bit in the status register to check if the bus is busy or not. According to the manual, this is not correct, because the IIB bit should be checked. Not only, to check if a transfer is finished must be checked the ICF bit, and this is not tested at all. This patch comes from analyse with a corresponding driver provided by Freescale as part of the LTIB tool. Comparing the two drivers, it appears that the current u-boot driver checks the wrong bits, and depending on race condition, the transfer can be successful or not. The patch gets rid also of own debug function (DPRINTF), replaced with the general debug(). Tested on Freescale mx35pdk. Signed-off-by:
Stefano Babic <sbabic@denx.de> CC: Heiko Schocher <hs@denx.de> Acked-by:
Heiko Schocher <hs@denx.de>
-
Stefano Babic authored
This driver accesses to processor's register via __REG macros, that are removed (or are planned to be removed) and replaced by C structures. This patches replaces all occurrencies of __REG macros. Signed-off-by:
Stefano Babic <sbabic@denx.de> CC: Heiko Schocher <hs@denx.de> Acked-by:
Heiko Schocher <hs@denx.de>
-
Stefano Babic authored
Signed-off-by:
Stefano Babic <sbabic@denx.de> CC: Heiko Schocher <hs@denx.de> Acked-by:
Heiko Schocher <hs@denx.de>
-
Stefano Babic authored
The patch adds UART support for the i.MX35 processor. Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
Stefano Babic authored
The patch adds basic support for the Freescale's i.MX35 (arm1136 based) processor. The patch adds also a prototype for the initialization of the FEC(ethernet controller) to netdev.h to avoid warnings. Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
Marek Vasut authored
Supported: MMC IDE PMIC SPI flash LEDs I can boot the kernel supplied by freescale/genesi with this from MMC card and/or PATA disk. Signed-off-by:
Marek Vasut <marek.vasut@gmail.com>
-
Liu Hui-R64343 authored
This patch add the MX53 boot image support. This patch has been tested on Freescale MX53EVK board and MX51EVK board. Signed-off-by:
Jason Liu <r64343@freescale.com>
-
Marek Vasut authored
Signed-off-by:
Marek Vasut <marek.vasut@gmail.com>
-
Marek Vasut authored
Define voltages configurable on SWx buck switchers. Signed-off-by:
Marek Vasut <marek.vasut@gmail.com> Acked-by:
Stefano Babic <sbabic@denx.de>
-
Stefano Babic authored
Signed-off-by:
Stefano Babic <sbabic@denx.de> Acked-by:
Scott Wood <scottwood@freescale.com>
-
Marek Vasut authored
Signed-off-by:
Marek Vasut <marek.vasut@gmail.com> Acked-by:
Stefano Babic <sbabic@denx.de> Acked-by:
Wolfgang Denk <wd@denx.de>
-
Liu Hui-R64343 authored
Add initial support for MX53EVK board support. FEC, SD/MMC, UART, I2C, have been supported. Signed-off-by:
Jason Liu <r64343@freescale.com>
-
Liu Hui-R64343 authored
This patch add I2C interface for fsl_pmic driver support Signed-off-by:
Jason Liu <r64343@freescale.com>
-
Liu Hui-R64343 authored
This patch add I2C support for Freescale MX53 processor Signed-off-by:
Jason Liu <r64343@freescale.com>
-
Liu Hui-R64343 authored
This patch add mxc_gpio support for Freescale MX53 processor Signed-off-by:
Jason Liu <r64343@freescale.com>
-
Liu Hui-R64343 authored
This patch add UART support for Freescale MX53 processor Signed-off-by:
Jason Liu <r64343@freescale.com>
-
Liu Hui-R64343 authored
This patch add FEC support for Freescale MX53 processor Signed-off-by:
Jason Liu <r64343@freescale.com>
-
Liu Hui-R64343 authored
Add initial support for Freescale MX53 processor, - Add the iomux support and the pin definition, - Add the regs definition, clean up some unused def from mx51, - Add the low level init support, make use the freq input of setup_pll macro Signed-off-by:
Jason Liu <r64343@freescale.com>
-
Liu Hui-R64343 authored
The early bootup information is not print out due to the UART pin iomux not set up correctly before board_init Add the board_early_init_f function and enable the CONFIG_BOARD_EARLY_INIT_F. Move the UART pin setting from board_init to board_early_init_f function. This patch also move the FEC pin iomux setup to the board_early_init_f. Signed-off-by:
Jason Liu <r64343@freescale.com>
-
- Jan 31, 2011
-
- Jan 27, 2011
-
-
Ryan Mallon authored
Make at91 header includes in soft_i2c depend only on CONFIG_AT91FAMILY rather than individual SoCs. Signed-off-by:
Ryan Mallon <ryan@bluewatersys.com> Acked-by:
Reinhard <Meyer<u-boot@emk-elektronik.de>
-
Alex Dubov authored
Mpq101 is a RapidIO development board in AMC form factor, featuring MPC8548 processor, 512MB of hardwired DDR2 RAM, 128MB of hardwired NAND flash memory, real time clock and additional serial EEPROM on i2c bus (enabled). USB controller is available, but not presently enabled. Additional board information is available at: http://www.mc.com/products/boards/ensemble_mpq101_rapidio_powerquicc_iii.aspx Environment is configured to precede the actual u-boot image so that it's located at the beginning of flash erase block (made necessary by the recent changes to the embedded environment handling). This is achieved by means of custom ld script. Signed-off-by:
Alex Dubov <oakad@yahoo.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
York Sun authored
Fix the bits for ngpixis to reset to alternative bank. Originally the mask was 0xE0, which left it possible to reset to bank 3 if DIP switch is set to boot from bank 1. Changing to 0xF0 gurantees to reset to bank 2. Signed-off-by:
York Sun <yorksun@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Jan 26, 2011
-
-
Liu Ying authored
CONFIG_SPLASH_SCREEN_ALIGN makes uboot support display offset for splashimage. The framebuffer writing address should be calculated according to different kinds of framebuffer pixel format, i.e., bits per pixel value. Signed-off-by:
Liu Ying <Ying.Liu@freescale.com>
-
- Jan 25, 2011
-
-
Nobuhiro Iwamatsu authored
Linker needs to use the proper endian/bfd flags even when doing partial linking. LDFLAGS_u-boot sets linker option which is called it when U-boot is built (u-boot final). LDFLAGS sets necessary option by partial linking (use in cmd_link_o_target). CC: Mike Frysinger <vapier@gentoo.org> Signed-off-by:
Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
Macpaul Lin authored
Faraday's ftpmu010 is a power managemnet unit which support cpu sleep and frequency scaling. It has been integrated into many SoC. This patch also move ftpmu010 to a proper place for later enhancement. Signed-off-by:
Macpaul Lin <macpaul@andestech.com>
-
Kumar Gala authored
If we built POST on PPC's that didn't enable CONFIG_SYS_POST_FPU we'd get the following warning with newer toolchains: powerpc-linux-gnu-ld: Warning: lib_powerpc/fpu/libpostpowerpcfpu.o uses hard float, libpost.o uses soft float We actually worked around this sometime ago with the following commit: commit ce82ff05 Author: Yuri Tikhonov <yur@emcraft.com> Date: Sat Dec 20 14:54:21 2008 +0300 FPU POST: fix warnings when building with 2.18 binutils However, this only took into effect if CONFIG_SYS_POST_FPU was enabled. We can simply move the GNU_FPOST_ATTR out of the CONFIG_SYS_POST_FPU ifdef block to address the issue. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
Patch 8ef583a0 [miiphy: convert to linux/mii.h] introduced the following compiler warnings in the uec ethernet driver: In file included from /local/home/galak/git/u-boot-85xx/include/miiphy.h:37:0, from uec.c:32: /local/home/galak/git/u-boot-85xx/include/linux/mii.h:133:0: warning: "LPA_1000FULL" redefined uec_phy.h:34:0: note: this is the location of the previous definition /local/home/galak/git/u-boot-85xx/include/linux/mii.h:134:0: warning: "LPA_1000HALF" redefined uec_phy.h:35:0: note: this is the location of the previous definition In file included from /local/home/galak/git/u-boot-85xx/include/miiphy.h:37:0, from uec_phy.c:27: /local/home/galak/git/u-boot-85xx/include/linux/mii.h:133:0: warning: "LPA_1000FULL" redefined uec_phy.h:34:0: note: this is the location of the previous definition /local/home/galak/git/u-boot-85xx/include/linux/mii.h:134:0: warning: "LPA_1000HALF" redefined uec_phy.h:35:0: note: this is the location of the previous definition Fix them be removing the duplication in the uec code and utlizing the linux/mii.h version instead. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
ctrl_regs.c: In function 'set_ddr_sdram_mode_2': ctrl_regs.c:690:6: warning: unused variable 'i' 'i' is only used by DDR3 code. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Jan 21, 2011
-
-
Loïc Minier authored
.boards.depend was created in the source tree even when calling make with O=objtree, and distclean O=objtree wouldn't clean it. Create .boards.depend in objtree instead as to clean it up properly. Reported-by:
Loc Minier <loic.minier@linaro.org> Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Loïc Minier authored
When building with srctree != objtree, the build creates arch/soc/cpu specific symlinks in the source tree. This means that the same source tree can't be used for multiple builds at the same time. Also, these symlinks in the source tree are only cleaned up if one passes the same O= to distclean. When srctree != objtree, mkconfig creates an $objtree/include2 directory in the objtree to host the asm -> arch/$arch/include/asm symlink so that "#include <asm>" can be used. But it also creates another identical symlink in $objtree/include. Then, mkconfig creates two symlinks: $objtree/include/asm/arch -> arch/$arch/include/asm/arch-$cpu (or $soc) $objtree/include/asm/proc -> arch/$arch/include/asm/proc-armv (on arm) but because $objtree/include/asm points at $srctree already, the two symlinks are created under $srctree. To fix this, create a real $objtree/include/asm directory, instead of a symlink. Update cleanup code accordingly. Signed-off-by:
Loïc Minier <loic.minier@linaro.org>
-