platform/kernel/u-boot.git
12 years agoarch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c: Fix GCC 4.6 build warning
Kumar Gala [Wed, 9 Nov 2011 16:05:01 +0000 (10:05 -0600)]
arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c: Fix GCC 4.6 build warning

Fix:

fsl_corenet_serdes.c: In function 'fsl_serdes_init':
fsl_corenet_serdes.c:511:8: warning: variable 'buf' set but not used [-Wunused-but-set-variable]
fsl_corenet_serdes.c:498:18: warning: variable 'lane_prtcl' set but not used [-Wunused-but-set-variable]

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agoarch/powerpc/cpu/mpc8xxx/ddr/options.c: Fix GCC 4.6 build warning
Kumar Gala [Wed, 9 Nov 2011 16:05:21 +0000 (10:05 -0600)]
arch/powerpc/cpu/mpc8xxx/ddr/options.c: Fix GCC 4.6 build warning

Fix:

options.c: In function 'populate_memctl_options':
options.c:486:28: warning: variable 'pdodt' set but not used [-Wunused-but-set-variable]

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agodrivers/qe/uec.c: Fix GCC 4.6 build warning
Kumar Gala [Wed, 9 Nov 2011 16:04:33 +0000 (10:04 -0600)]
drivers/qe/uec.c: Fix GCC 4.6 build warning

uec.c: In function 'uec_stop':
uec.c:267:22: warning: variable 'uccf' set but not used [-Wunused-but-set-variable]
uec.c: In function 'uec_set_mac_if_mode':
uec.c:328:15: warning: variable 'uec_info' set but not used [-Wunused-but-set-variable]
uec.c: In function 'adjust_link':
uec.c:519:11: warning: variable 'uec_regs' set but not used [-Wunused-but-set-variable]

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agodrivers/usb/host/ehci-fsl.c: Fix GCC 4.6 build warning
Kumar Gala [Wed, 9 Nov 2011 16:04:15 +0000 (10:04 -0600)]
drivers/usb/host/ehci-fsl.c: Fix GCC 4.6 build warning

Fix:

ehci-fsl.c: In function 'ehci_hcd_init':
ehci-fsl.c:43:7: warning: variable 'usb_phy' set but not used [-Wunused-but-set-variable]

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agodrivers/net/fm/fm.c: Fix GCC 4.6 build warning
Kumar Gala [Wed, 9 Nov 2011 16:03:55 +0000 (10:03 -0600)]
drivers/net/fm/fm.c: Fix GCC 4.6 build warning

Fix:

fm.c: In function 'fm_init_common':
fm.c:398:6: warning: variable 'n' set but not used [-Wunused-but-set-variable]

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agoboard/sbc8560/sbc8560.c: Fix GCC 4.6 build warning
Kumar Gala [Wed, 9 Nov 2011 16:03:43 +0000 (10:03 -0600)]
board/sbc8560/sbc8560.c: Fix GCC 4.6 build warning

Fix:

sbc8560.c: In function 'ft_board_setup':
sbc8560.c:351:12: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agoboard/sbc8548/sbc8548.c: Fix GCC 4.6 build warning
Kumar Gala [Wed, 9 Nov 2011 16:03:26 +0000 (10:03 -0600)]
board/sbc8548/sbc8548.c: Fix GCC 4.6 build warning

Fix:

sbc8548.c: In function 'local_bus_init':
sbc8548.c:80:7: warning: variable 'lbc_hz' set but not used [-Wunused-but-set-variable]

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agoboard/freescale/mpc8569mds/mpc8569mds.c: Fix GCC 4.6 build warning
Kumar Gala [Wed, 9 Nov 2011 16:03:12 +0000 (10:03 -0600)]
board/freescale/mpc8569mds/mpc8569mds.c: Fix GCC 4.6 build warning

mpc8569mds.c: In function 'local_bus_init':
mpc8569mds.c:306:7: warning: variable 'lbc_hz' set but not used [-Wunused-but-set-variable]

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agoboard/freescale/mpc8568mds/mpc8568mds.c: Fix GCC 4.6 build warning
Kumar Gala [Wed, 9 Nov 2011 16:03:01 +0000 (10:03 -0600)]
board/freescale/mpc8568mds/mpc8568mds.c: Fix GCC 4.6 build warning

Fix:

mpc8568mds.c: In function 'local_bus_init':
mpc8568mds.c:150:7: warning: variable 'lbc_hz' set but not used [-Wunused-but-set-variable]
mpc8568mds.c: In function 'pib_init':
mpc8568mds.c:271:11: warning: variable 'orig_i2c_bus' set but not used [-Wunused-but-set-variable]

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agoboard/freescale/mpc8548cds/mpc8548cds.c: Fix GCC 4.6 build warning
Kumar Gala [Wed, 9 Nov 2011 16:02:40 +0000 (10:02 -0600)]
board/freescale/mpc8548cds/mpc8548cds.c: Fix GCC 4.6 build warning

Fix:

mpc8548cds.c: In function 'local_bus_init':
mpc8548cds.c:87:7: warning: variable 'lbc_hz' set but not used [-Wunused-but-set-variable]
mpc8548cds.c: In function 'lbc_sdram_init':
mpc8548cds.c:121:7: warning: variable 'cpu_board_rev' set but not used [-Wunused-but-set-variable]

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agoboard/freescale/common/pixis.c: Fix GCC 4.6 build warning
Kumar Gala [Wed, 9 Nov 2011 16:02:11 +0000 (10:02 -0600)]
board/freescale/common/pixis.c: Fix GCC 4.6 build warning

Fix:

pixis.c: In function 'strfractoint':
pixis.c:383:6: warning: variable 'intarr_len' set but not used [-Wunused-but-set-variable]

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agoboard/freescale/common/cds_pci_ft.c: Fix GCC 4.6 build warning
Kumar Gala [Wed, 9 Nov 2011 16:01:06 +0000 (10:01 -0600)]
board/freescale/common/cds_pci_ft.c: Fix GCC 4.6 build warning

Fix:

cds_pci_ft.c: In function 'cds_pci_fixup':
cds_pci_ft.c:31:12: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agoarch/powerpc/cpu/mpc8xxx/fsl_lbc.c: Fix GCC 4.6 build warning
Kumar Gala [Wed, 9 Nov 2011 16:00:23 +0000 (10:00 -0600)]
arch/powerpc/cpu/mpc8xxx/fsl_lbc.c: Fix GCC 4.6 build warning

