platform/kernel/u-boot.git
12 years agomx53ard: Remove unused get_board_rev function
Fabio Estevam [Thu, 27 Oct 2011 01:29:42 +0000 (01:29 +0000)]
mx53ard: Remove unused get_board_rev function

No board information is passed for MX53ARD, so remove get_board_rev function.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
12 years agomx53evk: Remove unused get_board_rev function
Fabio Estevam [Thu, 27 Oct 2011 01:29:41 +0000 (01:29 +0000)]
mx53evk: Remove unused get_board_rev function

No board information is passed for MX53EVK, so remove get_board_rev function.

Cc: Jason Liu <r64343@freescale.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Jason Liu <r64343@freescale.com>
12 years agomx53evk: Add RTC support
Fabio Estevam [Tue, 25 Oct 2011 01:44:19 +0000 (01:44 +0000)]
mx53evk: Add RTC support

MX53EVK has an MC13892 PMIC. Add RTC support.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Jason Liu < jason.hui@linaro.org>
12 years agomx53loco: Remove unused get_board_rev function
Fabio Estevam [Thu, 27 Oct 2011 01:29:44 +0000 (01:29 +0000)]
mx53loco: Remove unused get_board_rev function

No board information is passed for MX53LOCO, so remove get_board_rev function.

Cc: Jason Liu <r64343@freescale.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Jason Liu <r64343@freescale.com>
12 years agomx53evk: Remove unneeded '1' from mx53evk.h
Fabio Estevam [Thu, 27 Oct 2011 01:32:43 +0000 (01:32 +0000)]
mx53evk: Remove unneeded '1' from mx53evk.h

Remove unneeded '1' from mx53evk.h.

Cc: Jason Liu <r64343@freescale.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Jason Liu <r64343@freescale.com>
12 years agoOMAP3: mvblx: Initial support for mvBlueLYNX-X
Michael Jones [Fri, 4 Nov 2011 17:53:44 +0000 (13:53 -0400)]
OMAP3: mvblx: Initial support for mvBlueLYNX-X

Add support for the MATRIX VISION mvBlueLYNX-X, an OMAP3-based
intelligent camera.

Signed-off-by: Michael Jones <michael.jones@matrix-vision.de>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
12 years agoARM: dig297: Define MACH_TYPE_OMAP3_CPS and CONFIG_MACH_TYPE
Luca Ceresoli [Fri, 4 Nov 2011 17:42:09 +0000 (13:42 -0400)]
ARM: dig297: Define MACH_TYPE_OMAP3_CPS and CONFIG_MACH_TYPE

MACH_TYPE_OMAP3_CPS was dropped in the latest mach-types sync (47af6f61bcd9)
because it is not mainlined in Linux.

Signed-off-by: Luca Ceresoli <luca.ceresoli@comelit.it>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Wolfgang Denk <wd@denx.de>
CC: Tom Rini <tom.rini@gmail.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
12 years agoomap3: mem: Move comments next to definitions
Sanjeev Premi [Thu, 27 Oct 2011 11:23:14 +0000 (16:53 +0530)]
omap3: mem: Move comments next to definitions

Calculations for ACTIM_CTRLA amd ACTIM_CTRLB values
are defined in 'header' style comments.

Moved them along with definitions. Should help maintain
consistency between comments and code if any of these
are tweaked in future.

Signed-off-by: Sanjeev Premi <premi@ti.com>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
12 years agoomap3: mem: Clean-up whitespaces
Sanjeev Premi [Thu, 27 Oct 2011 10:51:57 +0000 (16:21 +0530)]
omap3: mem: Clean-up whitespaces

Consistent use of TABs and align definitions with
neighbouring code.

Signed-off-by: Sanjeev Premi <premi@ti.com>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
12 years agoomap3: mem: Define and use common macros
Sanjeev Premi [Thu, 27 Oct 2011 10:45:19 +0000 (16:15 +0530)]
omap3: mem: Define and use common macros

Define common macros to arrive at the values of registers
SDRC_ACTIM_CTRLA and SDRC_ACTIM_CTRLB for different memory
types.

