Joonyoung Shim [Thu, 14 Jan 2010 10:20:35 +0000 (19:20 +0900)]
s5p6442: smdk6442: Enable OneNAND boot
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
MyungJoo Ham [Thu, 14 Jan 2010 10:10:28 +0000 (19:10 +0900)]
s5pc110: GPIO setting related w/ CP as H/W dept suggested
- PHONE_ACTIVE GPH1[7]: Input / No Pull
- PDA_ACTIVE GPJ0[0]: Input / Pull-Down
- RESET_REQ_N MP0_1[2]: Output High
- GPS_CLK_INT MP0_4[6]: Output Low
- AP_FLM_TX/RX GPA1[2,3]: Input / No PUll
MyungJoo Ham [Thu, 14 Jan 2010 09:48:06 +0000 (18:48 +0900)]
Merge branch 'master' of mj.ham@party:/pub/git/u-boot-s5pc1xx
MyungJoo Ham [Thu, 14 Jan 2010 09:47:08 +0000 (18:47 +0900)]
s5pc110: updated GPIO PDN mode related w/ CP: REST_REQ_N(MP0_1[2])
Kyungmin Park [Thu, 14 Jan 2010 09:46:34 +0000 (18:46 +0900)]
Merge branch 'master' of http://git.denx.de/u-boot
Conflicts:
common/env_onenand.c
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Joonyoung Shim [Thu, 14 Jan 2010 09:09:15 +0000 (18:09 +0900)]
s5p6442: smdk6442: Add checksum
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Kyungmin Park [Thu, 14 Jan 2010 07:21:15 +0000 (16:21 +0900)]
OneNAND: Fix wrong bad block handling at read/write
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Joonyoung Shim [Thu, 14 Jan 2010 06:46:31 +0000 (15:46 +0900)]
Onenand: Add alignment for memcpy32
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Joonyoung Shim [Thu, 14 Jan 2010 02:44:10 +0000 (11:44 +0900)]
smdk6442: Use 8KiB internal RAM for boot
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Kyungmin Park [Thu, 14 Jan 2010 01:48:29 +0000 (10:48 +0900)]
OneNAND: Add memory barrier
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Joonyoung Shim [Wed, 13 Jan 2010 11:15:52 +0000 (20:15 +0900)]
s5p6442: smdk6442: support onenand_ipl compile
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Joonyoung Shim [Wed, 13 Jan 2010 07:05:31 +0000 (16:05 +0900)]
s5p6442: smdk6442: Enable onenand(except write)
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Joonyoung Shim [Wed, 13 Jan 2010 04:50:26 +0000 (13:50 +0900)]
s5p6442: smdk6442: Enable boot & serial
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Joonyoung Shim [Wed, 13 Jan 2010 04:40:47 +0000 (13:40 +0900)]
s5p6442: smdk6442: fix compile error
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Joonyoung Shim [Wed, 13 Jan 2010 04:20:53 +0000 (13:20 +0900)]
s5p6442: smdk6442: initial work
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Minkyu Kang [Wed, 13 Jan 2010 03:46:33 +0000 (12:46 +0900)]
usbd: add CSA Clear
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Wolfgang Denk [Tue, 12 Jan 2010 22:47:03 +0000 (23:47 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-arm
Wolfgang Denk [Tue, 12 Jan 2010 22:42:32 +0000 (23:42 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-nand-flash
Wolfgang Denk [Tue, 12 Jan 2010 22:39:08 +0000 (23:39 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-usb
Wolfgang Denk [Tue, 12 Jan 2010 22:30:40 +0000 (23:30 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc83xx
Bryan Wu [Sat, 9 Jan 2010 21:53:54 +0000 (16:53 -0500)]
usb: musb: add virtual root hub control support
For MUSB devices that do not support multipoint (hubs), we have to emulate
a root hub so that we can support core operations like resetting ports.
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Minkyu Kang [Tue, 12 Jan 2010 11:31:20 +0000 (20:31 +0900)]
usbd: increase partition array to 16
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Kyungmin Park [Tue, 12 Jan 2010 09:40:50 +0000 (18:40 +0900)]
Add missing file at merge
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Tue, 12 Jan 2010 09:15:00 +0000 (18:15 +0900)]
Merge branch 'master' of http://git.denx.de/u-boot
Conflicts:
common/env_onenand.c
drivers/mtd/onenand/onenand_base.c
include/linux/mtd/onenand_regs.h
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Tue, 12 Jan 2010 08:33:21 +0000 (17:33 +0900)]
s5pc110: aquila: Don't include modem code
It's only used for debugging
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Tue, 12 Jan 2010 08:23:58 +0000 (17:23 +0900)]
OneNAND: Remove unused codes
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Tue, 12 Jan 2010 02:14:34 +0000 (11:14 +0900)]
s5pc110: aquila: New memory timing (not yet tested)
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Tue, 12 Jan 2010 01:18:23 +0000 (10:18 +0900)]
s5pc110: aquila: Add gitignore
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Tue, 12 Jan 2010 01:17:25 +0000 (10:17 +0900)]
s5pc110: aquila: Use correct name at comments
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Chris Zhang [Wed, 6 Jan 2010 21:34:06 +0000 (13:34 -0800)]
Adds EHCI definitions to sequoia board configuration file.
Adds required definitions for EHCI support in sequoia configuration file.
But still keeps the OHCI as default driver.
Signed-off-by: Chris Zhang <chris@seamicro.com>
Chris Zhang [Wed, 6 Jan 2010 21:34:05 +0000 (13:34 -0800)]
Add ppc440epx USB ehci support.
Currently ppc440epx uses OHCI for USB full-speed support. This change adds
support for EHCI.
Signed-off-by: Chris Zhang <chris@seamicro.com>
Chris Zhang [Wed, 6 Jan 2010 21:34:04 +0000 (13:34 -0800)]
Fix EHCI port reset.
In USB ehci driver, the port reset is not terminated. EHCI spec says "A host
controller must terminate the reset and stabilize the state of the port within
2 milliseconds". Without termination, a port stays at reset state. This is
observed on ppc4xx(sequoia) boards.
Signed-off-by: Chris Zhang <chris@seamicro.com>
Sanjeev Premi [Thu, 24 Dec 2009 08:50:41 +0000 (14:20 +0530)]
omap3: fix compile warning
This patch fixes this warning during compile:
omap3.c: In function 'musb_platform_init':
omap3.c:126: warning: label 'end' defined but not used
Problem reported by: Dirk Behme[dirk.behme@googlemail.com]
Signed-off-by: Sanjeev Premi <premi@ti.com>
Bryan Wu [Thu, 17 Dec 2009 03:04:02 +0000 (22:04 -0500)]
usb: musb: add support for Blackfin MUSB
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
Bryan Wu [Thu, 17 Dec 2009 03:04:01 +0000 (22:04 -0500)]
usb: musb: change rxcsr register from write to read/modify/write
The RX Control/Status register has bits that we want to preserve, so don't
just write out a single bit. Preserve the others bits in the process.
The original code posted to the u-boot list had this behavior, but looks
like it was lost somewhere along the way to merging.
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
Bryan Wu [Thu, 17 Dec 2009 03:04:00 +0000 (22:04 -0500)]
usb: musb: make multipoint optional
The multipoint handling under MUSB is optional, and some parts (like the
Blackfin processor) do not implement support for it.
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
Bryan Wu [Thu, 17 Dec 2009 03:03:59 +0000 (22:03 -0500)]
usb: musb: make fifo support configurable
The dynamic FIFO handling under MUSB is optional, and some parts (like
the Blackfin processor) do not implement support for it.
Due to this, the FIFO reading/writing steps need special handling, so
mark the common versions weak so drivers can override.
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
Mike Frysinger [Thu, 17 Dec 2009 03:03:58 +0000 (22:03 -0500)]
usb: musb: make sure the register layout is packed
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
Ajay Kumar Gupta [Tue, 22 Dec 2009 05:26:14 +0000 (10:56 +0530)]
DA830: Add usb config
Adding USB configuration. Default is set for USB MSC host.
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Swaminathan S <swami.iyer@ti.com>
Ajay Kumar Gupta [Tue, 22 Dec 2009 05:26:13 +0000 (10:56 +0530)]
DA8xx: Add MUSB host support
Tested USB host functionality on DA830 EVM.
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Swaminathan S <swami.iyer@ti.com>
Ajay Kumar Gupta [Tue, 22 Dec 2009 05:26:12 +0000 (10:56 +0530)]
DA8xx: Add GPIO register definitions
Added DA8xx GPIO base addresses in gpio_defs.h and pointers
to different BANKs which can be used to program GPIOs.
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Swaminathan S <swami.iyer@ti.com>
Ajay Kumar Gupta [Tue, 22 Dec 2009 05:26:11 +0000 (10:56 +0530)]
DA830: Add pinmux for USB0_DRVVBUS
USB0_DRVVBUS pinmux configuration is required for USB functinality
in uboot.
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Swaminathan S <swami.iyer@ti.com>
Donggeun Kim [Fri, 8 Jan 2010 08:53:05 +0000 (17:53 +0900)]
s5pc110:aquila:add 'bamboo' board
Signed-off-by: Donggeun Kim <dg77.kim@samsung.com>
Heiko Schocher [Thu, 7 Jan 2010 07:56:00 +0000 (08:56 +0100)]
mpc83xx: add support configure bus parking
Add support to configure bus parking mode and master in bus arbitration
configuration (ACR). Add this for the kmeter1 port:
Configure bus arbiter with recommended values from Freescale
to improve bus latency/throughput for application with
intensive QuiccEngine activity.
Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Reinhard Arlt [Tue, 8 Dec 2009 08:21:41 +0000 (09:21 +0100)]
mpc83xx: vme8349: Fix power up reset sequence for tsi148
Remove PCI reset, if there is a monarch PMC module.
Signed-off-by: Reinhard Arlt <reinhard.arlt@esd.eu>
Signed-off-by: Stefan Roese <sr@denx.de>
convert clrbits_be32 + setbits_be32 to clrsetbits_be32, use out_be32 to set gcr.
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Reinhard Arlt [Tue, 8 Dec 2009 08:13:08 +0000 (09:13 +0100)]
mpc83xx: Add support for MPC8349 esd caddy2
The caddy2 is a variant of the already supported vme8349. So we just
add the differences to this board port. To better support those two
boards we switched from fixed SDRAM configuration to usage of
spd_sdram(). This is done by providing a board specific SPD EEPROM
routine with different values for both boards.
Signed-off-by: Reinhard Arlt <reinhard.arlt@esd.eu>
Signed-off-by: Stefan Roese <sr@denx.de>
changed to use mkconfig -t option instead, plus misc codingstyle fixes.
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Stefan Roese [Tue, 8 Dec 2009 08:10:04 +0000 (09:10 +0100)]
mpc83xx: spd_sdram.c: Disable memory controller before initializing
The memory controller could already be enabled, when spd_sdram() is
called. This could be the case for example, when the SDRAM is initialized
by the JTAG debugger.
The "sync" after the register access via the accessor function is
still needed, because the macro uses the sync before the real write
is done. So until not all accesses are converted to using accessor
functions, this sync still needs to be made "manually" here.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Reinhard Arlt <reinhard.arlt@esd.eu>
Acked-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Anton Vorontsov [Tue, 24 Nov 2009 17:12:12 +0000 (20:12 +0300)]
mpc83xx: Add NAND boot support for MPC8315E-RDB boards
The core support for NAND booting is there already, so this patch
is pretty straightforward.
There is one trick though: top level Makefile expects nand_spl to
be in nand_spl/board/$(BOARDDIR), but we can fully reuse the code
from mpc8313erdb boards, and so to not duplicate the code we just
symlink nand_spl/board/freescale/mpc8315erdb to mpc8313erdb.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
o silence make during ln echo
o update documentation
o and avoid:
$ ./MAKEALL MPC8315ERDB_NAND
Configuring for MPC8315ERDB board...
sdram.o: In function `fixed_sdram':
/home/r1aaha/git/u-boot/nand_spl/board/freescale/mpc8313erdb/sdram.c:72: undefined reference to `udelay'
by renaming udelay -> __udelay in the spirit of commit
3eb90bad651fab39cffba750ec4421a9c01d60e7 "Generic udelay() with watchdog
support".
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Donggeun Kim [Thu, 7 Jan 2010 13:45:27 +0000 (22:45 +0900)]
Merge branch 'master' of dgkim@party:/pub/git/u-boot-s5pc1xx
Donggeun Kim [Thu, 7 Jan 2010 13:45:07 +0000 (22:45 +0900)]
Revert "s5pc110:aquila:add 'bamboo' board"
This reverts commit
e3979bde8e25e60075890d1fe7410cdcc011cbfe.
MyungJoo Ham [Thu, 7 Jan 2010 11:53:13 +0000 (20:53 +0900)]
s5pc110: suspend/resume: EVT1: OTHERS CF Retention
Kyungmin Park [Thu, 7 Jan 2010 10:20:29 +0000 (19:20 +0900)]
s5pc110: aquila: Add CSA partition automatically
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Thu, 7 Jan 2010 10:05:00 +0000 (19:05 +0900)]
s5pc110: aquila: create the csa image
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Thu, 7 Jan 2010 09:52:22 +0000 (18:52 +0900)]
s5pc110: aquila: Add csa partition
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Donggeun Kim [Thu, 7 Jan 2010 09:41:04 +0000 (18:41 +0900)]
s5pc110:aquila:add 'bamboo' board
Signed-off-by: Donggeun Kim <dg77.kim@samsung.com>
Minkyu Kang [Thu, 7 Jan 2010 08:09:59 +0000 (17:09 +0900)]
s5pc110: fix wrong PLL_LOCK offset
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Thu, 7 Jan 2010 05:52:40 +0000 (14:52 +0900)]
s5pc1xx: remove unnecessary header files
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Sanjeev Premi [Fri, 18 Dec 2009 09:25:24 +0000 (14:55 +0530)]
onenand: Fix compile errors due to FlexOneNAND
This patch fixes the compile error while trying to
compile for omap3evm.
env_onenand.c: In function 'env_relocate_spec':
env_onenand.c:70: error: 'CONFIG_ENV_ADDR_FLEX' undeclared
(first use in this function)
env_onenand.c:70: error: (Each undeclared identifier is re
ported only once
env_onenand.c:70: error: for each function it appears in.)
env_onenand.c: In function 'saveenv':
env_onenand.c:106: error: 'CONFIG_ENV_ADDR_FLEX' undeclare
d (first use in this function)
env_onenand.c:107: error: 'CONFIG_ENV_SIZE_FLEX' undeclare
d (first use in this function)
Signed-off-by: Sanjeev Premi <premi@ti.com>
Acked-by: Tom Rix <Tom.Rix@windriver.com>
Nick Thompson [Wed, 16 Dec 2009 11:15:58 +0000 (11:15 +0000)]
Davinci: davinci_nand.c performance enhancments
Introduces various optimisations that approximately triple the
read data rate from NAND when run on da830evm.
Most of these optimisations depend on the endianess of the machine
and most of them are very similar to optimisations already present
in the Linux Kernel.
Signed-off-by: Nick Thompson <nick.thompson@ge.com>
Tom Rix [Wed, 6 Jan 2010 15:36:24 +0000 (09:36 -0600)]
ARM Update mach-types
Fetched from http://www.arm.linux.org.uk/developer/machines/download.php
And built with
repo http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm
commit
c9f937e4a3f4ebf9924ec21d80632e5eb61d949c
Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Byungho Min [Wed, 6 Jan 2010 07:02:28 +0000 (16:02 +0900)]
clock: enable uart1 clock for GPS
Minkyu Kang [Wed, 6 Jan 2010 06:13:01 +0000 (15:13 +0900)]
s5pc110: remove warning
remove below warning
s6e63m0.c: In function 's6e63m0_set_spi_interface':
s6e63m0.c:476: warning: implicit declaration of function 'printf'
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Wed, 6 Jan 2010 06:12:41 +0000 (15:12 +0900)]
usbd: version update
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Wed, 6 Jan 2010 05:27:56 +0000 (14:27 +0900)]
s5pc110: aquila: remove warnings
remove below warnings
universal.c: In function 'board_sleep_init':
universal.c:1859: warning: unused variable 'gpio'
universal.c:1856: warning: unused variable 'value'
universal.c: In function 'board_sleep_resume':
universal.c:1909: warning: unused variable 'gpio'
universal.c:1906: warning: unused variable 'value'
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Wed, 6 Jan 2010 05:21:27 +0000 (14:21 +0900)]
usbd: modify old style partition info
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Minkyu Kang [Wed, 6 Jan 2010 01:24:19 +0000 (10:24 +0900)]
usbd: add download mode
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Becky Bruce [Wed, 18 Nov 2009 03:10:21 +0000 (21:10 -0600)]
ppc/p4080: Add Corenet Platform Cache (CPC) registers
Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Dave Liu [Wed, 16 Dec 2009 16:24:39 +0000 (10:24 -0600)]
fsl-ddr: setup ODT_RD_CFG & ODT_WR_CFG when we interleave
In chip-select interleaving case, we also need set the ODT_RD_CFG
and ODT_WR_CFG in cs1_config register.
Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Dave Liu [Wed, 16 Dec 2009 16:24:38 +0000 (10:24 -0600)]
fsl-ddr: add override for the Rtt_Wr
Different boards may require different settings of Dynamic ODT (Rtt_Wr).
We provide a means to allow the board specific code to provide its own
value of Rtt_Wr.
Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Dave Liu [Wed, 16 Dec 2009 16:24:37 +0000 (10:24 -0600)]
fsl-ddr: add the override for write leveling
add the override for write leveling sampling and
start time according to specific board.
Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Dave Liu [Wed, 16 Dec 2009 16:24:36 +0000 (10:24 -0600)]
fsl-ddr: Fix power-down timing settings
1. TIMING_CFG_0[ACT_PD_EXIT] was set to 6 clocks, but
It should be set to tXP parameter, tXP=max(3CK, 7.5ns)
2. TIMING_CFG_0[PRE_PD_EXIT] was set to 6 clocks, but
It should be set to tXP (if MR0[A12]=1) else to tXPDLL parameter
We are setting the mode register MR0[A12]='1'
Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Anton Vorontsov [Tue, 15 Dec 2009 22:14:31 +0000 (01:14 +0300)]
mpc85xx: Add 4-bits eSDHC support for MPC8569E-MDS boards
Thanks to "Errata to MPC8569E PowerQUICC III Integrated Host Processor
Family Reference Manual, Rev. 0" document, which describes all eSDHC
pins, we can add 4-bits eSDHC support for MPC8569E-MDS boards.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Wed, 9 Dec 2009 23:28:17 +0000 (17:28 -0600)]
ppc/p4080: Fix reporting of PME & FM clock frequencies
We incorrectly had the sense of PME_CLK_SEL, FM1_CLK_SEL, FM2_CLK_SEL
backwards so we report the wrong frequency.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Li Yang [Wed, 9 Dec 2009 06:26:08 +0000 (14:26 +0800)]
fsl_law: add SRIO2 target id and law_size_bits() macro
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Wed, 18 Nov 2009 02:21:20 +0000 (20:21 -0600)]
ppc/85xx: Map boot page guarded for MP boot
We already map the page cache-inhibited. There is no reason we
shouldn't also be marking it guarded to prevent speculative accesses.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Wed, 18 Nov 2009 04:44:52 +0000 (22:44 -0600)]
ppc: Added macro to test for specific SVR revision
Various SoC errata are specific to a given revision of silicon. This
patch gives us a simple macro to use when doing such tests.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Dave Liu [Wed, 18 Nov 2009 02:01:24 +0000 (20:01 -0600)]
p4080: add readback to bootpage translation window
We need to add the readback to bootpage translation LAW
to make it effect.
Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Fri, 13 Nov 2009 15:25:07 +0000 (09:25 -0600)]
ppc/85xx: Make flash TLB entry determined at runtime on FSL boards
Rather than hard coding which TLB entry the FLASH is mapped with we can
use find_tlb_idx to determine the entry.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Fri, 13 Nov 2009 15:09:10 +0000 (09:09 -0600)]
ppc/85xx: Remove CONFIG_SYS_DDR_TLB_START
Now that we dynamically determine TLB CAM entries to use we dont need
CONFIG_SYS_DDR_TLB_START anymore.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Fri, 13 Nov 2009 15:04:19 +0000 (09:04 -0600)]
ppc/85xx: Make SPD DDR TLB setup code use dynamic entry allocation
Now that we track which TLB CAM entries are used we can allocate
entries on the fly. Change the SPD DDR TLB setup code to assume
we use at most 8 TLBs (or the number free, which ever is fewer).
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Thu, 12 Nov 2009 16:26:16 +0000 (10:26 -0600)]
ppc/85xx: Add tracking of TLB CAM usage
We need to track which TLB CAM entries are used to allow us to
"dynamically" allocate entries later in the code. For example the SPD
DDR code today hard codes which TLB entries it uses. We can now make
that pick entries that are free.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Wed, 4 Nov 2009 19:00:55 +0000 (13:00 -0600)]
ppc/8xxx: Remove is_fsl_pci_agent
All users of is_fsl_pci_agent have been converted to fsl_is_pci_agent
that uses the standard PCI programming model to determine host vs
agent/end-point.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Wed, 4 Nov 2009 17:39:55 +0000 (11:39 -0600)]
ppc/85xx: Move to using fsl_setup_hose on TQM 85xx
We can use fsl_setup_hose to determine if we are a agent/end-point or
a host. Rather than using some SoC specific register we can just look
at the PCI cfg space of the host controller to determine this.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Wed, 4 Nov 2009 19:01:51 +0000 (13:01 -0600)]
ppc/85xx: Move to using fsl_setup_hose on P2020 DS
We can use fsl_setup_hose to determine if we are a agent/end-point or
a host. Rather than using some SoC specific register we can just look
at the PCI cfg space of the host controller to determine this.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Wed, 4 Nov 2009 19:01:38 +0000 (13:01 -0600)]
ppc/85xx: Move to using fsl_setup_hose on P1/P2 RDB
We can use fsl_setup_hose to determine if we are a agent/end-point or
a host. Rather than using some SoC specific register we can just look
at the PCI cfg space of the host controller to determine this.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Wed, 4 Nov 2009 19:01:17 +0000 (13:01 -0600)]
ppc/85xx: Move to using fsl_setup_hose on MPC8572 DS
We can use fsl_setup_hose to determine if we are a agent/end-point or
a host. Rather than using some SoC specific register we can just look
at the PCI cfg space of the host controller to determine this.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Wed, 4 Nov 2009 18:51:10 +0000 (12:51 -0600)]
ppc/86xx: Clean up MPC8610 HPCD PCI setup code
Use new fsl_pci_init_port() that reduces amount of duplicated code in the
board ports, use IO accessors and clean up printing of status info.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Wed, 4 Nov 2009 17:15:29 +0000 (11:15 -0600)]
ppc/85xx: Clean up MPC8548 CDS PCI setup code
Use new fsl_pci_init_port() that reduces amount of duplicated code in the
board ports, use IO accessors and clean up printing of status info.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Wed, 4 Nov 2009 17:05:02 +0000 (11:05 -0600)]
ppc/85xx: Clean up ATUM8548 PCI setup code
Use new fsl_pci_init_port() that reduces amount of duplicated code in the
board ports, use IO accessors and clean up printing of status info.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Wed, 4 Nov 2009 16:31:53 +0000 (10:31 -0600)]
ppc/85xx: Clean up MPC8568 MDS PCI setup code
Use new fsl_pci_init_port() that reduces amount of duplicated code in the
board ports, use IO accessors and clean up printing of status info.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Wed, 4 Nov 2009 16:26:30 +0000 (10:26 -0600)]
ppc/85xx: Clean up MPC8569 MDS PCI setup code
Use new fsl_pci_init_port() that reduces amount of duplicated code in the
board ports, use IO accessors and clean up printing of status info.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Wed, 4 Nov 2009 16:22:26 +0000 (10:22 -0600)]
ppc/85xx: Clean up MPC8544 DS PCI setup code
Use new fsl_pci_init_port() that reduces amount of duplicated code in the
board ports, use IO accessors and clean up printing of status info.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Mingkai Hu [Wed, 28 Oct 2009 02:49:31 +0000 (10:49 +0800)]
ppc/85xx: Clean up MPC8536 DS PCI setup code
Use new fsl_pci_init_port() that reduces amount of duplicated code in the
board ports, use IO accessors and clean up printing of status info.
Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Sat, 31 Oct 2009 16:23:41 +0000 (11:23 -0500)]
NET: Base support for etsec2.0
1. Modified the tsec_mdio structure to include the new regs
2. Modified the MDIO_BASE_ADDR so that it will handle both
older version and new version of etsec.
Signed-off-by: Sandeep Gopalpet <sandeep.kumar@freescale.com>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Sandeep Gopalpet [Fri, 30 Oct 2009 19:05:04 +0000 (00:35 +0530)]
NET: Move MDIO regs out of TSEC Space
Moved the mdio regs out of the tsec structure,and
provided different offsets for tsec base and mdio
base so that provision for etsec2.0 can be provided.
This patch helps in providing the support for etsec2.0
In etsec2.0, the MDIO register space and the etsec reg
space are different.
Also, moved the TSEC_BASE_ADDR and MDIO_BASE_ADDR definitons into
platform specific files.
Signed-off-by: Sandeep Gopalpet <sandeep.kumar@freescale.com>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Thu, 19 Mar 2009 07:46:28 +0000 (02:46 -0500)]
85xx: Add support to set DPAA (data path) devices clock frequencies
Set clock-frequency for Frame Manager 0/1 and Patter Match Engine on p4080.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Thu, 17 Sep 2009 05:01:14 +0000 (00:01 -0500)]
ppc/8xxx: Don't use pci_cfg on FSL_CORENET platforms
The FSL_CORENET platforms use a completely different means to determine
which PCIe port is enabled as well as if its a host or agent/end-point.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Fri, 16 Oct 2009 04:22:10 +0000 (23:22 -0500)]
ppc/p4080: Added p4080 SERDES registers & USB offset
Added immap definition for SERDES registers on p4080, the USB offset
(since it was missing) and a GPL header.
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Thu, 19 Mar 2009 07:53:01 +0000 (02:53 -0500)]
85xx: Add support for e500mc cache stashing
The e500mc core supports the ability to stash into the L1 or L2 cache,
however we need to uniquely identify the caches with an id.
We use the following equation to set the various stash-ids:
32 + coreID*2 + 0(L1) or 1(L2)
The 0 (for L1) or 1 (for L2) matches the CT field used be various cache
control instructions.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
MyungJoo Ham [Tue, 5 Jan 2010 10:57:19 +0000 (19:57 +0900)]
s5pc1xx: reduce u-boot-sleep current. (16.8 -> 12.2 mA)
Done by turning sound codec off.
Applies to u-boot sleep only (kernel does it already)
1 less mili-amps to match kernel.