Fix:

fsl_lbc.c: In function 'upmconfig':
fsl_lbc.c:110:9: warning: variable 'mdr' set but not used [-Wunused-but-set-variable]

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agoarch/powerpc/cpu/mpc85xx/tlb.c: Fix GCC 4.6 build warning
Kumar Gala [Wed, 9 Nov 2011 15:59:32 +0000 (09:59 -0600)]
arch/powerpc/cpu/mpc85xx/tlb.c: Fix GCC 4.6 build warning

Fix:

tlb.c: In function 'disable_tlb':
tlb.c:175:34: warning: variable '_mas7' set but not used [-Wunused-but-set-variable]

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agoarch/powerpc/cpu/mpc85xx/cpu_init.c: Fix GCC 4.6 build warning
Kumar Gala [Wed, 9 Nov 2011 15:56:41 +0000 (09:56 -0600)]
arch/powerpc/cpu/mpc85xx/cpu_init.c: Fix GCC 4.6 build warning

Fix:

cpu_init.c: In function 'cpu_init_r':
cpu_init.c:320:7: warning: variable 'l2srbar' set but not used [-Wunused-but-set-variable]

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agophylib: Enable AR8021 phy support
Xie Xiaobo [Fri, 11 Nov 2011 09:19:41 +0000 (17:19 +0800)]
phylib: Enable AR8021 phy support

Enable AR8021 as it used on Freescale boards: P1020RDB-PC, P1021RDB-PC,
P2020RDB-PC, P1020UTM-PC, and P1020MSBG-PC.

Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agopowerpc/85xx: Set max alloc length to 10MB on P1022DS
Jerry Huang [Wed, 2 Nov 2011 01:16:44 +0000 (09:16 +0800)]
powerpc/85xx: Set max alloc length to 10MB on P1022DS

In order to support 1920x01080 resolution, we must increase the alloc
length.

Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com>
CC: Anatolij Gustschin <agust@denx.de>
Acked-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agopowerpc/mpc85xx: Set SYSCLK to the required frequency
Jerry Huang [Thu, 3 Nov 2011 07:18:06 +0000 (15:18 +0800)]
powerpc/mpc85xx: Set SYSCLK to the required frequency

For ICS307-02, there is one general expression to generate SYSCLK:
CLK1Frequency = InputFrequency * 2 * (VDW + 8) / ((RDW + 2) * OD)

If we want the required frequency for SYSCLK, we must find one solution
to generate this frequency, this solution includes VDW, RDW and OD.
For OD, there are only eight option value: 10, 2, 8, 4, 5, 7, 3, 6.
For RDW, the range is 1 to 127.
For VDW, the range is 4 to 511.

First, we use one OD, RDW and required SYSCLK to calculate the VDW,
if VDW is in it's range, we will calculate the CLK1Frequency with
the OD, RDW and VDW calculated, and we will check this percent
(CLK1Frequency / required SYSCLK), and the precision is 1/1000.
if the percent is less than 1/1000, we think the CLK1Frequency is we want.
Otherwise, We will continue to calculate it with the next OD and RDW.

Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agom28evk: Fix comment about the number of RAM banks
Fabio Estevam [Thu, 10 Nov 2011 06:38:45 +0000 (06:38 +0000)]
m28evk: Fix comment about the number of RAM banks

m28evk has one bank of RAM.

Fix the comment.

Cc: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
12 years agomx31: Fix checkpatch warnings in generic.c
Fabio Estevam [Wed, 9 Nov 2011 04:15:03 +0000 (04:15 +0000)]
mx31: Fix checkpatch warnings in generic.c

Fix checkpatch warnings in generic.c.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Stefano Babic <sbabic@denx.de>
12 years agomx31: Use proper IO accessor for GPR register
Fabio Estevam [Wed, 9 Nov 2011 04:15:02 +0000 (04:15 +0000)]
mx31: Use proper IO accessor for GPR register

Use proper IO accessor for GPR register.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Stefano Babic <sbabic@denx.de>
12 years agomx31: Remove duplicate definition for GPR register
Fabio Estevam [Wed, 9 Nov 2011 04:15:01 +0000 (04:15 +0000)]
mx31: Remove duplicate definition for GPR register

GPR register definition is already available at imx-regs.h, so remove the duplication.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Stefano Babic <sbabic@denx.de>
12 years agoqong: Use generic function for configuring GPR register
Fabio Estevam [Wed, 9 Nov 2011 04:15:00 +0000 (04:15 +0000)]
qong: Use generic function for configuring GPR register

Use generic function for configuring GPR register.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Stefano Babic <sbabic@denx.de>
12 years agoM28EVK: Enable USB HOST support
Marek Vasut [Tue, 8 Nov 2011 23:18:27 +0000 (23:18 +0000)]
M28EVK: Enable USB HOST support

This enables the second port, aka. the port with the USB connector on the
M28EVK.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
Cc: Remy Bohmer <linux@bohmer.net>
12 years agoiMX28: Add USB HOST driver
Marek Vasut [Tue, 8 Nov 2011 23:18:26 +0000 (23:18 +0000)]
iMX28: Add USB HOST driver

This driver supports both EHCI ports on the i.MX28 CPU.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
Cc: Remy Bohmer <linux@bohmer.net>
12 years agoiMX28: Add USB and USB PHY register definitions
Marek Vasut [Tue, 8 Nov 2011 23:18:25 +0000 (23:18 +0000)]
iMX28: Add USB and USB PHY register definitions

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
Cc: Remy Bohmer <linux@bohmer.net>
12 years agoM28: Add memory detection into SPL
Marek Vasut [Tue, 8 Nov 2011 23:18:24 +0000 (23:18 +0000)]
M28: Add memory detection into SPL

This code allows the DDR DRAM size to be detected at runtime. The RAM size is
stored into two scratch registers, from which it is then fetched in U-Boot.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
12 years agoiMX28: Fix ARM vector handling
Marek Vasut [Tue, 8 Nov 2011 23:18:23 +0000 (23:18 +0000)]
iMX28: Fix ARM vector handling

This patch introduces proper ARM vector handling for i.MX28 CPU. This issue
wasn't addressed because the interrupts weren't enabled on any ARMv5 core,
therefore the issue wasn't noticed earlier.