This doesn't make any real change in the execution but
helps readability.

Signed-off-by: Sanjeev Premi <premi@ti.com>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
12 years agoPowerpc/i2c: Use the same initialize codes
Jerry Huang [Wed, 26 Oct 2011 15:29:38 +0000 (15:29 +0000)]
Powerpc/i2c: Use the same initialize codes

Make the I2C2 and I2C1 use the same initialize codes.

Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com>
12 years agopowerpc/mpc83xx: Add 512MB DDR support for mpc8360emds
Jerry Huang [Thu, 3 Nov 2011 06:46:12 +0000 (14:46 +0800)]
powerpc/mpc83xx: Add 512MB DDR support for mpc8360emds

The new MPC8360EMDS board supports 512MB DDR since 2008.

For 512MB DDR:
BAT0 is used for the first 256MB memory, BAT4 is used for the second
256MB memory and the address space of SDRAM follows the DDR, so if the
size of DDR is 256MB, the BAT4 will be used for SDRAM and if the size of
DDR is 512MB, the BAT4 will be used for the second 256MB memory and
there is no BAT for SDRAM.
Therefore, if the size of DDR is 512MB, this patch will use BAT6 for
SDRAM and BAT5 will be used for PCI MEM to replace the BAT6 after the
codes relocates to the DDR.

Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com>
CC: Kim Phillips <kim.phillips@freescale.com>
12 years agompc83xx: Rename CONFIG_SYS_DDR_CONFIG and cleanup DDR csbnds code
Joe Hershberger [Wed, 12 Oct 2011 04:57:31 +0000 (23:57 -0500)]
mpc83xx: Rename CONFIG_SYS_DDR_CONFIG and cleanup DDR csbnds code

