Joe Hershberger
60e1dc151e
mpc83xx: cosmetic: sbc8349.h checkpatch compliance
...
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com >
Cc: Joe Hershberger <joe.hershberger@gmail.com >
Signed-off-by: Kim Phillips <kim.phillips@freescale.com >
2011-11-03 18:27:55 -05:00
Joe Hershberger
80ae4df929
mpc83xx: cosmetic: mpc8308_p1m.h checkpatch compliance
...
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com >
Cc: Joe Hershberger <joe.hershberger@gmail.com >
Signed-off-by: Kim Phillips <kim.phillips@freescale.com >
2011-11-03 18:27:55 -05:00
Joe Hershberger
b43b12e6b1
mpc83xx: cosmetic: kmeter1.h checkpatch compliance
...
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com >
Cc: Joe Hershberger <joe.hershberger@gmail.com >
Signed-off-by: Kim Phillips <kim.phillips@freescale.com >
2011-11-03 18:27:54 -05:00
Joe Hershberger
df939e1647
mpc83xx: cosmetic: TQM834x.h checkpatch compliance
...
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com >
Cc: Joe Hershberger <joe.hershberger@gmail.com >
Signed-off-by: Kim Phillips <kim.phillips@freescale.com >
2011-11-03 18:27:54 -05:00
Joe Hershberger
bb0f5bc92d
mpc83xx: cosmetic: SIMPC8313.h checkpatch compliance
...
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com >
Cc: Joe Hershberger <joe.hershberger@gmail.com >
Signed-off-by: Kim Phillips <kim.phillips@freescale.com >
2011-11-03 18:27:54 -05:00
Joe Hershberger
b2773a5e1c
mpc83xx: cosmetic: MVBLM7.h checkpatch compliance
...
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com >
Cc: Joe Hershberger <joe.hershberger@gmail.com >
Signed-off-by: Kim Phillips <kim.phillips@freescale.com >
2011-11-03 18:27:54 -05:00
Joe Hershberger
5afe9722b0
mpc83xx: cosmetic: MPC837XERDB.h checkpatch compliance
...
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com >
Cc: Joe Hershberger <joe.hershberger@gmail.com >
Signed-off-by: Kim Phillips <kim.phillips@freescale.com >
2011-11-03 18:27:54 -05:00
Joe Hershberger
8d85808fa1
mpc83xx: cosmetic: MPC837XEMDS.h checkpatch compliance
...
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com >
Cc: Joe Hershberger <joe.hershberger@gmail.com >
Signed-off-by: Kim Phillips <kim.phillips@freescale.com >
2011-11-03 18:27:54 -05:00
Joe Hershberger
9a9865508f
mpc83xx: cosmetic: MPC8360ERDK.h checkpatch compliance
...
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com >
Cc: Joe Hershberger <joe.hershberger@gmail.com >
Signed-off-by: Kim Phillips <kim.phillips@freescale.com >
2011-11-03 18:27:53 -05:00
Joe Hershberger
1f5cb79374
mpc83xx: cosmetic: MPC8360EMDS.h checkpatch compliance
...
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com >
Cc: Joe Hershberger <joe.hershberger@gmail.com >
Signed-off-by: Kim Phillips <kim.phillips@freescale.com >
2011-11-03 18:27:53 -05:00
Joe Hershberger
396abba261
mpc83xx: cosmetic: MPC8349ITX.h checkpatch compliance
...
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com >
Cc: Joe Hershberger <joe.hershberger@gmail.com >
Signed-off-by: Kim Phillips <kim.phillips@freescale.com >
2011-11-03 18:27:53 -05:00
Joe Hershberger
32795ecad6
mpc83xx: cosmetic: MPC8349EMDS.h checkpatch compliance
...
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com >
Cc: Joe Hershberger <joe.hershberger@gmail.com >
Signed-off-by: Kim Phillips <kim.phillips@freescale.com >
2011-11-03 18:27:53 -05:00
Joe Hershberger
989091acb0
mpc83xx: cosmetic: MPC832XEMDS.h checkpatch compliance
...
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com >
Cc: Joe Hershberger <joe.hershberger@gmail.com >
Signed-off-by: Kim Phillips <kim.phillips@freescale.com >
2011-11-03 18:27:53 -05:00
Joe Hershberger
4dde49d8cb
mpc83xx: cosmetic: MPC8323ERDB.h checkpatch compliance
...
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com >
Cc: Joe Hershberger <joe.hershberger@gmail.com >
Signed-off-by: Kim Phillips <kim.phillips@freescale.com >
2011-11-03 18:27:52 -05:00
Joe Hershberger
6f681b7349
mpc83xx: cosmetic: MPC8315ERDB.h checkpatch compliance
...
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com >
Cc: Joe Hershberger <joe.hershberger@gmail.com >
Signed-off-by: Kim Phillips <kim.phillips@freescale.com >
2011-11-03 18:27:52 -05:00
Joe Hershberger
261c07bc67
mpc83xx: cosmetic: MPC8313ERDB.h checkpatch compliance
...
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com >
Cc: Joe Hershberger <joe.hershberger@gmail.com >
Signed-off-by: Kim Phillips <kim.phillips@freescale.com >
2011-11-03 18:27:52 -05:00
Joe Hershberger
34f819685c
mpc83xx: cosmetic: MPC8308RDB.h checkpatch compliance
...
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com >
Cc: Joe Hershberger <joe.hershberger@gmail.com >
Signed-off-by: Kim Phillips <kim.phillips@freescale.com >
2011-11-03 18:27:52 -05:00
Joe Hershberger
7c3a4f986c
mpc83xx: cosmetic: MERGERBOX.h checkpatch compliance
...
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com >
Cc: Joe Hershberger <joe.hershberger@gmail.com >
Signed-off-by: Kim Phillips <kim.phillips@freescale.com >
2011-11-03 18:27:52 -05:00
Joe Hershberger
4713db666c
mpc83xx: Fix ipic structure definition
...
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com >
Cc: Joe Hershberger <joe.hershberger@gmail.com >
Added siprr_{b,c} and sepcr for completeness.
Signed-off-by: Kim Phillips <kim.phillips@freescale.com >
2011-11-03 18:27:52 -05:00
Heiko Schocher
f1ccd10672
powerpc, mpc83xx: add DDR SDRAM Timing Configuration 3 definitions
...
Signed-off-by: Heiko Schocher <hs@denx.de >
Added its mask, too, for intra-file consistency.
Signed-off-by: Kim Phillips <kim.phillips@freescale.com >
2011-11-03 18:27:51 -05:00
Heiko Schocher
4e8b750c53
cosmetic, powerpc, mpc83xx: checkpatch cleanup
...
Signed-off-by: Heiko Schocher <hs@denx.de >
Signed-off-by: Kim Phillips <kim.phillips@freescale.com >
2011-11-03 18:27:51 -05:00
Holger Brunck
e792affe21
powerpc/83xx: move km 83xx specific i2c code to km83xx_i2c
...
The common code should be valid for more than one architecture.
Therefore this code was reorganized and moved to the new
file km83xx_i2c.c
Signed-off-by: Holger Brunck <holger.brunck@keymile.com >
Signed-off-by: Kim Phillips <kim.phillips@freescale.com >
2011-11-03 18:27:51 -05:00
Kim Phillips
63063cc7ae
mpc83xx: fix global timer structure definition
...
The byte address distance between GTCFR2 and GTMDR1 is 11, not 10.
Reported-by: Shawn Bai <programassem@hotmail.com >
Acked-by: Joe Hershberger <joe.hershberger@ni.com >
Signed-off-by: Kim Phillips <kim.phillips@freescale.com >
2011-11-03 18:27:51 -05:00
Stefano Babic
92e86c8dae
Davinci: ea20: added PREBOOT to configuration
...
PREBOOT is used on the ea20 to load a splash image
at the start up.
Signed-off-by: Stefano Babic <sbabic@denx.de >
CC: Sandeep Paulraj <s-paulraj@ti.com >
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com >
2011-11-03 22:56:26 +01:00
Stefano Babic
4205987a66
Davinci: ea20: added I2C support
...
Signed-off-by: Stefano Babic <sbabic@denx.de >
CC: Sandeep Paulraj <s-paulraj@ti.com >
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com >
2011-11-03 22:56:26 +01:00
Stefano Babic
3c8910116c
Davinci: ea20: added video support
...
Signed-off-by: Stefano Babic <sbabic@denx.de >
Cc: Anatolij Gustschin <agust@denx.de >
CC: Sandeep Paulraj <s-paulraj@ti.com >
Acked-by: Anatolij Gustschin <agust@denx.de >
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com >
2011-11-03 22:56:26 +01:00
Stefano Babic
134028682f
VIDEO: davinci: add framebuffer to da8xx
...
The patch is a port from the framebuffer driver
of the Linux driver drivers/video/da8xx-fb.c, used
on davinci da8xx and OMAP-L138 boards.
As base for the port, the following commit (last changes
for this driver at the moment in the Linux kernel tree)
was taken:
commit 1db41e032d563eb47deab40dc5595be306b143ba
Author: axel lin <axel.lin@gmail.com >
Date: Tue Feb 22 01:52:42 2011 +0000
video: da8xx-fb: fix section mismatch warning
Signed-off-by: Axel Lin <axel.lin@gmail.com >
Signed-off-by: Paul Mundt <lethal@linux-sh.org >
Signed-off-by: Stefano Babic <sbabic@denx.de >
CC: Sandeep Paulraj <s-paulraj@ti.com >
Cc: Anatolij Gustschin <agust@denx.de >
Acked-by: Anatolij Gustschin <agust@denx.de >
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com >
2011-11-03 22:56:26 +01:00
Stefano Babic
829f917854
ARM: Davinci: added missing registers to hardware.h
...
The hardware base address for ther LCD configuration
registers is missing, as well as some syscfg registers.
Signed-off-by: Stefano Babic <sbabic@denx.de >
CC: Sandeep Paulraj <s-paulraj@ti.com >
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com >
2011-11-03 22:56:26 +01:00
Bastian Ruppert
8540b16919
Davinci: ea20: add gpios for LCD backlight control
...
Signed-off-by: Bastian Ruppert <Bastian.Ruppert@Sewerin.de >
CC: Sandeep Paulraj <s-paulraj@ti.com >
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com >
2011-11-03 22:56:26 +01:00
Bastian Ruppert
e5ee9125ec
Davinci: ea20: add gpio for keeping power on in board_late_init
...
The pin called HALTEN drives a transistor to operate the supply
voltage. After HALTEN is high, the user can release the power
switch button and the device will stay powered on.
Signed-off-by: Bastian Ruppert <Bastian.Ruppert@Sewerin.de >
CC: sbabic@denx.de
CC: dzu@denx.de
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com >
2011-11-03 22:56:26 +01:00
Stefano Babic
2084f21b05
Davinci: ea20: Add default U-Boot environment
...
Signed-off-by: Stefano Babic <sbabic@denx.de >
Signed-off-by: Bastian Ruppert <Bastian.Ruppert@Sewerin.de >
CC: Sandeep Paulraj <s-paulraj@ti.com >
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com >
2011-11-03 22:56:26 +01:00
Stefano Babic
1c6ec6dd33
Davinci: ea20: Add early init to get early output from console
...
Use board_early_init_f so that the full boot log output can be displayed.
Signed-off-by: Stefano Babic <sbabic@denx.de >
CC: Sandeep Paulraj <s-paulraj@ti.com >
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com >
2011-11-03 22:56:25 +01:00
Stefano Babic
17a8904b27
Davinci: ea20: Add NAND support
...
Signed-off-by: Stefano Babic <sbabic@denx.de >
CC: Sandeep Paulraj <s-paulraj@ti.com >
CC: Scott Wood <scottwood@freescale.com >
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com >
2011-11-03 22:56:25 +01:00
Bastian Ruppert
ca1646b85d
Davinci: ea20: set GPIOs to hold MII-Phy in reset and set UART0-Switch for console
...
Signed-off-by: Bastian Ruppert <Bastian.Ruppert@Sewerin.de >
Signed-off-by: Stefano Babic <sbabic@denx.de >
CC: dzu@denx.de
CC: Sandeep Paulraj <s-paulraj@ti.com >
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com >
2011-11-03 22:56:25 +01:00
Bastian Ruppert
f9fc237f1f
Davinci: ea20: set console on UART0
...
Signed-off-by: Bastian Ruppert <Bastian.Ruppert@Sewerin.de >
Signed-off-by: Stefano Babic <sbabic@denx.de >
CC: Sandeep Paulraj <s-paulraj@ti.com >
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com >
2011-11-03 22:56:25 +01:00
Heiko Schocher
4dd834906d
arm, davinci: add cam_enc_4xx support
...
- DM368 SOC
- booting with spl not with UBL from TI
- before loading u-boot from NAND into RAM, test
the RAM with the post memory test. If error
is found, switch all LEDs on and halt system.
- SPI Flash
Dataflash Typ: M25PE80
- Ethernet DM9161BI
- MMC
- USB
Signed-off-by: Heiko Schocher <hs@denx.de >
Cc: Sandeep Paulraj <s-paulraj@ti.com >
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net >
Cc: Igor Grinberg <grinberg@compulab.co.il >
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com >
2011-11-03 22:56:25 +01:00
Heiko Schocher
8bfe325c74
arm926ejs, davinci: add missing spi defines for dm365
...
Signed-off-by: Heiko Schocher <hs@denx.de >
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net >
Cc: Sandeep Paulraj <s-paulraj@ti.com >
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com >
2011-11-03 22:56:25 +01:00
Heiko Schocher
29b0bef54c
arm926ejs, davinci: add cpuinfo for dm365
...
Signed-off-by: Heiko Schocher <hs@denx.de >
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net >
Cc: Sandeep Paulraj <s-paulraj@ti.com >
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com >
2011-11-03 22:56:25 +01:00
Heiko Schocher
53d3b2ceed
arm, davinci: add lowlevel function for dm365 soc
...
used for booting (for example) from NAND using spl code.
Signed-off-by: Heiko Schocher <hs@denx.de >
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net >
Cc: Sandeep Paulraj <s-paulraj@ti.com >
Cc: Christian Riesch <christian.riesch@omicron.at >
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com >
2011-11-03 22:56:25 +01:00
Heiko Schocher
4e28ede208
arm, davinci: add header files for dm365
...
Signed-off-by: Heiko Schocher <hs@denx.de >
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net >
Cc: Sandeep Paulraj <s-paulraj@ti.com >
Cc: Christian Riesch <christian.riesch@omicron.at >
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com >
2011-11-03 22:56:25 +01:00
Heiko Schocher
68bb829500
spl, nand: add 4bit HW ecc oob first nand_read_page function
...
similiar to commit dc7cd8e59b
, only
adapted for the new spl framework.
Signed-off-by: Heiko Schocher <hs@denx.de >
Acked-by: Tom Rini <trini@ti.com >
Acked-by: Scott Wood <scottwood@freescale.com >
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net >
Cc: Sandeep Paulraj <s-paulraj@ti.com >
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com >
2011-11-03 22:56:25 +01:00
Heiko Schocher
435199f380
arm, davinci: add support for new spl framework
...
Signed-off-by: Heiko Schocher <hs@denx.de >
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net >
Cc: Sandeep Paulraj <s-paulraj@ti.com >
Cc: Scott Wood <scottwood@freescale.com >
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com >
2011-11-03 22:56:25 +01:00
Heiko Schocher
18e8ff18fa
spl: add option for adding post memory test to the SPL framework
...
Signed-off-by: Heiko Schocher <hs@denx.de >
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net >
Cc: Sandeep Paulraj <s-paulraj@ti.com >
Cc: Sergei Shtylyov <sshtylyov@mvista.com >
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com >
2011-11-03 22:56:24 +01:00
Heiko Schocher
882ecfa390
net, davinci_emac: make clock divider in MDIO control register configurable
...
Define CONFIG_SYS_EMAC_TI_CLKDIV for setting the clkdiv value
in the MDIO control register.
Signed-off-by: Heiko Schocher <hs@denx.de >
cc: Sandeep Paulraj <s-paulraj@ti.com >
cc: Wolfgang Denk <wd@denx.de >
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com >
2011-11-03 22:56:24 +01:00
Heiko Schocher
1fa892c67b
arm, usb, davinci: make USBPHY_CTL register configurable
...
Define CONFIG_DV_USBPHY_CTL for setting the USB PHY control
register.
Signed-off-by: Heiko Schocher <hs@denx.de >
Acked-by: Remy Bohmer <linux@bohmer.net >
cc: Sandeep Paulraj <s-paulraj@ti.com >
cc: Remy Bohmer <linux@bohmer.net >
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com >
2011-11-03 22:56:24 +01:00
Heiko Schocher
4ebe208097
usb, davinci: add enable_vbus() weak function
...
Signed-off-by: Heiko Schocher <hs@denx.de >
Cc: Remy Bohmer <linux@bohmer.net >
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net >
Cc: Igor Grinberg <grinberg@compulab.co.il >
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com >
2011-11-03 22:56:24 +01:00
Sanjeev Premi
edc633ea77
omap3evm: fix errors caused by multiple definitions
...
Fix these errors when building with recently added
omap3_evm_quick_nand_config:
env_nowhere.o: In function `env_relocate_spec':
/home/premi/u-boot/common/env_nowhere.c:40: multiple definition
of `env_relocate_spec'
env_nand.o:/home/premi/u-boot/common/env_nand.c:416: first defi
ned here
env_nowhere.o: In function `env_get_char_spec':
/home/premi/u-boot/common/env_nowhere.c:44: multiple definition
of `env_get_char_spec'
env_nand.o:/home/premi/u-boot/common/env_nand.c:77: first defin
ed here
env_nowhere.o: In function `env_init':
/home/premi/u-boot/common/env_nowhere.c:54: multiple definition
of `env_init'
env_nand.o:/home/premi/u-boot/common/env_nand.c:144: first defi
ned here
env_nowhere.o: In function `env_relocate_spec':
/home/premi/u-boot/common/env_nowhere.c:40: multiple definition
of `env_ptr'
env_nand.o:/home/premi/u-boot/common/env_nand.c:77: first defin
ed here
Signed-off-by: Sanjeev Premi <premi@ti.com >
Cc: Sandeep Paulraj <s-paulraj@ti.com >
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com >
2011-11-03 22:56:24 +01:00
Sanjeev Premi
16885db919
omap3evm: Add (quick) configuration for NAND only
...
Add an optimized board configuration that only
supports boot from NAND.
Signed-off-by: Sanjeev Premi <premi@ti.com >
Cc: Sandeep Paulraj <s-paulraj@ti.com >
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com >
2011-11-03 22:56:24 +01:00
Sanjeev Premi
7f732099a6
omap3evm: Add (quick) configuration for MMC/SD only
...
Add an optimized board configuration that only
supports boot from MMC/SD.
Signed-off-by: Sanjeev Premi <premi@ti.com >
Cc: Sandeep Paulraj <s-paulraj@ti.com >
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com >
2011-11-03 22:56:24 +01:00
Sanjeev Premi
3970884c84
omap3evm: move common config options to new file
...
This patch moves common config options to a new
file. Common options can now be included in other
board configs for this evm.
Signed-off-by: Sanjeev Premi <premi@ti.com >
Cc: Sandeep Paulraj <s-paulraj@ti.com >
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com >
2011-11-03 22:56:24 +01:00