In previous implementation, the vectoring code used by i.MX28 CPU when an
exception happened was that of the SPL. With this change, the branch target when
an exception happens can be reconfigured by U-Boot.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
12 years agoM28: Add doc/README.m28 documentation
Marek Vasut [Tue, 8 Nov 2011 23:18:22 +0000 (23:18 +0000)]
M28: Add doc/README.m28 documentation

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
12 years agoM28: Add MMC SPL
Marek Vasut [Tue, 8 Nov 2011 23:18:21 +0000 (23:18 +0000)]
M28: Add MMC SPL

This patch adds SPL code for the M28 board.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Andy Fleming <afleming@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
12 years agoiMX28: Add support for DENX M28EVK board
Marek Vasut [Tue, 8 Nov 2011 23:18:20 +0000 (23:18 +0000)]
iMX28: Add support for DENX M28EVK board

This contains support for the following components:
- DUART
- MMC
- Both FEC interfaces
- NAND
- I2C (RTC, EEPROM)
- SPI (FLASH)

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
12 years agoiMX28: Add u-boot.sb target to Makefile
Marek Vasut [Tue, 8 Nov 2011 23:18:19 +0000 (23:18 +0000)]
iMX28: Add u-boot.sb target to Makefile

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
12 years agoiMX28: Add image header generator tool
Marek Vasut [Tue, 8 Nov 2011 23:18:18 +0000 (23:18 +0000)]
iMX28: Add image header generator tool

This tool can now generate proper image for "BootStream" files.

NOTE: This tool now works only for NAND.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
12 years agoiMX28: Add driver for internal RTC
Marek Vasut [Tue, 8 Nov 2011 23:18:17 +0000 (23:18 +0000)]
iMX28: Add driver for internal RTC

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
12 years agoiMX28: Add GPMI NAND driver
Marek Vasut [Tue, 8 Nov 2011 23:18:16 +0000 (23:18 +0000)]
iMX28: Add GPMI NAND driver

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Scott Wood <scottwood@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
12 years agoiMX28: Add APBH DMA driver
Marek Vasut [Tue, 8 Nov 2011 23:18:15 +0000 (23:18 +0000)]
iMX28: Add APBH DMA driver

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
12 years agoiMX28: Add SPI driver
Marek Vasut [Tue, 8 Nov 2011 23:18:14 +0000 (23:18 +0000)]
iMX28: Add SPI driver

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
12 years agoiMX28: Add GPIO control
Marek Vasut [Tue, 8 Nov 2011 23:18:13 +0000 (23:18 +0000)]
iMX28: Add GPIO control

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
12 years agoiMX28: Add I2C bus driver
Marek Vasut [Tue, 8 Nov 2011 23:18:12 +0000 (23:18 +0000)]
iMX28: Add I2C bus driver

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Heiko Schocher <hs@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
Acked-by: Heiko Schocher<hs@denx.de>
12 years agoiMX28: Add PINMUX control
Marek Vasut [Tue, 8 Nov 2011 23:18:11 +0000 (23:18 +0000)]
iMX28: Add PINMUX control

Taken from Linux kernel with minor modifications:

commit bf985969e27b507f734435a99df8bf745a3dbb2b
Author: Shawn Guo <shawn.guo@freescale.com>
Date:   Mon Dec 20 22:57:43 2010 +0800

    ARM: mxs: Add iomux support

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
12 years agoFEC: Add support for iMX28 quirks
Marek Vasut [Tue, 8 Nov 2011 23:18:10 +0000 (23:18 +0000)]
FEC: Add support for iMX28 quirks

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Ben Warren <biggerbadderben@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
12 years agoiMX28: Add SSP MMC driver
Marek Vasut [Tue, 8 Nov 2011 23:18:09 +0000 (23:18 +0000)]
iMX28: Add SSP MMC driver

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Andy Fleming <afleming@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
Acked-by: Andy Fleming <afleming@gmail.com>
12 years agoiMX28: Initial support for iMX28 CPU
Marek Vasut [Tue, 8 Nov 2011 23:18:08 +0000 (23:18 +0000)]
iMX28: Initial support for iMX28 CPU

This patch supports:
- Timers
- Debug UART
- Clock

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
12 years agoMX25: zmx25: GCC4.6 fix build warnings
Stefano Babic [Sun, 6 Nov 2011 00:40:52 +0000 (00:40 +0000)]
MX25: zmx25: GCC4.6 fix build warnings

Fix:
zmx25.c: In function 'board_late_init':
zmx25.c:131:25: warning: variable 'padctl' set but not used [-Wunused-but-set-variable]

Signed-off-by: Stefano Babic <sbabic@denx.de>
12 years agoVIDEO: mx3fb: GCC4.6 fix build warnings
Stefano Babic [Sun, 6 Nov 2011 00:42:07 +0000 (00:42 +0000)]
VIDEO: mx3fb: GCC4.6 fix build warnings

Fix:
mx3fb.c: In function 'video_hw_init':
mx3fb.c:827:30: warning: variable 'vesa_idx' set but not used

Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Anatolij Gustschin <agust@denx.de>
12 years agoPowerpc/DIU: Fixed the 800x600 and 1024x768 resolution bug
Jerry Huang [Sun, 30 Oct 2011 20:19:54 +0000 (20:19 +0000)]
Powerpc/DIU: Fixed the 800x600 and 1024x768 resolution bug

When the resolution is set to 800x600 and 1024x768,
but, the driver will use 1280x1024 resolution to set the DIU register

Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com>
Acked-by: Timur Tabi <timur@freescale.com>
12 years agoda850: add new config file for AM18xx
Nagabhushana Netagunte [Wed, 9 Nov 2011 21:53:33 +0000 (16:53 -0500)]
da850: add new config file for AM18xx

add new configuration file da850_am18xxevm.h for AM18xx boards
which are based on da850 SOC. AM18xx has WINBOND spi flash which
is indicated in the config file. And make appropriate changes in
board.cfg for building.

Signed-off-by: Nagabhushana Netagunte <nagabhushana.netagunte@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
12 years agoBeagleBoard: config: Switch to ttyO2
Alexander Holler [Wed, 9 Nov 2011 21:40:11 +0000 (16:40 -0500)]
BeagleBoard: config: Switch to ttyO2

This is needed to support the latest kernel versions.

Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
Signed-off-by: Alexander Holler <holler@ahsoftware.de>
Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
Signed-off-by: Tom Rini <trini@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
12 years agoOMAP3: Change omap3_evm maintainer
Tom Rini [Wed, 9 Nov 2011 21:40:08 +0000 (16:40 -0500)]
OMAP3: Change omap3_evm maintainer

Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
Signed-off-by: Tom Rini <trini@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
12 years agodevkit8000: Fix NAND SPL on boards with 256MB NAND
Tom Rini [Wed, 9 Nov 2011 21:40:04 +0000 (16:40 -0500)]
devkit8000: Fix NAND SPL on boards with 256MB NAND