Rename CONFIG_SYS_DDR_CONFIG to include which CS it is configuring
Cleanup the setting of the csnbds to respect the setting of
CONFIG_SYS_DDR_SDRAM_BASE
Use __ilog2 instead of writing the code to compute it
Disable unused CS configs
Ensure ddrlaw.bar is configured

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>
12 years agompc83xx: Cleanup usage of LBC constants
Joe Hershberger [Wed, 12 Oct 2011 04:57:30 +0000 (23:57 -0500)]
mpc83xx: Cleanup usage of LBC constants

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>
12 years agompc83xx: Cleanup usage of DDR constants
Joe Hershberger [Wed, 12 Oct 2011 04:57:29 +0000 (23:57 -0500)]
mpc83xx: Cleanup usage of DDR constants

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>
12 years agompc83xx: Cleanup usage of BAT constants
Joe Hershberger [Wed, 12 Oct 2011 04:57:28 +0000 (23:57 -0500)]
mpc83xx: Cleanup usage of BAT constants

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>
12 years agompc83xx: cosmetic: vme8349.h checkpatch compliance
Joe Hershberger [Wed, 12 Oct 2011 04:57:27 +0000 (23:57 -0500)]
mpc83xx: cosmetic: vme8349.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>
12 years agompc83xx: cosmetic: ve8313.h checkpatch compliance
Joe Hershberger [Wed, 12 Oct 2011 04:57:26 +0000 (23:57 -0500)]
mpc83xx: cosmetic: ve8313.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>
12 years agompc83xx: cosmetic: sbc8349.h checkpatch compliance
Joe Hershberger [Wed, 12 Oct 2011 04:57:25 +0000 (23:57 -0500)]
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>
12 years agompc83xx: cosmetic: mpc8308_p1m.h checkpatch compliance
Joe Hershberger [Wed, 12 Oct 2011 04:57:24 +0000 (23:57 -0500)]
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>
12 years agompc83xx: cosmetic: kmeter1.h checkpatch compliance
Joe Hershberger [Wed, 12 Oct 2011 04:57:23 +0000 (23:57 -0500)]
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>
12 years agompc83xx: cosmetic: TQM834x.h checkpatch compliance
Joe Hershberger [Wed, 12 Oct 2011 04:57:22 +0000 (23:57 -0500)]
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>
12 years agompc83xx: cosmetic: SIMPC8313.h checkpatch compliance
Joe Hershberger [Wed, 12 Oct 2011 04:57:21 +0000 (23:57 -0500)]
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>
12 years agompc83xx: cosmetic: MVBLM7.h checkpatch compliance
Joe Hershberger [Wed, 12 Oct 2011 04:57:20 +0000 (23:57 -0500)]
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>
12 years agompc83xx: cosmetic: MPC837XERDB.h checkpatch compliance
Joe Hershberger [Wed, 12 Oct 2011 04:57:19 +0000 (23:57 -0500)]
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>
12 years agompc83xx: cosmetic: MPC837XEMDS.h checkpatch compliance
Joe Hershberger [Wed, 12 Oct 2011 04:57:18 +0000 (23:57 -0500)]
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>
12 years agompc83xx: cosmetic: MPC8360ERDK.h checkpatch compliance
Joe Hershberger [Wed, 12 Oct 2011 04:57:17 +0000 (23:57 -0500)]
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>
12 years agompc83xx: cosmetic: MPC8360EMDS.h checkpatch compliance
Joe Hershberger [Wed, 12 Oct 2011 04:57:16 +0000 (23:57 -0500)]
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>
12 years agompc83xx: cosmetic: MPC8349ITX.h checkpatch compliance
Joe Hershberger [Wed, 12 Oct 2011 04:57:15 +0000 (23:57 -0500)]
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>
12 years agompc83xx: cosmetic: MPC8349EMDS.h checkpatch compliance
Joe Hershberger [Wed, 12 Oct 2011 04:57:14 +0000 (23:57 -0500)]
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>
12 years agompc83xx: cosmetic: MPC832XEMDS.h checkpatch compliance
Joe Hershberger [Wed, 12 Oct 2011 04:57:13 +0000 (23:57 -0500)]
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>
12 years agompc83xx: cosmetic: MPC8323ERDB.h checkpatch compliance
Joe Hershberger [Wed, 12 Oct 2011 04:57:12 +0000 (23:57 -0500)]
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>
12 years agompc83xx: cosmetic: MPC8315ERDB.h checkpatch compliance
Joe Hershberger [Wed, 12 Oct 2011 04:57:11 +0000 (23:57 -0500)]
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>
12 years agompc83xx: cosmetic: MPC8313ERDB.h checkpatch compliance
Joe Hershberger [Wed, 12 Oct 2011 04:57:10 +0000 (23:57 -0500)]
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>
12 years agompc83xx: cosmetic: MPC8308RDB.h checkpatch compliance
Joe Hershberger [Wed, 12 Oct 2011 04:57:09 +0000 (23:57 -0500)]
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>
12 years agompc83xx: cosmetic: MERGERBOX.h checkpatch compliance
Joe Hershberger [Wed, 12 Oct 2011 04:57:08 +0000 (23:57 -0500)]
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>
12 years agompc83xx: Fix ipic structure definition
Joe Hershberger [Wed, 12 Oct 2011 02:46:04 +0000 (21:46 -0500)]
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>
12 years agopowerpc, mpc83xx: add DDR SDRAM Timing Configuration 3 definitions
Heiko Schocher [Mon, 26 Sep 2011 11:36:54 +0000 (13:36 +0200)]
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>
12 years agocosmetic, powerpc, mpc83xx: checkpatch cleanup
Heiko Schocher [Mon, 26 Sep 2011 11:36:53 +0000 (13:36 +0200)]
cosmetic, powerpc, mpc83xx: checkpatch cleanup

Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
12 years agopowerpc/83xx: move km 83xx specific i2c code to km83xx_i2c
Holger Brunck [Wed, 14 Sep 2011 08:54:12 +0000 (10:54 +0200)]
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>
12 years agompc83xx: fix global timer structure definition
Kim Phillips [Mon, 15 Aug 2011 04:09:39 +0000 (23:09 -0500)]
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>
12 years agoDavinci: ea20: added PREBOOT to configuration
Stefano Babic [Tue, 4 Oct 2011 23:43:39 +0000 (23:43 +0000)]
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>
12 years agoDavinci: ea20: added I2C support
Stefano Babic [Tue, 4 Oct 2011 23:43:38 +0000 (23:43 +0000)]
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>
12 years agoDavinci: ea20: added video support
Stefano Babic [Tue, 4 Oct 2011 23:43:37 +0000 (23:43 +0000)]
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>
12 years agoVIDEO: davinci: add framebuffer to da8xx
Stefano Babic [Fri, 7 Oct 2011 23:27:34 +0000 (23:27 +0000)]
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>
12 years agoARM: Davinci: added missing registers to hardware.h
Stefano Babic [Tue, 4 Oct 2011 23:43:35 +0000 (23:43 +0000)]
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>
12 years agoDavinci: ea20: add gpios for LCD backlight control
Bastian Ruppert [Tue, 4 Oct 2011 23:43:34 +0000 (23:43 +0000)]
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>
12 years agoDavinci: ea20: add gpio for keeping power on in board_late_init
Bastian Ruppert [Tue, 4 Oct 2011 23:43:33 +0000 (23:43 +0000)]
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>
12 years agoDavinci: ea20: Add default U-Boot environment
Stefano Babic [Tue, 4 Oct 2011 23:43:32 +0000 (23:43 +0000)]
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>
12 years agoDavinci: ea20: Add early init to get early output from console
Stefano Babic [Tue, 4 Oct 2011 23:43:31 +0000 (23:43 +0000)]
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>
12 years agoDavinci: ea20: Add NAND support
Stefano Babic [Tue, 4 Oct 2011 23:43:30 +0000 (23:43 +0000)]
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>
12 years agoDavinci: ea20: set GPIOs to hold MII-Phy in reset and set UART0-Switch for console
Bastian Ruppert [Tue, 4 Oct 2011 23:43:29 +0000 (23:43 +0000)]
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>
12 years agoDavinci: ea20: set console on UART0
Bastian Ruppert [Tue, 4 Oct 2011 23:43:28 +0000 (23:43 +0000)]
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>
12 years agoarm, davinci: add cam_enc_4xx support
Heiko Schocher [Tue, 1 Nov 2011 20:00:35 +0000 (20:00 +0000)]
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>
12 years agoarm926ejs, davinci: add missing spi defines for dm365
Heiko Schocher [Tue, 1 Nov 2011 20:00:34 +0000 (20:00 +0000)]
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>
12 years agoarm926ejs, davinci: add cpuinfo for dm365
Heiko Schocher [Tue, 1 Nov 2011 20:00:33 +0000 (20:00 +0000)]
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>
12 years agoarm, davinci: add lowlevel function for dm365 soc
Heiko Schocher [Tue, 1 Nov 2011 20:00:32 +0000 (20:00 +0000)]
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>
12 years agoarm, davinci: add header files for dm365
Heiko Schocher [Tue, 1 Nov 2011 20:00:31 +0000 (20:00 +0000)]
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>
12 years agospl, nand: add 4bit HW ecc oob first nand_read_page function
Heiko Schocher [Tue, 1 Nov 2011 20:00:30 +0000 (20:00 +0000)]
spl, nand: add 4bit HW ecc oob first nand_read_page function

