- Aug 19, 2013
-
-
Axel Lin authored
Use ARRAY_SIZE instead of having similar implementation in each drivers. The NUMELEMS defined in drivers/net/npe/include/IxOsalTypes.h is not used at all, so this patch removes it instead of converting it to use ARRAY_SIZE. Signed-off-by:
Axel Lin <axel.lin@ingics.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Ben Warren <biggerbadderben@gmail.com> Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Marek Vasut <marex@denx.de> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Cc: TsiChungLiew <Tsi-Chung.Liew@freescale.com> Cc: Wolfgang Denk <wd@denx.de> Cc: York Sun <yorksun@freescale.com>
-
Fabio Estevam authored
LAN8710/8720 are 10/100 Mbps PHYs, so fix the '.features' field. Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
Axel Lin authored
Use default_serial_puts() instead of its own implementation. Signed-off-by:
Axel Lin <axel.lin@ingics.com> Acked-by:
Marek Vasut <marex@denx.de> Acked-by:
Michal Simek <monstr@monstr.eu>
-
- Aug 16, 2013
-
-
Axel Lin authored
Signed-off-by:
Axel Lin <axel.lin@ingics.com> Reviewed-by:
Thierry Reding <thierry.reding@gmail.com> Acked-by:
Marek Vasut <marex@denx.de>
-
- Aug 15, 2013
-
-
TENART Antoine authored
Rename some CONFIG_TI814X to a more generic CONFIG_TI81XX Signed-off-by:
Antoine Tenart <atenart@adeneo-embedded.com> [trini: Adapt for CONFIG_OMAP_COMMON changes, AM43XX] Signed-off-by:
Tom Rini <trini@ti.com>
-
Lokesh Vutla authored
Add AM43xx support in the required places Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com>
-
Lokesh Vutla authored
There are many musb prints in SPL and U-Boot log. These prints are required only during musb debug. So replacing printk with pr_debug in musb_core. Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com> Tested-by:
Heiko Schocher <hs@denx.de> Acked-by:
Heiko Schocher <hs@denx.de>
-
- Aug 13, 2013
-
-
Simon Glass authored
Tegra recently moved to the new I2C framework, which sets up I2C prior to relocation, and prior to calling i2c_init_board(). This causes a crash on Tegra boards. Tested-by:
Stephen Warren <swarren@nvidia.com> Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Jagan Teki authored
Register arm_dcc with drivers/serial/serial.c Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Jagan Teki authored
Removed stdio structure ops support on arm_dcc driver, and need to register with serial core so-that it can access like remianing serial drivers. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Aug 12, 2013
-
-
Donghwa Lee authored
This patch have changed mipi dsi write functions' parameters correctly so that type cast operations were removed. And mipi dsi payload is composed with array of panel commands to improve readability. Signed-off-by:
Donghwa Lee <dh09.lee@samsung.com>
-
Marek Vasut authored
This patch moves all the font configuration values into video_font_data.h so they are all in the right place with the font. The video_font.h now only includes video_font_data.h and will allow us to select and include different font once more fonts are added. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Anatolij Gustschin <agust@denx.de> [agust: fixed build warning for mcc200] Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Soren Brinkmann authored
Some versions of the Zynq first stage boot loader enable PCAP loopback during boot regardless of whether or not the boot image includes PL configuration. This behavior only appears in certain boot modes (notably QSPI boot). Attempting to configure the PL with the loopback bit set will result in timeouts and will prevent successful configuration. In order to avoid this problem, and to avoid dependency on the version of the FSBL used to boot the system, ensure that the loopback enable bit is cleared when loading the driver. Signed-off-by:
Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
- Add support for zc7100 device. - FPGA programming on few of the SOC(zc7100) takes more than 1sec, hence increased the program time by 4sec to sync' all soc's. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Aug 10, 2013
-
-
Heiko Schocher authored
This patch add an option to skip cfb console init for boards who want to show a logo, but not use the cfb console. This is needed for the siemens boards, which have a bmp bootlogo, but do not need the cfb console. Signed-off-by:
Heiko Schocher <hs@denx.de> Cc: Anatolij Gustschin <agust@denx.de> [agust: use '__weak int board_cfb_skip(void)'] Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Heiko Schocher authored
without this patch the bdinfo command shows: U-Boot# bd arch_number = 0x000010DC [...] sp start = 0x8EF32F20 FB base = 0x00000000 with this patch it shows the address where the framebuffer for this video driver start: arch_number = 0x000010DC [...] sp start = 0x8EF32F20 FB base = 0x8EF3C788 Signed-off-by:
Heiko Schocher <hs@denx.de> Cc: Anatolij Gustschin <agust@denx.de> Cc: Tom Rini <trini@ti.com> Acked-by:
Tom Rini <trini@ti.com>
-
Heiko Schocher authored
to use this driver also on am335x based boards, the following changes are made: - struct lcd_ctrl_config lcd_cfg is now configurable through board code - controller base is configurable through define DA8XX_LCD_CNTL_BASE. To be compatible with older da8xx based boards: If this define is missing, the DAVINCI_LCD_CNTL_BASE is used - Determine LCD IP Version, and make the driver working on lcd revision register values: Version 1: 0x4C100102 Version 2: 0x4F200800 0x4F201000 Signed-off-by:
Heiko Schocher <hs@denx.de> Cc: Stefano Babic <sbabic@denx.de> Cc: Anatolij Gustschin <agust@denx.de> Cc: Tom Rini <trini@ti.com> Acked-by:
Tom Rini <trini@ti.com>
-
Heiko Schocher authored
the da8xx-fb driver works also on am335x boards. So move the da8xx-fb.h file from arch/arm/include/asm/arch-davinci to drivers/video, so this driver can used from am335x based boards. Also add WVGA panel_type. Signed-off-by:
Heiko Schocher <hs@denx.de> Cc: Stefano Babic <sbabic@denx.de> Cc: Anatolij Gustschin <agust@denx.de> Cc: Tom Rini <trini@ti.com> Acked-by:
Tom Rini <trini@ti.com>
-
Hyungwon Hwang authored
This is u-boot driver for L5F31188 panel. I tested it in the board based on MIPI DSI with EXYNOS4 series, and it worked well. Changes in V2: - Replaced license header by SPDX-License-Identifier. Signed-off-by:
Hyungwon Hwang <human.hwang@samsung.com> Signed-off-by:
Donghwa Lee <dw09.lee@samsung.com> [agust: sort Makefile entry alphabetically] Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Marek Vasut authored
The cfb_console can't handle 4-bit wide font properly, since with 4-bit wide font, all 8 bits are drawn. Unbreak the video_drawchars() function to correctly render 4-bits only on such fonts. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Anatolij Gustschin <agust@denx.de>
-
- Aug 09, 2013
-
-
Marek Vasut authored
The LCDIF interface doesn't give us any means to do continuous refresh when driving a SmartLCD. To work this around, we produce a special circular DMA descriptor, which only writes the HW_LCDIF_CTRL0 register and sets the RUN bit. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Anatolij Gustschin <agust@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Otavio Salvador <otavio@ossystems.com.br> Cc: Stefano Babic <sbabic@denx.de>
-
Marek Vasut authored
Add hook that allow configuring SmartLCD attached the MXS LCDIF controller operating in System-Mode. This hook can be overriden by a platform-specific SmartLCD programming routine, which writes the SmartLCD specific values into it's registers. Also, this patch makes sure the SYNC signals are off for the SmartLCD case. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Anatolij Gustschin <agust@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Otavio Salvador <otavio@ossystems.com.br> Cc: Stefano Babic <sbabic@denx.de>
-
Marek Vasut authored
Allocate the framebuffer aligned so it can be flushed and the flush_dcache_range() function won't complain. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Anatolij Gustschin <agust@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Otavio Salvador <otavio@ossystems.com.br> Cc: Stefano Babic <sbabic@denx.de> Acked-by:
Stefano Babic <sbabic@denx.de>
-
Marek Vasut authored
Add special function that executes a specially crafted circular DMA descriptor. The function doesn't wait for the descriptor to finish the transfer, since the descritor never finishes. This is useful when operating a SmartLCD through the LCDIF interface, as the LCDIF does not give us any means to have continuous refresh of the SmartLCD. Instead, the RUN bit in the LCDIF CTRL register must be triggered manually. This can be worked around by starting an DMA transfer which continuously sets the RUN bit. This function allows starting exactly such transfer. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Anatolij Gustschin <agust@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Otavio Salvador <otavio@ossystems.com.br> Cc: Stefano Babic <sbabic@denx.de>
-
Zang Roy-R61911 authored
T4240 PCIe IP is version 3.0 and has some update comparing previous QorIQ products. 1. Move Freescale specific register define to arch/powerpc/include/asm/fsl_pci.h and update the register offset define for T4240. 2. add the status/control register define use status/control register to judge the link status 3. The original code uses 'Programming Interface' field to judge if PCIE is EP or RC mode, however, T4240 does not support this functionality. According to PCIE specification, 'Header Type' offset 0x0e is used to indicate header type, so for PCIE controller, the patch changes code to use 'Header Type' field to identify if the PCIE is RC or EP mode. This patch fixes the PCIe card link up issue on T4240QDS. Signed-off-by:
Roy Zang <tie-fei.zang@freescale.com> Signed-off-by:
Minghuan Lian <Minghuan.Lian@freescale.com> Signed-off-by:
York Sun <yorksun@freescale.com>
-
York Sun authored
FMAN firmware can be in NOR flash, NAND flash, SPI flash, MMC or even remote. In case none of them is defined, set it to null. Signed-off-by:
York Sun <yorksun@freescale.com>
-
- Aug 06, 2013
-
-
Jagan Teki authored
Add support for SST25WF080 SPI flash. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Jagan Teki authored
Zynq spi controller driver supports 2 buses and 3 chipselects on each bus. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Acked-by:
Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Jagan Teki authored
- CHECK: Alignment should match open parenthesis - trailing whitespace Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
Jagan Teki authored
- line over 80 characters. - CHECK: Alignment should match open parenthesis Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
Jagan Teki authored
- line over 80 characters - foo * bar -> foo *bar - removed unnecessary for single statement blocks. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
Jagan Teki authored
- line over 80 characters - add spaces - add tabs Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
Jagan Teki authored
- line over 80 characters - insert the expression in same line Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
Axel Lin authored
Use DIV_ROUND_UP to simplify the code. Signed-off-by:
Axel Lin <axel.lin@ingics.com>
-
Axel Lin authored
Use DIV_ROUND_UP to simplify the code. Signed-off-by:
Axel Lin <axel.lin@ingics.com>
-
- Aug 03, 2013
-
-
Marek Vasut authored
In case only the CONFIG_SYS_I2C_SPEED is set in configuration file, the CONFIG_SYS_I2C_SOFT_SPEED is defined as CONFIG_SYS_I2C_SPEED. The CONFIG_SYS_I2C_SOFT_SPEED is then used throughout the driver. Unfortunatelly, due to a typo in the driver, instead of defining CONFIG_SYS_I2C_SOFT_SPEED, an CONFIG_SYS_SOFT_I2C_SPEED was defined and therefore the driver failed to compile. The same applies for CONFIG_SYS_I2C_SOFT_SLAVE , where the swap happens as well. This patch fixes the issue. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Heiko Schocher <hs@denx.de>
-
- Jul 31, 2013
-
-
Axel Lin authored
Use DIV_ROUND_UP to simplify the code. Signed-off-by:
Axel Lin <axel.lin@ingics.com> Signed-off-by:
Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by:
Sonic Zhang <sonic.zhang@analog.com>
-
Axel Lin authored
In special_gpio_free(), call unreserve() rather than reserve() to release gpio. Signed-off-by:
Axel Lin <axel.lin@ingics.com> Signed-off-by:
Sonic Zhang <sonic.zhang@analog.com>
-
- Jul 30, 2013
-
-
Dan Murphy authored
Add the tca642x gpio expander driver Datasheet: http://www.ti.com/product/tca6424a Signed-off-by:
Dan Murphy <dmurphy@ti.com>
-
Heiko Schocher authored
accessing a lan9303 switch with the cpsw driver results in wrong speed detection, as the switch sets the BMSR_ERCAP in BMSR register, and follow read of the MII_STAT1000 register fails, as the switch does not support it. Current code did not check, if a phy_read() fails ... fix this. Signed-off-by:
Heiko Schocher <hs@denx.de> Cc: Joe Hershberger <joe.hershberger@gmail.com> Acked-by:
Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by:
Tom Rini <trini@ti.com>
-