The devkit8000 ships with either a 128MB or 256MB NAND chip.  In
order for SPL to work with 256MB NAND CONFIG_SYS_NAND_5_ADDR_CYCLE
needs to be set.  After talking with Scott Wood this should be
safe to set even for smaller NAND chips.

Cc: Scott Wood <scottwood@freescale.com>
Cc: Frederik Kriewitz <frederik@kriewitz.eu>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Signed-off-by: Tom Rini <trini@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
12 years agointegrator: enable Vpp and disable flash protection
Linus Walleij [Wed, 9 Nov 2011 06:16:37 +0000 (06:16 +0000)]
integrator: enable Vpp and disable flash protection

This enables Vpp and disables the flash protection on the
Integrator when starting U-Boot. The integrator/AP has double
protection mechanisms: this one and the EBI protection bit
(patch earlier), the Integrator/CP has only one line of
protection in these registers.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
12 years agointegrator: add system controller header
Linus Walleij [Wed, 9 Nov 2011 06:16:17 +0000 (06:16 +0000)]
integrator: add system controller header

Break out the AP system controller and CP "CP controller"
registers into a header file, it gives better overview than
hardcoding its values and other disturbing practices.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
12 years agointegrator: make flash writeable on boot
Linus Walleij [Wed, 9 Nov 2011 06:15:59 +0000 (06:15 +0000)]
integrator: make flash writeable on boot

This reconfigures the EBI (External Bus Interface) on the
integrator so that chip select 1, handling the flash memory, is
set to writeable. Without this it is not possible for U-Boot to
access flash memory and it crashes on startup since CFI won't
work properly.

Since this is the first time we use the EBI, we create a header
file for its registers.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
12 years agointegrator: use io-accessors for board init
Linus Walleij [Wed, 9 Nov 2011 06:14:40 +0000 (06:14 +0000)]
integrator: use io-accessors for board init

Casting around to *(volatile ulong *) doesn't look good, so include
the <asm/io.h> macros and use good old readl() instead.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
12 years agointegrator: move text offset to config
Linus Walleij [Wed, 9 Nov 2011 06:14:20 +0000 (06:14 +0000)]
integrator: move text offset to config

Do away with the config.mk file and move the text offset to the
config files to make things easier.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
12 years agointegrator: pass configs for core modules
Linus Walleij [Wed, 9 Nov 2011 06:14:05 +0000 (06:14 +0000)]
integrator: pass configs for core modules

Alter the board.cfg to pass core module configuration flags
so we can make compile-time switches for different core
modules. These are already in use for some low-level code,
they just got lost in the conversion to the new build
system.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
12 years agoadp-ag101p: add product into MAINTAINERS list
Macpaul Lin [Tue, 19 Oct 2010 09:10:34 +0000 (17:10 +0800)]
adp-ag101p: add product into MAINTAINERS list

Add ADP-AG101P into MAINTAINERS list.
Add ADP-AG101P into boards.cfg.

Signed-off-by: Macpaul Lin <macpaul@andestech.com>
12 years agoadp-ag101p: Add SoC and board support of ag101p
Macpaul Lin [Tue, 19 Oct 2010 09:05:51 +0000 (17:05 +0800)]
adp-ag101p: Add SoC and board support of ag101p

Add softcore SoC ag101p and the board adp-ag101p support.

Signed-off-by: Macpaul Lin <macpaul@andestech.com>
12 years agopowerpc/85xx: Fix NAND SPL support
Kumar Gala [Wed, 9 Nov 2011 15:10:49 +0000 (09:10 -0600)]
powerpc/85xx: Fix NAND SPL support

We cause CCSRBAR to be relocated in the SPL phase of NAND boot which
isn't expected and breaks things.  Fixing the board config.h to NOT
relocate CCSR during the CONFIG_NAND_SPL phase.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agonds32: fix data section of linker script
Macpaul Lin [Wed, 9 Nov 2011 08:24:57 +0000 (16:24 +0800)]
nds32: fix data section of linker script

Make linker script handles .data.rel sections.

Signed-off-by: Macpaul Lin <macpaul@andestech.com>
Tested-by: Macpaul Lin <macpaul@gmail.com>
Cc: Mike Frysinger <vapier@gentoo.org>
12 years agodwcddr21mctl: Synopsys DWC DDR2/1 Memory Controller
Macpaul Lin [Mon, 26 Sep 2011 09:44:34 +0000 (17:44 +0800)]
dwcddr21mctl: Synopsys DWC DDR2/1 Memory Controller

Header definitions of Synopsys DWC DDR2/1 Memory Controller.

Signed-off-by: Macpaul Lin <macpaul@andestech.com>
12 years agoandes_pcu.h: header file of andes_pcu power control unit
Macpaul Lin [Tue, 27 Sep 2011 07:31:07 +0000 (15:31 +0800)]
andes_pcu.h: header file of andes_pcu power control unit

header file of andes_pcu power control unit

Signed-off-by: Macpaul Lin <macpaul@andestech.com>
12 years agofsl_i2c: Fix compile warning
Kumar Gala [Tue, 8 Nov 2011 03:39:43 +0000 (03:39 +0000)]
fsl_i2c: Fix compile warning

fsl_i2c.c: In function 'i2c_init':
fsl_i2c.c:245:7: warning: assignment discards qualifiers from pointer target type

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agoARM: remove superfluous setting of arch_number in board specific code.
David Müller (ELSOFT AG) [Mon, 31 Oct 2011 01:22:07 +0000 (01:22 +0000)]
ARM: remove superfluous setting of arch_number in board specific code.

Signed-off-by: David Mueller <d.mueller@elsoft.ch>
12 years agoSPL: Allow ARM926EJS to avoid compiling in the CPU support code
Marek Vasut [Mon, 24 Oct 2011 00:14:23 +0000 (00:14 +0000)]
SPL: Allow ARM926EJS to avoid compiling in the CPU support code

This allows the SPL to avoid compiling in the CPU support code.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
Cc: Scott Wood <scottwood@freescale.com>
12 years agointegrator: do not test first part of the memory
Linus Walleij [Sun, 23 Oct 2011 21:02:03 +0000 (21:02 +0000)]
integrator: do not test first part of the memory