similiar to commit dc7cd8e59ba077f3b4c1a4557c9cd86a31b9ab1f, 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>
12 years agoarm, davinci: add support for new spl framework
Heiko Schocher [Tue, 1 Nov 2011 20:00:29 +0000 (20:00 +0000)]
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>
12 years agospl: add option for adding post memory test to the SPL framework
Heiko Schocher [Tue, 1 Nov 2011 20:00:28 +0000 (20:00 +0000)]
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>
12 years agonet, davinci_emac: make clock divider in MDIO control register configurable
Heiko Schocher [Tue, 1 Nov 2011 20:00:27 +0000 (20:00 +0000)]
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>
12 years agoarm, usb, davinci: make USBPHY_CTL register configurable
Heiko Schocher [Tue, 1 Nov 2011 20:00:26 +0000 (20:00 +0000)]
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>
12 years agousb, davinci: add enable_vbus() weak function
Heiko Schocher [Tue, 1 Nov 2011 20:00:25 +0000 (20:00 +0000)]
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>
12 years agoomap3evm: fix errors caused by multiple definitions
Sanjeev Premi [Tue, 25 Oct 2011 06:11:33 +0000 (06:11 +0000)]
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>
12 years agoomap3evm: Add (quick) configuration for NAND only
Sanjeev Premi [Tue, 25 Oct 2011 06:11:32 +0000 (06:11 +0000)]
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>
12 years agoomap3evm: Add (quick) configuration for MMC/SD only
Sanjeev Premi [Tue, 25 Oct 2011 06:11:31 +0000 (06:11 +0000)]
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>
12 years agoomap3evm: move common config options to new file
Sanjeev Premi [Tue, 25 Oct 2011 06:11:30 +0000 (06:11 +0000)]
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>
12 years agoomap3evm: Prepare to split configuration
Sanjeev Premi [Tue, 25 Oct 2011 06:11:29 +0000 (06:11 +0000)]
omap3evm: Prepare to split configuration

