summaryrefslogtreecommitdiff
path: root/board/cm_t35
AgeCommit message (Collapse)Author
2013-05-10cm-t35: move cm-t35 to live in compulab directoryIgor Grinberg
Currently the cm-t35 support code lives under board/cm_t35 directory. Some of the code can be shared with other/future CompuLab boards, so move the cm-t35 to live under board/compulab/cm_t35 directory. Signed-off-by: Igor Grinberg <[email protected]> Tested-by: Nikita Kiryanov <[email protected]>
2013-05-10twl4030: make twl4030_i2c_read_u8 prototype consistentNishanth Menon
u-boot standard i2c read prototype is i2c_read(addr, reg, 1, &buf, 1) twl4030_i2c_read_u8(u8 addr, u8 *val, u8 reg) does not provide consistency, so switch the prototype to be consistent with rest of u-boot i2c operations: twl4030_i2c_read_u8(u8 addr, u8 reg, u8 *val) Signed-off-by: Nishanth Menon <[email protected]>
2013-05-10twl4030: make twl4030_i2c_write_u8 prototype consistentNishanth Menon
u-boot standard i2c register write prototype is i2c_reg_write(u8 addr, u8 reg, u8 val) twl4030_i2c_write_u8(u8 addr, u8 val, u8 reg) does not provide consistency, so switch the prototype to be consistent with rest of u-boot i2c operations: twl4030_i2c_write_u8(u8 addr, u8 reg, u8 val) Signed-off-by: Nishanth Menon <[email protected]>
2013-04-10nand: Extend nand_(read|write)_skip_bad with *actual and limit parametersTom Rini
We make these two functions take a size_t pointer to how much space was used on NAND to read or write the buffer (when reads/writes happen) so that bad blocks can be accounted for. We also make them take an loff_t limit on how much data can be read or written. This means that we can now catch the case of when writing to a partition would exceed the partition size due to bad blocks. To do this we also need to make check_skip_len count not just complete blocks used but partial ones as well. All callers of nand_(read|write)_skip_bad are adjusted to call these with the most sensible limits available. The changes were started by Pantelis and finished by Tom. Signed-off-by: Pantelis Antoniou <[email protected]> Signed-off-by: Tom Rini <[email protected]>
2013-03-29Merge branch 'for-v2013.04'Anatolij Gustschin
Conflicts: drivers/video/Makefile Signed-off-by: Anatolij Gustschin <[email protected]>
2013-03-22cm-t35: add support for loading splash image from NANDNikita Kiryanov
Add support for loading splash image from NAND Signed-off-by: Nikita Kiryanov <[email protected]> Signed-off-by: Igor Grinberg <[email protected]>
2013-03-21common/lcd.c: remove global lcd_baseJeroen Hofstee
lcd_base is available as gd->fb_base as well, there is no need to keep a seperate copy. For completeness the ack of Bo Shen is for the atmel part. Cc: Alessandro Rubini <[email protected]> Cc: Anatolij Gustschin <[email protected]> Cc: Bo Shen <[email protected]> Cc: Haavard Skinnemoen <[email protected]> Cc: Kyungmin Park <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Minkyu Kang <[email protected]> Cc: Nikita Kiryanov <[email protected]> Cc: Simon Glass <[email protected]> Cc: Stelian Pop <[email protected]> Cc: Tom Warren <[email protected]> Acked-by: Bo Shen <[email protected]> Signed-off-by: Jeroen Hofstee <[email protected]> [agust: also fix cm_t35 board while rebasing] Signed-off-by: Anatolij Gustschin <[email protected]>
2013-03-21common/lcd.c: cleanup use of global variablesJeroen Hofstee
console_col, console_row, lcd_line_length, lcd_console_address had to be declared in board / driver specific code, but were not actually used there on many boards. Get rid of the global variables. for completeness, the ack of Bo Shen is for the atmel part Cc: Alessandro Rubini <[email protected]> Cc: Anatolij Gustschin <[email protected]> Cc: Bo Shen <[email protected]> Cc: Kyungmin Park <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Minkyu Kang <[email protected]> Cc: Nikita Kiryanov <[email protected]> Cc: Simon Glass <[email protected]> Cc: Stelian Pop <[email protected]> Cc: Tom Warren <[email protected]> Acked-by: Bo Shen <[email protected]> Signed-off-by: Jeroen Hofstee <[email protected]> [agust: rebased and fixed cm_t35 board] Signed-off-by: Anatolij Gustschin <[email protected]>
2013-03-21common/lcd.c: cleanup use of global variablesWolfgang Denk
lcd_color_fg and lcd_color_bg had to be declared in board specific code, but were not actually used there; in addition, we have getter / setter functions for these, which were not used either. Get rid of the global variables, and use the getter function where needed (so far no setter calls are needed). Signed-off-by: Wolfgang Denk <[email protected]> Cc: Alessandro Rubini <[email protected]> Cc: Anatolij Gustschin <[email protected]> Cc: Bo Shen <[email protected]> Cc: Haavard Skinnemoen <[email protected]> Cc: Kyungmin Park <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Minkyu Kang <[email protected]> Cc: Nikita Kiryanov <[email protected]> Cc: Simon Glass <[email protected]> Cc: Stelian Pop <[email protected]> Cc: Tom Warren <[email protected]> Acked-by: Simon Glass <[email protected]> Acked-by: Jeroen Hofstee <[email protected]> [agust: also fixed cm_t35 board while rebasing] Signed-off-by: Anatolij Gustschin <[email protected]>
2013-03-08cm-t35: add support for user defined lcd parametersNikita Kiryanov
Add support for user defined lcd parameters for cm-t35 splash screen. Cc: Jeroen Hofstee <[email protected]> Cc: Anatolij Gustschin <[email protected]> Signed-off-by: Nikita Kiryanov <[email protected]> Signed-off-by: Igor Grinberg <[email protected]>
2013-03-08cm-t35: add support for dvi displaysNikita Kiryanov
Add support for dvi displays with user selectable dvi presets. Cc: Wolfgang Denk <[email protected]> Cc: Jeroen Hofstee <[email protected]> Cc: Anatolij Gustschin <[email protected]> Signed-off-by: Nikita Kiryanov <[email protected]> Signed-off-by: Igor Grinberg <[email protected]>
2013-03-08omap_hsmmc: add driver check for write protectionNikita Kiryanov
Add check for write protection in omap mmc driver. Signed-off-by: Nikita Kiryanov <[email protected]> Signed-off-by: Igor Grinberg <[email protected]> Reviewed-by: Tom Rini <[email protected]>
2013-03-08cm-t35: implement board specific card detect checkNikita Kiryanov
Implement a card detection check for cm-t35. Signed-off-by: Nikita Kiryanov <[email protected]> Signed-off-by: Igor Grinberg <[email protected]>
2013-03-08omap_hsmmc: implement driver check for card detectionNikita Kiryanov
Implement driver check for card detection. Signed-off-by: Nikita Kiryanov <[email protected]> Signed-off-by: Igor Grinberg <[email protected]>
2012-12-20cm_t35: use new low level interface for usb ehciNikita Kiryanov
Update usb host support to use new version of omap_ehci_hcd_init. Signed-off-by: Nikita Kiryanov <[email protected]>
2012-12-20cm-t35: add USB host supportNikita Kiryanov
Add support for USB host ports on cm-t3530 and cm-t3730. Signed-off-by: Nikita Kiryanov <[email protected]> Signed-off-by: Igor Grinberg <[email protected]>
2012-09-01arm: omap3: cm-t35: minor comment and printf changeIgor Grinberg
Fix the comment to reflect the actual function call time. Change the printf message to look nicer in the context it might be printed. Signed-off-by: Igor Grinberg <[email protected]>
2012-07-07cm-t35: print PCB revision informationNikita Kiryanov
Buffer the PCB revision to avoid multiple eeprom accesses for the same data and print it as a part of board information. Signed-off-by: Nikita Kiryanov <[email protected]> Signed-off-by: Igor Grinberg <[email protected]> Signed-off-by: Tom Rini <[email protected]>
2012-07-07cm-t35: fix legacy board revision representationNikita Kiryanov
Legacy eeprom layout represents the revision number syntactically (i.e. revision 1.00 is written as 0x100). This is inconsistent with the representation in newer layouts, where it is defined semantically (i.e. 0x64). This patch fixes the issue by replacing the syntactic representation with the semantic one. Signed-off-by: Nikita Kiryanov <[email protected]> Signed-off-by: Igor Grinberg <[email protected]>
2012-07-07cm-t35: fix incorrect BOARD_REV_SIZE valueNikita Kiryanov
Non-legacy layouts have an extended revision field, but only the first 2 bytes are the PCB revision. Signed-off-by: Nikita Kiryanov <[email protected]> Signed-off-by: Igor Grinberg <[email protected]>
2012-05-15cm-t35: add I2C multi-bus supportNikita Kiryanov
Enable I2C multi-bus support and config I2C muxes for I2C2 and I2C3. Signed-off-by: Nikita Kiryanov <[email protected]> Signed-off-by: Igor Grinberg <[email protected]>
2012-05-15omap3: Introduce weak misc_init_rTom Rini
Introduce a __weak misc_init_r function that just runs dieid_num_r(). Remove misc_init_r from cm_t35, mcx, omap3_logic and mt_ventoux as this was all they did for misc_init_r. Cc: Igor Grinberg <[email protected]> Cc: Ilya Yanok <[email protected]> Cc: Peter Barada <[email protected]> Cc: Stefano Babic <[email protected]> Signed-off-by: Tom Rini <[email protected]> Acked-by: Igor Grinberg <[email protected]>
2012-05-15ARM:OMAP+:MMC: Add parameters to MMC initJonathan Solnit
Add parameters to the OMAP MMC initialization function so the board can mask host capabilities and set the maximum clock frequency. While the OMAP supports a certain set of MMC host capabilities, individual boards may be more restricted and the OMAP may need to be configured to match the board. The PRG_SDMMC1_SPEEDCTRL bit in the OMAP3 is an example. Signed-off-by: Jonathan Solnit <[email protected]>
2012-04-16cm-t35: fix Ethernet reset timingIgor Grinberg
The reset_net_chip() function has wrong timings for the reset pulse. This appeared to work until: 0607e2b (ARMV7: OMAP: Write more than 1 byte at a time in i2c_write) Fix the Ethernet support by introducing right timings. Signed-off-by: Igor Grinberg <[email protected]>
2012-01-16cm-t35: use the new EEPROM module to read the MAC addressNikita Kiryanov
Switch to the new EEPROM module and fix the problem of MAC address being read from the wrong offset due to lack of distinction between EEPROM layouts. Signed-off-by: Nikita Kiryanov <[email protected]> Signed-off-by: Igor Grinberg <[email protected]>
2012-01-16cm-t35: pass correct revision information to LinuxNikita Kiryanov
Read revision from EEPROM and pass it to Linux. Signed-off-by: Nikita Kiryanov <[email protected]> Signed-off-by: Igor Grinberg <[email protected]>
2012-01-16cm-t35: add EEPROM module and pass Linux a serial numberNikita Kiryanov
Add board specific EEPROM handling module, read the serial number from the EEPROM and pass it to Linux. Signed-off-by: Nikita Kiryanov <[email protected]> Signed-off-by: Igor Grinberg <[email protected]>
2012-01-16cm-t35: various cleanupsNikita Kiryanov
Move #ifdef CONFIG_SMC911X out of board_eth_init() function, simplify the board_mmc_init() function, and enclose handle_mac_address() in the CONFIG_SMC911X. Signed-off-by: Nikita Kiryanov <[email protected]> Signed-off-by: Igor Grinberg <[email protected]>
2011-10-22build: add missing $(AR)->$(cmd_link_o_target) updateMike Frysinger
Seems people fixed their files to use libfoo.o, but didn't actually update the creation targets to use $(cmd_link_o_target). Update the rest of the Makefile's found with grep. Signed-off-by: Mike Frysinger <[email protected]> Tested-by: Simon Glass <[email protected]>
2011-10-15punt unused clean/distclean targetsMike Frysinger
The top level Makefile does not do any recursion into subdirs when cleaning, so these clean/distclean targets in random arch/board dirs never get used. Punt them all. MAKEALL didn't report any errors related to this that I could see. Signed-off-by: Mike Frysinger <[email protected]>
2011-09-13omap: gpio: Adapt board files to use generic APISanjeev Premi
This patch contains updates the sources in the board files to use the generic API. Signed-off-by: Sanjeev Premi <[email protected]>
2011-09-04OMAP3: CM-T35: Use generic MMC driverTom Rini
Switch from the legacy omap3 mmc driver to the new generic omap hsmmc driver. This patch is based on the work done for Beagle, etc. Signed-off-by: Tom Rini <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-04-27OMAP3: CM-T35: Add support for CM-T3730Igor Grinberg
CM-T3730 is exactly the same board as CM-T35, but it has TI DM3730 SoC onboard and therefore some changes have to take place Signed-off-by: Igor Grinberg <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-04-27OMAP3: CM-T35: enable the green LEDIgor Grinberg
Signed-off-by: Igor Grinberg <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-04-27OMAP3: CM-T35: remove redundand i2c initializationIgor Grinberg
Signed-off-by: Igor Grinberg <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-04-27OMAP3: CM-T35: fix mmcIgor Grinberg
Use CONFIG_OMAP3_MMC in cm-t35 configuration file. Signed-off-by: Igor Grinberg <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-04-27OMAP3: CM-T35: add MMC1 pinmuxIgor Grinberg
Signed-off-by: Igor Grinberg <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-04-27OMAP3: CM-T35: update board files header informationIgor Grinberg
Signed-off-by: Igor Grinberg <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-04-27OMAP3: CM-T35: Move DECLARE_GLOBAL_DATA_PTR to file scopeIgor Grinberg
Move DECLARE_GLOBAL_DATA_PTR to file scop Signed-off-by: Igor Grinberg <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-02-02OMAP3: add CM-T35 boardMike Rapoport
This patch adds support for CM-T35 board Signed-off-by: Mike Rapoport <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>