When booting from Flash, the Integrator remaps its flash memory
from 0x24000000 to 0x00000000, and starts executing it at
0x00000000. This ROM thus hides the RAM underneath and first
0x40000 bytes of the memory cannot be tested by get_ram_size().
So let's test from 0x40000 to the end of detected memory
instead.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
12 years agoMMC: PL180: Fix infinite loop with VExpress extended fifo implementation
Jon Medhurst (Tixy) [Fri, 4 Nov 2011 03:06:12 +0000 (03:06 +0000)]
MMC: PL180: Fix infinite loop with VExpress extended fifo implementation

The new IO FPGA implementation for Versatile Express contains an MMCI
(PL180) cell with the FIFO extended to 128 words. This causes the
read_bytes() function to go into an infinite loop; as it will wait for
for the half-full signal (SDI_STA_RXFIFOBR) if there are more than 8
words remaining (SDI_FIFO_BURST_SIZE), but it won't receive this signal
once there are fewer than 64 words left to transfer.

One possible fix is to add some build time configuration to change
SDI_FIFO_BURST_SIZE for the new implementation. However, the problematic
code only seems to exist as a small performance optimisation, so the
solution implemented by this patch is to simply remove it. The error
checking following the loop is also removed as this will be handled by
code further down the function.

Cc: Andy Fleming <afleming@gmail.com>
Signed-off-by: Jon Medhurst <jon.medhurst@linaro.org>
12 years agoarm: a320: fix broken timer
Po-Yu Chuang [Wed, 10 Aug 2011 17:44:21 +0000 (17:44 +0000)]
arm: a320: fix broken timer

timer.c used static data and are called before relocation.
Move all static variables into global_data structure. Also cleanup
timer.c from unused stubs and make it truly use 64 bit tick values.

Remove reset_timer_masked() get_timer_masked()

reference: arch/arm/cpu/arm926ejs/at91/timer.c

Based on Reinhard Meyer <u-boot@emk-elektronik.de>'s patches
5dca710a3d7703e41da0e9894f2d71f9e25bea6b
cfff263f41e32c7ba2ee9162a8cc6423eb5a8390

Signed-off-by: Po-Yu Chuang <ratbert@faraday-tech.com>
Tested-by: Macpaul Lin <macpaul@gmail.com>
12 years agoARM: define CONFIG_MACH_TYPE for all ronetix boards
Asen Dimov [Mon, 31 Oct 2011 08:54:20 +0000 (08:54 +0000)]
ARM: define CONFIG_MACH_TYPE for all ronetix boards

Signed-off-by: Asen Chavdarov Dimov <dimov@ronetix.at>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
12 years agopowerpc/85xx: Fix MPC8572DS NAND build
Kumar Gala [Tue, 8 Nov 2011 17:03:54 +0000 (11:03 -0600)]
powerpc/85xx: Fix MPC8572DS NAND build

Reduce NAND SPL build size by not include TLB entries that arent used by
it.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agofsl_ifc: Fixed a bug in the erratum handling code for IFC_A003399
Poonam Aggrwal [Tue, 1 Nov 2011 13:28:20 +0000 (18:58 +0530)]
fsl_ifc: Fixed a bug in the erratum handling code for IFC_A003399

Wrong pointer was being used to copy code into L2SRAM.
Also removed the unreferenced variable l2srbar.

Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agopowerpc/85xx: Add support for Book-E MMU Arch v2.0
Kumar Gala [Tue, 1 Nov 2011 03:13:26 +0000 (22:13 -0500)]
powerpc/85xx: Add support for Book-E MMU Arch v2.0

A few of the config registers changed definition between MMU v1.0 and
MMUv2.0.  The new e6500 core from Freescale implements v2.0 of the
architecture.

Specifically, how we determine the size of TLB entries we support in the
variable size (or TLBCAM/TLB1) array is specified in a new register
(TLBnPS - TLB n Page size) instead of via TLBnCFG.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agopowerpc/85xx: Make inclusion of USB device fixup conditional
Ramneek Mehresh [Tue, 8 Nov 2011 04:51:28 +0000 (10:21 +0530)]
powerpc/85xx: Make inclusion of USB device fixup conditional

Include call to usb device-fixup only when CONFIG_HAS_FSL_DR_USB is
defined for the platform - P1020RDB, P1010RDB, P1020-PC

Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agopowerpc/85xx: Fix warning for USB device-fixup
Ramneek Mehresh [Tue, 8 Nov 2011 07:39:20 +0000 (13:09 +0530)]
powerpc/85xx: Fix warning for USB device-fixup

Fix USB device-fixup warning "node not found". This was occuring
because of static nature of start_offset variable

Static start_offset was storing offset of last node modified, and
was becoming issue if node fixup is carried multiple times,
resulting in "node not found" warning

Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agopowerpc/85xx: resize the boot page TLB before relocating CCSR
Timur Tabi [Mon, 31 Oct 2011 18:30:45 +0000 (13:30 -0500)]
powerpc/85xx: resize the boot page TLB before relocating CCSR

On some Freescale systems (e.g. those booted from the on-chip ROM), the
TLB that covers the boot page can also cover CCSR, which breaks the CCSR
relocation code.  To fix this, we resize the boot page TLB so that it only
covers the 4KB boot page.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agopowerpc/85xx: verify the current address of CCSR before relocating it
Timur Tabi [Mon, 31 Oct 2011 18:30:44 +0000 (13:30 -0500)]
powerpc/85xx: verify the current address of CCSR before relocating it

Verify that CCSR is actually located where it is supposed to be before
we relocate it.  This is useful in detecting U-Boot configurations that
are broken (e.g. an incorrect value for CONFIG_SYS_CCSRBAR_DEFAULT).
If the current value is wrong, we enter an infinite loop, which is handy
for debuggers.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agopowerpc/85xx: add some missing sync instructions in the CCSR relocation code
Timur Tabi [Mon, 31 Oct 2011 18:30:43 +0000 (13:30 -0500)]
powerpc/85xx: add some missing sync instructions in the CCSR relocation code

Calls to tlbwe and tlbsx should be preceded with an isync/msync pair.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agopowerpc/85xx: fix some comments in the CCSR relocation code
Timur Tabi [Mon, 31 Oct 2011 18:30:42 +0000 (13:30 -0500)]
powerpc/85xx: fix some comments in the CCSR relocation code

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agopowerpc/85xx: fix definition of MAS register macros
Timur Tabi [Mon, 31 Oct 2011 18:30:41 +0000 (13:30 -0500)]
powerpc/85xx: fix definition of MAS register macros