This patch marks the beginning of steps that would
lead to clean and easy split of the configuration
file. Common portion can then be re-used by other
configurations.

Signed-off-by: Sanjeev Premi <premi@ti.com>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
12 years agoomap3evm: Reorder related config options
Sanjeev Premi [Tue, 25 Oct 2011 06:11:28 +0000 (06:11 +0000)]
omap3evm: Reorder related config options

This patch brings related config options together.
Most config options won't be evaluated for numerical
value, but they are being set to 1. This patch also
removes this assignment.

Some formatting changes were also done for consistent
look-n-feel after the movement.

The patch doesn't make/include any other functional
change.

Signed-off-by: Sanjeev Premi <premi@ti.com>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
12 years agoomap/spl: actually enable the console
Ilya Yanok [Tue, 1 Nov 2011 13:16:03 +0000 (13:16 +0000)]
omap/spl: actually enable the console

Currently OMAP SPL code does all the initialization but does not set the
gd->have_console value so no output is actually performed. This patch
sets gd->have_console to 1.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
12 years agodavinci_emac: compilation fix, phy is array now
Ilya Yanok [Tue, 1 Nov 2011 13:15:55 +0000 (13:15 +0000)]
davinci_emac: compilation fix, phy is array now

Fix compilation issues introduced by recent multiply PHY patch.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
12 years agoomap3evm: Set environment variable 'ethaddr'
Sanjeev Premi [Fri, 2 Sep 2011 05:57:16 +0000 (05:57 +0000)]
omap3evm: Set environment variable 'ethaddr'

It is now responsibility of the board specific init
code to set the environment variable corresponding
to the MAC address.

Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
12 years agoarm, arm926: fix missing symbols in NAND_SPL mode
Heiko Schocher [Sat, 16 Jul 2011 00:06:43 +0000 (00:06 +0000)]
arm, arm926: fix missing symbols in NAND_SPL mode

Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
12 years agoarm, davinci: Add function lpsc_syncreset()
Christian Riesch [Wed, 12 Oct 2011 21:26:43 +0000 (21:26 +0000)]
arm, davinci: Add function lpsc_syncreset()

This patch adds a function lpsc_syncreset that allows setting a
lpsc module into Sync Reset state.

Signed-off-by: Christian Riesch <christian.riesch@omicron.at>
Cc: Heiko Schocher <hs@denx.de>
Cc: Paulraj Sandeep <s-paulraj@ti.com>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Acked-by: Heiko Schocher <hs@denx.de>
Tested-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
12 years agoarm, davinci: replace CONFIG_PRELOADER with CONFIG_SPL_BUILD
Heiko Schocher [Tue, 26 Jul 2011 20:12:34 +0000 (20:12 +0000)]
arm, davinci: replace CONFIG_PRELOADER with CONFIG_SPL_BUILD

Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
12 years agoarm/km: portl2 environment address update to P1B
Thomas Herzmann [Tue, 13 Sep 2011 22:41:03 +0000 (22:41 +0000)]
arm/km: portl2 environment address update to P1B

The environment eeprom is now at a different MUX address.

Signed-off-by: Thomas Herzmann <thomas.herzmann@keymile.com>
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
cc: Prafulla Wadaskar <prafulla@marvell.com>

12 years agoarm/km: adapt bootcounter evaluation
Holger Brunck [Tue, 13 Sep 2011 22:41:02 +0000 (22:41 +0000)]
arm/km: adapt bootcounter evaluation

The bootcounter (stored in the RAM) is not enough protected with the 4 Bytes
BOOTCOUNT_MAGIC against bit errors due to short power loss or holding a system
in RESET. It has been seen, that the bootcounter value has been changed due to
a bit flip on a system holding in RESET, but the BOOTCOUNT_MAGIC was still valid.

A bit pattern with 4000 bytes (after BOOTCOUNT_MAGIC) has been implemented,
which should be enough to detect a bit error.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
cc: Prafulla Wadaskar <prafulla@marvell.com>

12 years agoarm/km: enable jffs2 cmds
Holger Brunck [Tue, 13 Sep 2011 22:41:06 +0000 (22:41 +0000)]
arm/km: enable jffs2 cmds

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
cc: Prafulla Wadaskar <prafulla@marvell.com>

12 years agoarm/km: trigger reconfiguration for the Xilinx FPGA
Holger Brunck [Tue, 13 Sep 2011 22:41:05 +0000 (22:41 +0000)]
arm/km: trigger reconfiguration for the Xilinx FPGA

The Xilinx FPGA must be reconfigured each time the unit
reboots. The FPGA is connected to the GPIO pin 39 from kirkwood.
This patch triggers this pin for km_kirkwood_pci targets.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
cc: Prafulla Wadaskar <prafulla@marvell.com>

12 years agoarm/km: add boardid and hwkey to kernel command line
Holger Brunck [Tue, 13 Sep 2011 22:41:04 +0000 (22:41 +0000)]
arm/km: add boardid and hwkey to kernel command line

We need in some cases a possibility for the kernel to distinguish
on which board he is running. On powerpc we did this with different
dts files. On arm currently we can't do this, so add boardid and
hwkey to the kernel command line and use it later on in the kernel
code.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
12 years agoARM: Reintroduce MACH_TYPE_KM_KIRKWOOD for keymile ARM boards
Valentin Longchamp [Tue, 1 Nov 2011 11:56:36 +0000 (17:26 +0530)]
ARM: Reintroduce MACH_TYPE_KM_KIRKWOOD for keymile ARM boards

We got dropped from Linux mach-types.h because of a lack of mainline
support and this is needed since the last Linux/u-boot mach-types
synchro.

This patch also defines CONFIG_MACH_TYPE for all keymile boards, as
this is a mandatory CONFIG for ARM boards now. The initialization
of gd->bd->bi_arch_number is removed form km_arm.c, our board file.

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
12 years agonetspace_v2: enable I2C EEPROM support
Simon Guinot [Tue, 1 Nov 2011 11:14:12 +0000 (16:44 +0530)]
netspace_v2: enable I2C EEPROM support

An I2C EEPROM HT24LC04 (512B) is available on the netspace_v2 board
(and parents). This EEPROM hold data such as Ethernet MAC addresses
and power flags.

Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
12 years agonetspace_v2: fix SDRAM configuration
Simon Guinot [Tue, 1 Nov 2011 11:14:12 +0000 (16:44 +0530)]
netspace_v2: fix SDRAM configuration

Network Space (Max) v2 and Internet Space v2 boards have different
SDRAM configuration and size: respectively 256MB (DDR2 1Gb, 128Mbx8
organisation) and 128MB (DDR2 512Mb, 64Mbx8 organisation). To handle
the differences, this patch add a dedicated kwimage.cfg file for
Internet Space v2.

Additionnaly the number of SDRAM banks is fixed.

Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
12 years agoarmada100: define CONFIG_SYS_CACHELINE_SIZE
Lei Wen [Tue, 1 Nov 2011 10:55:56 +0000 (16:25 +0530)]
armada100: define CONFIG_SYS_CACHELINE_SIZE