Some of the MAS register macros do not protect the parameter with
parentheses, which could cause wrong values if the parameter includes
operators.

Also fix the definition of TSIZE_TO_BYTES() so that it actually uses
the parameter.  This hasn't caused any problems to date because the
parameter was always been 'tsize'.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agopowerpc/mpc8548cds: Fix network initialization
chenhui zhao [Tue, 6 Sep 2011 16:41:18 +0000 (16:41 +0000)]
powerpc/mpc8548cds: Fix network initialization

Add board_eth_init(). PCIe network card is also supported.
Put RGMII init after tsec_eth_init().
Skip initializing eTSEC3 and eTSEC4 with Carrier boards prior to ver 1.3.

Signed-off-by: Ebony Zhu
Signed-off-by: Zhao Chenhui <chenhui.zhao@freescale.com>
12 years agopowerpc/mpc8548: Add workaround for erratum NMG_eTSEC129
chenhui zhao [Mon, 3 Oct 2011 13:38:50 +0000 (08:38 -0500)]
powerpc/mpc8548: Add workaround for erratum NMG_eTSEC129

Erratum NMG_eTSEC129 (eTSEC86 in MPC8548 document) applies to some early
verion silicons. This workaround detects if the eTSEC Rx logic is properly
initialized, and reinitialize the eTSEC Rx logic.

Signed-off-by: Gong Chen <g.chen@freescale.com>
Signed-off-by: Zhao Chenhui <chenhui.zhao@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agopowerpc/QorIQ: fix network frame manager TBI PHY address settings
Roy Zang [Fri, 28 Oct 2011 05:15:36 +0000 (13:15 +0800)]
powerpc/QorIQ: fix network frame manager TBI PHY address settings

TBI PHY address (TBIPA) register has been set in general frame manager
phy init funciton dtsec_init_phy() in drivers/net/fm/eth.c

So remove the duplicate code on QorIQ frame manager Ethernet related
platforms, which include Hydra board, P4080DS board and P2041rdb board.

Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Cc: Andy Fleming <afleming@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 years agodm646x: pass board revision info to kernel
Manjunath Hadli [Tue, 8 Nov 2011 13:59:57 +0000 (08:59 -0500)]
dm646x: pass board revision info to kernel

add a function in board file to pass board revision
info to kernel. Revision number 0 and 1 are passed in
case of DM6467 and DM6467T respectively.

Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
12 years agodm646x: add new configuration for dm6467T
Manjunath Hadli [Tue, 8 Nov 2011 13:59:54 +0000 (08:59 -0500)]
dm646x: add new configuration for dm6467T

add new configuration file for dm6467T and appropraite changes
in boards.cfg. dm6467T is the new varaiant of dm6467 SOC which
supports 33 MHz reference clock where as dm6467 supports 27 MHz
reference clock.

Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
12 years agoarm, davinci: Fix setting of the SDRAM configuration register
Christian Riesch [Tue, 8 Nov 2011 13:55:13 +0000 (08:55 -0500)]
arm, davinci: Fix setting of the SDRAM configuration register

da850_ddr_setup() expects the BOOTUNLOCK bit to be set in
If BOOTUNLOCK is not set in this define, several configuration
bits will not be writeable and the code will not work.

Since the BOOTUNLOCK and TIMUNLOCK bits are not configuration options
but access control bits, this patch changes the code to work
irrespective of the value of these bits in CONFIG_SYS_DA850_DDR2_SDBCR.

Signed-off-by: Christian Riesch <christian.riesch@omicron.at>
Cc: Heiko Schocher <hs@denx.de>
Cc: Paulraj Sandeep <s-paulraj@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
12 years agoarm, davinci: Remove the duplication of LPSC functions
Christian Riesch [Tue, 8 Nov 2011 13:55:10 +0000 (08:55 -0500)]
arm, davinci: Remove the duplication of LPSC functions

The LPSC functions defined in
arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c
are replaced by those already defined in
arch/arm/cpu/arm926ejs/davinci/psc.c.

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>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
12 years agoarm, davinci: Rename AM1808 lowlevel functions to DA850
Christian Riesch [Tue, 8 Nov 2011 13:55:07 +0000 (08:55 -0500)]
arm, davinci: Rename AM1808 lowlevel functions to DA850

Rename arch/arm/cpu/arm926ejs/davinci/am1808_lowlevel.c and
arch/arm/include/asm/arch-davinci/am1808_lowlevel.h to da850_lowlevel.c
and da850_lowlevel.h since they apply not only to the AM1808 SoC
but to all DA850 chips. The function names and #defines are changed
likewise.

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>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
12 years agoda8xxevm: fix build error
Prabhakar Lad [Tue, 8 Nov 2011 13:55:03 +0000 (08:55 -0500)]
da8xxevm: fix build error

This patch fixes following compile error for da8xx evm

da830evm.c: In function 'board_init':
da830evm.c:222: error: 'DAVINCI_SYSCFG_SUSPSRC_UART2' undeclared (first use in this function)
da830evm.c:222: error: (Each undeclared identifier is reported only once
da830evm.c:222: error: for each function it appears in.)
make[2]: *** [da830evm.o] Error 1

similarly for da850evm.

introduced through commit:
f9fc237f1f07d4e5ff7c9c2da39cabc8d3d7b339

Signed-off-by: Prabhakar Lad <prabhakar.csengg@gmail.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
12 years agoenv: allow to export only selected variables
Wolfgang Denk [Sun, 6 Nov 2011 21:49:44 +0000 (22:49 +0100)]
env: allow to export only selected variables

New syntax:
env export [-t | -b | -c] [-s size] addr [var ...]

With this change it is possible to provide a list of variables names
that shall be exported.  Whenno arguments are given, the whole
environment gets exported.

NOTE: The new handling of the "size" argument means a change to the
user API.

Signed-off-by: Wolfgang Denk <wd@denx.de>
12 years agoARM: re-add MACH_TYPE_XXXXXX for VCMA9 board and add CONFIG_MACH_TYPE
David Müller (ELSOFT AG) [Mon, 31 Oct 2011 01:22:06 +0000 (01:22 +0000)]
ARM: re-add MACH_TYPE_XXXXXX for VCMA9 board and add CONFIG_MACH_TYPE

Signed-off-by: David Mueller <d.mueller@elsoft.ch>
12 years agoMerge branch 'master' of git://git.denx.de/u-boot-mpc83xx
Wolfgang Denk [Tue, 8 Nov 2011 06:44:52 +0000 (07:44 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc83xx

* 'master' of git://git.denx.de/u-boot-mpc83xx:
  powerpc/mpc83xx: Add 33.33MHz support for mpc8360emds
  powerpc/mpc83xx: Add 512MB DDR support for mpc8360emds
  mpc83xx: Rename CONFIG_SYS_DDR_CONFIG and cleanup DDR csbnds code
  mpc83xx: Cleanup usage of LBC constants
  mpc83xx: Cleanup usage of DDR constants
  mpc83xx: Cleanup usage of BAT constants
  mpc83xx: cosmetic: vme8349.h checkpatch compliance
  mpc83xx: cosmetic: ve8313.h checkpatch compliance
  mpc83xx: cosmetic: sbc8349.h checkpatch compliance
  mpc83xx: cosmetic: mpc8308_p1m.h checkpatch compliance
  mpc83xx: cosmetic: kmeter1.h checkpatch compliance
  mpc83xx: cosmetic: TQM834x.h checkpatch compliance
  mpc83xx: cosmetic: SIMPC8313.h checkpatch compliance
  mpc83xx: cosmetic: MVBLM7.h checkpatch compliance
  mpc83xx: cosmetic: MPC837XERDB.h checkpatch compliance
  mpc83xx: cosmetic: MPC837XEMDS.h checkpatch compliance
  mpc83xx: cosmetic: MPC8360ERDK.h checkpatch compliance
  mpc83xx: cosmetic: MPC8360EMDS.h checkpatch compliance
  mpc83xx: cosmetic: MPC8349ITX.h checkpatch compliance
  mpc83xx: cosmetic: MPC8349EMDS.h checkpatch compliance
  mpc83xx: cosmetic: MPC832XEMDS.h checkpatch compliance
  mpc83xx: cosmetic: MPC8323ERDB.h checkpatch compliance
  mpc83xx: cosmetic: MPC8315ERDB.h checkpatch compliance
  mpc83xx: cosmetic: MPC8313ERDB.h checkpatch compliance
  mpc83xx: cosmetic: MPC8308RDB.h checkpatch compliance
  mpc83xx: cosmetic: MERGERBOX.h checkpatch compliance
  mpc83xx: Fix ipic structure definition
  powerpc, mpc83xx: add DDR SDRAM Timing Configuration 3 definitions
  cosmetic, powerpc, mpc83xx: checkpatch cleanup
  powerpc/83xx: move km 83xx specific i2c code to km83xx_i2c
  mpc83xx: fix global timer structure definition

12 years agopowerpc/mpc83xx: Add 33.33MHz support for mpc8360emds
Jerry Huang [Mon, 7 Nov 2011 05:20:21 +0000 (13:20 +0800)]
powerpc/mpc83xx: Add 33.33MHz support for mpc8360emds

The new MPC8360EMDS board changes the oscillator to 33.33MHz
in order to support QE 500MHz since 2008.

Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
12 years agoMerge branch 'master' of git://git.denx.de/u-boot-arm
Wolfgang Denk [Mon, 7 Nov 2011 23:38:52 +0000 (00:38 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-arm

* 'master' of git://git.denx.de/u-boot-arm:
  Arm: re-introduce the MACH_TYPE_XXXXXX for EB_CPUX9K2 board
  arm: jadecpu: Readd MACH_TYPE_JADECPU
  at91: defined mach-types for otc570 board in board config file
  at91: defined mach-types for meesc board in board config file
  mx31pdk: Enable D and I caches
  ehci-mxc: remove incorrect comment
  README: Fix supported i.MX SoC list for CONFIG_MXC_SPI
  mx53: Turn off child clocks before reconfigure perclk_root
  qong: enable support for compressed images
  imx: imx31_phycore.h: fix checkpatch warnings
  vision2: Remove unused get_board_rev function
  mx53smd: Remove unused get_board_rev function
  mx53ard: Remove unused get_board_rev function
  mx53evk: Remove unused get_board_rev function
  mx53evk: Add RTC support
  mx53loco: Remove unused get_board_rev function
  mx53evk: Remove unneeded '1' from mx53evk.h
  OMAP3: mvblx: Initial support for mvBlueLYNX-X
  ARM: dig297: Define MACH_TYPE_OMAP3_CPS and CONFIG_MACH_TYPE
  omap3: mem: Move comments next to definitions
  omap3: mem: Clean-up whitespaces
  omap3: mem: Define and use common macros
  Davinci: ea20: added PREBOOT to configuration
  Davinci: ea20: added I2C support
  Davinci: ea20: added video support
  VIDEO: davinci: add framebuffer to da8xx
  ARM: Davinci: added missing registers to hardware.h
  Davinci: ea20: add gpios for LCD backlight control
  Davinci: ea20: add gpio for keeping power on in board_late_init
  Davinci: ea20: Add default U-Boot environment
  Davinci: ea20: Add early init to get early output from console
  Davinci: ea20: Add NAND support
  Davinci: ea20: set GPIOs to hold MII-Phy in reset and set UART0-Switch for console
  Davinci: ea20: set console on UART0
  arm, davinci: add cam_enc_4xx support
  arm926ejs, davinci: add missing spi defines for dm365
  arm926ejs, davinci: add cpuinfo for dm365
  arm, davinci: add lowlevel function for dm365 soc
  arm, davinci: add header files for dm365
  spl, nand: add 4bit HW ecc oob first nand_read_page function
  arm, davinci: add support for new spl framework
  spl: add option for adding post memory test to the SPL framework
  net, davinci_emac: make clock divider in MDIO control register configurable
  arm, usb, davinci: make USBPHY_CTL register configurable
  usb, davinci: add enable_vbus() weak function
  omap3evm: fix errors caused by multiple definitions
  omap3evm: Add (quick) configuration for NAND only
  omap3evm: Add (quick) configuration for MMC/SD only
  omap3evm: move common config options to new file
  omap3evm: Prepare to split configuration
  omap3evm: Reorder related config options
  omap/spl: actually enable the console
  davinci_emac: compilation fix, phy is array now
  omap3evm: Set environment variable 'ethaddr'
  arm, arm926: fix missing symbols in NAND_SPL mode
  arm, davinci: Add function lpsc_syncreset()
  arm, davinci: replace CONFIG_PRELOADER with CONFIG_SPL_BUILD
  arm/km: portl2 environment address update to P1B
  arm/km: adapt bootcounter evaluation
  arm/km: enable jffs2 cmds
  arm/km: trigger reconfiguration for the Xilinx FPGA
  arm/km: add boardid and hwkey to kernel command line
  ARM: Reintroduce MACH_TYPE_KM_KIRKWOOD for keymile ARM boards
  netspace_v2: enable I2C EEPROM support
  netspace_v2: fix SDRAM configuration
  armada100: define CONFIG_SYS_CACHELINE_SIZE
  pantheon: define CONFIG_SYS_CACHELINE_SIZE
  kirkwood: define CONFIG_SYS_CACHELINE_SIZE
  kirkwood: drop empty asm-offsets.s file
  arm/km/mgcoge3un: enhance "waitforne" feature
  arm/km: add variable waitforne to mgcoge3un
  gplugD: Fix for error:MACH_TYPE_SHEEVAD undeclared
  ARM: dreamplug: fix compilation
  ARM: DockStar: fix compilation
  ARM: netspace_v2: fix warnings
  am335x: Drop board_sysinfo struct
  am335x: Temporarily add MACH_TYPE define
  misc:pmic:samsung Enable PMIC driver at C210 Universal target
  dcache:s5p CONFIG_SYS_CACHELINE_SIZE added for s5p UNIVERSAL C210 target
  dcache:s5p CONFIG_SYS_CACHELINE_SIZE added for s5p GONI target
  smdkv310: use macro for mmc data read function address
  smdkv310: use spl framework for mmc spl
  SMDKV310: use get_ram_size() to validate dram size
  SMDKV310: Initialize board id using CONFIG_MACH_TYPE
  ORIGEN : use absolute paths and fix tool naming
  ORIGEN : enable device tree support
  MX25: tx25: Fix building due to missing MACH_TYPE
  mx31: Add board support for HALE TT-01
  mx31: add ESD control registers
  mx31: define pins and init for UART2 and CSPI3
  MX35: add support for flea3 board
  MX51: vision2: add MACH_TYPE in config file
  vision2: Remove unused header file
  mx51evk: Remove unused get_board_rev function
  mx51evk: Remove unneeded '1' from mx51evk.h
  I2C: Fix mxc_i2c.c problem on imx31_phycore
  mx35pdk: Add RTC support
  mx51evk: Use GPIO API for configuring the IOMUX
  mx51evk: Add RTC support
  rtc: Make mc13783-rtc driver generic
  qong: remove unneeded IOMUX settings
  qong: Use mx31_set_gpr to setup USBH2 pins
  mx31: Introduce mx31_set_gpr function
  mx31pdk: Add MC13783 PMIC support
  qong: remove unneeded "1" from qong.h
  misc: pmic: fix regression in pmic_fsl.c (SPI)
  mx5 configs: CONFIG_PRIME should really be CONFIG_ETHPRIME
  MX35: Drop unnecessary prototypes from imx-regs.h
  I2C: added I2C-2 and I2C-3 to MX35
  MX35: factorize common assembly code
  MX35: add reset cause as provided by other i.MX
  MX35: add pins definition for UART3
  MX35: added ESDC structure to imx-regs

12 years agoMerge branch 'master' of git://git.denx.de/u-boot-coldfire
Wolfgang Denk [Mon, 7 Nov 2011 23:37:27 +0000 (00:37 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-coldfire

* 'master' of git://git.denx.de/u-boot-coldfire:
  ColdFire: The EB+MCF-EV123 boards config update
  ColdFire: Fix the compile issue for M52277
  ColdFire:Moving the remaining coldfire boards to boards.cfg

12 years agoMerge branch 'master' of git://git.denx.de/u-boot-i2c
Wolfgang Denk [Mon, 7 Nov 2011 23:34:07 +0000 (00:34 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-i2c

* 'master' of git://git.denx.de/u-boot-i2c:
  Powerpc/i2c: Use the same initialize codes

12 years agoboard/siemens/SCM/scm.c: Fix GCC 4.6 build warning
Wolfgang Denk [Sat, 5 Nov 2011 05:13:19 +0000 (05:13 +0000)]
board/siemens/SCM/scm.c: Fix GCC 4.6 build warning

Fix:
scm.c: In function 'config_scoh_cs':
scm.c:400:16: warning: variable 'tmp' set but not used
[-Wunused-but-set-variable]

Signed-off-by: Wolfgang Denk <wd@denx.de>
12 years agoboard/funkwerk/vovpn-gw/vovpn-gw.c: Fix GCC 4.6 build warning
Wolfgang Denk [Sat, 5 Nov 2011 05:13:18 +0000 (05:13 +0000)]
board/funkwerk/vovpn-gw/vovpn-gw.c: Fix GCC 4.6 build warning

Fix:
vovpn-gw.c: In function 'misc_init_r':
vovpn-gw.c:266:16: warning: variable 'temp' set but not used
[-Wunused-but-set-variable]

Signed-off-by: Wolfgang Denk <wd@denx.de>
12 years agoboard/freescale/mpc8266ads/mpc8266ads.c: Fix GCC 4.6 build warning
Wolfgang Denk [Sat, 5 Nov 2011 05:13:17 +0000 (05:13 +0000)]
board/freescale/mpc8266ads/mpc8266ads.c: Fix GCC 4.6 build warning

Fix:
mpc8266ads.c: In function 'initdram':
mpc8266ads.c:278:9: warning: variable 'spd_size' set but not used
[-Wunused-but-set-variable]

Signed-off-by: Wolfgang Denk <wd@denx.de>
12 years agoboard/freescale/mpc8266ads/mpc8266ads.c: CodingStyle cleanup
Wolfgang Denk [Sat, 5 Nov 2011 05:13:16 +0000 (05:13 +0000)]
board/freescale/mpc8266ads/mpc8266ads.c: CodingStyle cleanup

Make (mostly) checkpatch clean.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Rune Torgersen <runet@innovsys.com>
12 years agoboard/sacsng/sacsng.c: Fix GCC 4.6 build warning
Wolfgang Denk [Sat, 5 Nov 2011 05:13:15 +0000 (05:13 +0000)]
board/sacsng/sacsng.c: Fix GCC 4.6 build warning

Fix:
sacsng.c: In function 'initdram':
sacsng.c:180:9: warning: variable 'spd_size' set but not used
[-Wunused-but-set-variable]

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Jerry Van Baren <gerald.vanbaren@smiths-aerospace.com>