By default, on Armada100 SoC DCache Lnd ICache line
lengths are 32 bytes long

Signed-off-by: Lei Wen <leiwen@marvell.com>
12 years agopantheon: define CONFIG_SYS_CACHELINE_SIZE
Lei Wen [Tue, 1 Nov 2011 10:55:56 +0000 (16:25 +0530)]
pantheon: define CONFIG_SYS_CACHELINE_SIZE

By default, on Pantheon SoC DCache Lnd ICache line
lengths are 32 bytes long

Signed-off-by: Lei Wen <leiwen@marvell.com>
12 years agokirkwood: define CONFIG_SYS_CACHELINE_SIZE
Michael Walle [Mon, 31 Oct 2011 14:52:58 +0000 (20:22 +0530)]
kirkwood: define CONFIG_SYS_CACHELINE_SIZE

By default, on Kirkwood SoC DCache Lnd ICache line
lengths are 32 bytes long

Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Prafulla Wadaskar <prafulla@marvell.com>
Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
12 years agokirkwood: drop empty asm-offsets.s file
Mike Frysinger [Mon, 31 Oct 2011 14:33:38 +0000 (20:03 +0530)]
kirkwood: drop empty asm-offsets.s file

This generated file does not belong in the tree -> punt.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
12 years agoarm/km/mgcoge3un: enhance "waitforne" feature
Holger Brunck [Tue, 27 Sep 2011 02:54:31 +0000 (02:54 +0000)]
arm/km/mgcoge3un: enhance "waitforne" feature

The mgcoge3un waits to be released from mgcoge3ne at startup.
This patch enhances this feature with the possibility to interrupt
this wait if a key is pressed.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
cc: Prafulla Wadaskar <prafulla@marvell.com>

12 years agoarm/km: add variable waitforne to mgcoge3un
Holger Brunck [Tue, 27 Sep 2011 02:54:30 +0000 (02:54 +0000)]
arm/km: add variable waitforne to mgcoge3un

Add this board specific variable to the default environment
of this board.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
cc: Prafulla Wadaskar <prafulla@marvell.com>

12 years agogplugD: Fix for error:MACH_TYPE_SHEEVAD undeclared
Ajay Bhargav [Mon, 31 Oct 2011 11:57:46 +0000 (17:27 +0530)]
gplugD: Fix for error:MACH_TYPE_SHEEVAD undeclared

This patch fix the build failure (error: 'MACH_TYPE_SHEEVAD' undeclared
(first use in this function)) for gplugD due to recent sync of
mach-types.h with its linux original.

Signed-off-by: Ajay Bhargav <ajay.bhargav@einfochips.com>
12 years agoARM: dreamplug: fix compilation
Anatolij Gustschin [Sat, 29 Oct 2011 11:19:47 +0000 (11:19 +0000)]
ARM: dreamplug: fix compilation

Fix build issues:

mvrtc.c: In function 'rtc_get':
mvrtc.c:45: warning: implicit declaration of function 'readl'
mvrtc.c: In function 'rtc_set':
mvrtc.c:100: warning: implicit declaration of function 'writel'
dreamplug.c: In function 'board_early_init_f':
dreamplug.c:43: warning: implicit declaration of function 'kw_config_gpio'
dreamplug.c: In function 'board_init':
dreamplug.c:108: warning: implicit declaration of function 'kw_sdram_bar'
drivers/rtc/librtc.o: In function `rtc_set':
/home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:92: undefined reference to `writel'
/home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:103: undefined reference to `writel'
drivers/rtc/librtc.o: In function `rtc_reset':
/home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:117: undefined reference to `readl'
/home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:120: undefined reference to `readl'
drivers/rtc/librtc.o: In function `rtc_get':
/home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:45: undefined reference to `readl'
/home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:48: undefined reference to `readl'
...

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Jason Cooper <u-boot@lakedaemon.net>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
12 years agoARM: DockStar: fix compilation
Anatolij Gustschin [Sat, 29 Oct 2011 10:09:22 +0000 (10:09 +0000)]
ARM: DockStar: fix compilation

Fix build problem:

mvgbe.c: In function 'mvgbe_initialize':
mvgbe.c:735: warning: implicit declaration of function 'get_random_hex'
dockstar.c: In function 'board_early_init_f':
dockstar.c:43: warning: implicit declaration of function 'kw_config_gpio'
dockstar.c: In function 'board_init':
dockstar.c:113: warning: implicit declaration of function 'kw_sdram_bar'
dockstar.c: In function 'set_leds':
dockstar.c:161: warning: implicit declaration of function 'readl'
dockstar.c:161: error: dereferencing pointer to incomplete type
dockstar.c:162: warning: implicit declaration of function 'writel'
dockstar.c:162: error: dereferencing pointer to incomplete type
dockstar.c:163: error: dereferencing pointer to incomplete type
dockstar.c:164: error: dereferencing pointer to incomplete type
make[1]: *** [dockstar.o] Error 1
make: *** [board/Seagate/dockstar/libdockstar.o] Error 2

Reported-by: Roland Kletzing <devzero@web.de>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Prafulla Wadaskar <prafulla@marvell.com>
12 years agoARM: netspace_v2: fix warnings
Anatolij Gustschin [Sat, 29 Oct 2011 11:31:19 +0000 (11:31 +0000)]
ARM: netspace_v2: fix warnings

Fix compiler warnings when compiling for netspace_v2, netspace_max_v2
and inetspace_v2:

netspace_v2.c: In function 'board_early_init_f':
netspace_v2.c:37: warning: implicit declaration of function 'kw_config_gpio'
netspace_v2.c: In function 'board_init':
netspace_v2.c:86: warning: implicit declaration of function 'kw_sdram_bar'

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Simon Guinot <simon.guinot@sequanux.org>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
12 years agoam335x: Drop board_sysinfo struct
Tom Rini [Fri, 21 Oct 2011 12:23:07 +0000 (12:23 +0000)]
am335x: Drop board_sysinfo struct

This isn't used presumably should be a typedef if needed later.

Signed-off-by: Tom Rini <trini@ti.com>
12 years agoam335x: Temporarily add MACH_TYPE define
Tom Rini [Fri, 21 Oct 2011 12:23:06 +0000 (12:23 +0000)]
am335x: Temporarily add MACH_TYPE define

This is registered and can be removed at the next sync up.

Signed-off-by: Tom Rini <trini@ti.com>
12 years agomisc:pmic:samsung Enable PMIC driver at C210 Universal target
Łukasz Majewski [Wed, 26 Oct 2011 22:33:17 +0000 (22:33 +0000)]
misc:pmic:samsung Enable PMIC driver at C210 Universal target

Enable support for PMIC driver at C210 Universal reference target.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
12 years agodcache:s5p CONFIG_SYS_CACHELINE_SIZE added for s5p UNIVERSAL C210 target
Łukasz Majewski [Mon, 17 Oct 2011 01:42:24 +0000 (01:42 +0000)]
dcache:s5p CONFIG_SYS_CACHELINE_SIZE added for s5p UNIVERSAL C210 target

Define the D-cache line size for S5PC210 UNIVERSAL reference target.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Anton Staaf <robotboy@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
12 years agodcache:s5p CONFIG_SYS_CACHELINE_SIZE added for s5p GONI target
Łukasz Majewski [Mon, 17 Oct 2011 01:42:23 +0000 (01:42 +0000)]
dcache:s5p CONFIG_SYS_CACHELINE_SIZE added for s5p GONI target

Define the D-cache line size for S5PC110 GONI reference target.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Anton Staaf <robotboy@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
12 years agosmdkv310: use macro for mmc data read function address
Chander Kashyap [Tue, 20 Sep 2011 21:25:04 +0000 (21:25 +0000)]
smdkv310: use macro for mmc data read function address

board/samsung/smdkv310/mmc_boot.c:
Removed the typedef for "mmc data read API (copy_sd_mmc_to_mem)"
as it is used only once and replaced hard-coded API address value
by macro.

Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>