Minkyu Kang [Mon, 8 Feb 2010 03:13:35 +0000 (12:13 +0900)]
Merge branch 'master' of git://git.denx.de/u-boot-arm
Alessandro Rubini [Sat, 6 Feb 2010 19:54:05 +0000 (20:54 +0100)]
edb93xx: enable the uart in devicecfg register
printf goes to uart1, but it will block forever waiting for
busy to go off unless the uart is enabled first.
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Alessandro Rubini [Sat, 6 Feb 2010 19:53:54 +0000 (20:53 +0100)]
edb93xx: change calculation un early_udelay.h
Previous code compiled with gcc-4.2.2 makes a call to
__aeabi_uidiv to divide by 20. As a side effect it was
not inline any more, and so sdram_cfg used the stack
as well, but this is early code that has no stack yet.
The patch explicitly removes the division, so no stack is used.
The calculation of the counter calls a division by 20
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Alessandro Rubini [Sat, 6 Feb 2010 19:53:43 +0000 (20:53 +0100)]
EP93xx: fix syscon_regs definition
The structure was missing a reserved entry (not listed in the manual,
actually), so the last registers had a wrong offset. This prevented
all swlocked registers to be modified as swlock is last in the structure.
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Minkyu Kang [Sat, 6 Feb 2010 08:20:09 +0000 (17:20 +0900)]
Merge branch 'master' of git://git.denx.de/u-boot-arm
Conflicts:
cpu/arm_cortexa8/s5pc1xx/cache.c
include/configs/spear6xx.h
lib_ppc/reloc.S
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Matthias Kaehlcke [Mon, 1 Feb 2010 20:29:44 +0000 (21:29 +0100)]
Add EP93xx ethernet driver
Added ethernet driver for EP93xx SoCs
Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
Acked-by: Ben Warren <biggerbadderben@gmail.com>
Matthias Kaehlcke [Mon, 1 Feb 2010 20:29:39 +0000 (21:29 +0100)]
ARM: Add support for EP93xx SoCs
Add support for the Cirrus EP93xx platform
Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
Acked-by: Tom <Tom.Rix@windriver.com>
Matthias Kaehlcke [Mon, 1 Feb 2010 20:29:48 +0000 (21:29 +0100)]
Add support for EDB93xx boards
Added support for the following EDB93xx boards:
EDB9301
EDB9302
EDB9302A
EDB9307
EDB9307A
EDB93012
EDB9315
EDB9315A
Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
Ladislav Michl [Wed, 27 Jan 2010 16:12:28 +0000 (11:12 -0500)]
NetStar: Remove debug junk leaked into eeprom utility
This patch removes debug junk leaked into eeprom utility.
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Ladislav Michl [Wed, 27 Jan 2010 16:12:23 +0000 (11:12 -0500)]
NetStar: make crcit utility more readable
This patch makes the crcit utility more readable
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Ladislav Michl [Wed, 27 Jan 2010 16:12:08 +0000 (11:12 -0500)]
NetStar: Disable CONFIG_CMD_JFFS2
This patch removes "CONFIG_CMD_JFFS" from the board config
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Tom Rix [Wed, 27 Jan 2010 16:11:55 +0000 (11:11 -0500)]
OMAP3 Move declaration of gpmc_cfg.
Every omap3 board config file declared the global variable gpmc_cfg.
This changes moves the declaration to a better location in the
arch dependent header file cpu.h.
Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Scott Ellis [Wed, 27 Jan 2010 16:11:46 +0000 (11:11 -0500)]
Overo GPMC registers
Use appropriate GPMC timings for the LAN9221 controller on the
Gumstix Overo expansion boards not the values in arch-omap3/mem.h
which are for a different ethernet controller.
Signed-off-by: Scott Ellis <scott@jumpnowtek.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Nick Thompson [Wed, 27 Jan 2010 16:11:28 +0000 (11:11 -0500)]
da830evm: Use table driven pin mux configuration
Tidyup the pin muxer configuration using the Davinci table driven
pinmux configuration function and data tables.
Signed-off-by: Nick Thompson <nick.thompson@ge.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Sekhar Nori [Wed, 27 Jan 2010 16:10:40 +0000 (11:10 -0500)]
TI DaVinci: Driver for the davinci SPI controller
This adds a driver for the SPI controller found on davinci
based SoCs from Texas Instruments.
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Daniel Gorsulowski [Mon, 25 Jan 2010 09:50:41 +0000 (10:50 +0100)]
at91: Add esd gmbh OTC570 board support
This patch adds support for esd gmbh OTC570 board.
The OTC570 is based on an Atmel AT91SAM9263 SoC.
Signed-off-by: Daniel Gorsulowski <Daniel.Gorsulowski@esd.eu>
Wolfgang Denk [Wed, 27 Jan 2010 19:19:08 +0000 (20:19 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx
Kumar Gala [Wed, 27 Jan 2010 16:16:56 +0000 (10:16 -0600)]
Fix compiler warning in imximage.c due to getline prototype
imximage.c: In function 'imximage_parse_cfg_file':
imximage.c:142: warning: implicit declaration of function 'getline'
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Tue, 12 Jan 2010 18:56:05 +0000 (12:56 -0600)]
85xx: Add support for 'cpu disable' command
Support disabling of a core via user command 'cpu disable'.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Tue, 12 Jan 2010 17:51:52 +0000 (11:51 -0600)]
86xx: Add support for 'cpu disable' command
Support disabling of a core via user command 'cpu disable'.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Tue, 12 Jan 2010 17:42:43 +0000 (11:42 -0600)]
Add support to disable cpu's in multicore processors
Add a disable sub-command to the cpu command that allows for disabling
cores in multicore processors. This can be useful for systems that are
using multicore chips but aren't utilizing all the cores as a way to
reduce power and possibly improve performance.
Also updated an added missing copyright.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Wolfgang Denk [Tue, 26 Jan 2010 21:32:38 +0000 (22:32 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc83xx
Wolfgang Denk [Tue, 26 Jan 2010 21:29:51 +0000 (22:29 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx
Heiko Schocher [Wed, 20 Jan 2010 08:05:32 +0000 (09:05 +0100)]
83xx, kmeter1: fix compile error
- delete double MTDIDS_DEFAULT and MTDPARTS_DEFAULT
defines in board config file.
- add mising CONFIG_KM_UBI_PARTITION_NAME define
Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Wolfgang Wegner [Thu, 10 Dec 2009 09:11:21 +0000 (10:11 +0100)]
add ability to handle compressed images to imxtract
imxtract currently can not handle compressed images. This patch adds
handling for bzip2 and zip compression. In both cases, a destination
address has to be specified for extraction.
Signed-off-by: Wolfgang Wegner <w.wegner@astro-kom.de>
Joakim Tjernlund [Tue, 19 Jan 2010 13:41:57 +0000 (14:41 +0100)]
ppc: remove -ffixed-r14 gcc option.
This is no loger needed, free up r14 for general usage.
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Joakim Tjernlund [Tue, 19 Jan 2010 13:41:58 +0000 (14:41 +0100)]
ppc: Update README about the new GOT ptr.
r14 is no longer used as non volatile GOT ptr. Instead
the volatile r12 is used so be sure to do GET_GOT in
asm code when you need to access global data.
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Joakim Tjernlund [Tue, 19 Jan 2010 13:41:56 +0000 (14:41 +0100)]
ppc: Use r12 instead of r14 as GOT pointer.
r14 is not supposed to be clobbered by functions. Switch
to r12 and call GET_GOT when needed. This will allow u-boot
to loose the -ffixed-r14 gcc option.
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Joakim Tjernlund [Tue, 19 Jan 2010 13:41:55 +0000 (14:41 +0100)]
ppc: Loose GOT access in IRQ
Using the GOT in IRQ handlers requires r14 to be -ffixed-r14.
Avoid this by relocatate transfer_to_handler too.
This will allow to free up r14 later on.
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Vivek Mahajan [Thu, 7 Jan 2010 08:57:14 +0000 (14:27 +0530)]
85xx/p1_p2_rdb: enable hwconfig
Signed-off-by: Vivek Mahajan <vivek.mahajan@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Liu Yu [Fri, 15 Jan 2010 06:58:40 +0000 (14:58 +0800)]
qe: fixup the snum for MPC8569 Rev2.0
Since 1.0 and 2.0 use different snum table,
we fixup the snum value according to SPRN_SVR.
Signed-off-by: Liu Yu <yu.liu@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Dave Liu [Tue, 17 Nov 2009 12:49:05 +0000 (20:49 +0800)]
Fix the local bus divider mapping
The real clock divider is 4 times of the bits LCRR[CLKDIV],
according the latest RevF RM.
Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Liu Yu [Fri, 27 Nov 2009 07:31:52 +0000 (15:31 +0800)]
ppc/85xx: Add ATM config for MPC8569MDS
Signed-off-by: Liu Yu <yu.liu@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Liu Yu [Fri, 27 Nov 2009 07:31:51 +0000 (15:31 +0800)]
ppc/85xx: Add PIB/ATM support for MPC8569mds
Signed-off-by: Liu Yu <yu.liu@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Li Yang [Thu, 7 Jan 2010 08:00:13 +0000 (16:00 +0800)]
fsl_esdhc: fix wrong clock mask
Fix typo in SYSCTL_CLOCK_MASK, which caused residual in high bits of SDCLKFS.
Signed-off-by: Jin Qing <B24347@freescale.com>
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Mon, 25 Jan 2010 17:01:51 +0000 (11:01 -0600)]
Revert "ppc/p4080: Fix reporting of PME & FM clock frequencies"
This reverts commit
bc20f9a9527afe8ae406a74f74765d4323f04922.
The original code was correct. I clearly need glasses or a brown
paper bag.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
James Yang [Tue, 12 Jan 2010 21:50:18 +0000 (15:50 -0600)]
ppc/p4080: Fix mask width of RCW fields MEM_PLL_RAT, SYS_PLL_RAT
The masks for MEM_PLL_RAT and SYS_PLL_RAT should have been 5-bits
instead of 4.
Signed-off-by: James Yang <James.Yang@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Mike Frysinger [Fri, 8 Jan 2010 13:03:06 +0000 (08:03 -0500)]
jffs2: fix hangs/crashs when not using CONFIG_JFFS2_PART_SIZE
Commit
b5b004ad8a0ac6f98bd5708ec8b22fbddd1c1042 caused the sector_size to
be calculated incorrectly when the part size was not hardcoded. This is
because the new code relied on part->size but tried to do the calculation
before it was initialized properly, and it did not take into consideration
the magic SIZE_REMAINING define.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Fri, 8 Jan 2010 07:48:03 +0000 (02:48 -0500)]
getline: split out for darwin systems
At least on OS X 10.5 and older, getline does not exist. So split out the
function from the mingw code so that we can pull it in for Darwin systems.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Fri, 22 Jan 2010 00:59:04 +0000 (19:59 -0500)]
tools: give explicit libfdt paths
The current libfdt object rules hard depend implicitly on the .depend file
being correct. If it isn't, then it is unable to properly compile the
objects. Give it a full path like all the other implicit rules here so it
will always work in face of .depend issues.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Fri, 22 Jan 2010 00:30:36 +0000 (19:30 -0500)]
gzip/zlib: make features optional
If you really want to slim down U-Boot and you would rather use a higher
compression scheme (like LZMA), it'd be nice to disable gzip/zlib since
these code bases take up a significant amount of space.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Stefano Babic [Wed, 20 Jan 2010 17:19:10 +0000 (18:19 +0100)]
mkimage: Add Freescale imx Boot Image support (imximage)
This patch adds support for "imximage" (MX Boot Image)
to the mkimage utility. The imximage is used on the Freescales's
MX.25, MX.35 and MX.51 processors.
Further details under doc/README.imximage.
This patch was tested on a Freescale mx51evk board.
Signed-off-by: Stefano Babic <sbabic@denx.de>
Detlev Zundel [Wed, 20 Jan 2010 13:28:48 +0000 (14:28 +0100)]
mpc5xxx: Support CPU internal watchdog.
Signed-off-by: Detlev Zundel <dzu@denx.de>
Minkyu Kang [Mon, 25 Jan 2010 05:42:11 +0000 (14:42 +0900)]
Merge branch 'master' of git://git.denx.de/u-boot-arm
Detlev Zundel [Fri, 22 Jan 2010 13:47:59 +0000 (14:47 +0100)]
mpc512x: Add display of reset status register
Content of the RSR is put into gd early so we can output it together
with the CPU info. The clearing of gd in board_init_f is redundant for
this architecture as it is done in cpu_init_f so we remove it.
Signed-off-by: Detlev Zundel <dzu@denx.de>
Wolfgang Denk [Sat, 23 Jan 2010 16:42:03 +0000 (17:42 +0100)]
Merge branch 'master-sync' of git://git.denx.de/u-boot-arm
Daniel Gorsulowski [Wed, 20 Jan 2010 07:00:11 +0000 (08:00 +0100)]
at91: Enable slow master clock on meesc board
Normally the processor clock has a divisor of 2.
In some cases this this needs to be set to 4.
Check the user has set environment mdiv to 4 to change the divisor.
Signed-off-by: Daniel Gorsulowski <Daniel.Gorsulowski@esd.eu>
Vipin KUMAR [Fri, 15 Jan 2010 13:45:53 +0000 (19:15 +0530)]
SPEAr : Support added for SPEAr320 board
SPEAr320 SoC support contains basic spear320 support along with the
usage of following drivers
- serial driver(UART)
- i2c driver
- smi driver
- nand driver(FSMC)
- usbd driver
- emi driver(cfi support)
Signed-off-by: Vipin <vipin.kumar@st.com>
Vipin KUMAR [Fri, 15 Jan 2010 13:45:52 +0000 (19:15 +0530)]
SPEAr : Support added for SPEAr310 board
SPEAr310 SoC support contains basic spear310 support along with the
usage of following drivers
- serial driver(UART)
- i2c driver
- smi driver
- nand driver(FSMC)
- usbd driver
- emi driver(cfi support)
Signed-off-by: Vipin <vipin.kumar@st.com>
Vipin KUMAR [Fri, 15 Jan 2010 13:45:51 +0000 (19:15 +0530)]
SPEAr : emi controller initialization for CFI driver support
SPEAr310 and SPEAr320 SoCs contain an EMI controller to interface
Paraller NOR flashes. This patch adds the support for this IP
The standard CFI driver is used to interface with NOR flashes
Signed-off-by: Vipin <vipin.kumar@st.com>
Vipin KUMAR [Fri, 15 Jan 2010 13:45:50 +0000 (19:15 +0530)]
SPEAr : Support added for SPEAr300 board
SPEAr300 SoC support contains basic spear300 support along with the
usage of following drivers
- serial driver(UART)
- i2c driver
- smi driver
- nand driver(FSMC)
- usbd driver
Signed-off-by: Vipin <vipin.kumar@st.com>
Vipin KUMAR [Fri, 15 Jan 2010 13:45:49 +0000 (19:15 +0530)]
SPEAr : Support for HW mac id read/write from i2c mem
This patch adds the support to read and write mac id from i2c
memory.
For reading:
if (env contains ethaddr)
pick env ethaddr
else
pick ethaddr from i2c memory
For writing:
chip_config ethaddr XX:XX:XX:XX:XX:XX writes the mac id
in i2c memory
Signed-off-by: Vipin <vipin.kumar@st.com>
Vipin KUMAR [Fri, 15 Jan 2010 13:45:48 +0000 (19:15 +0530)]
SPEAr : Support added for SPEAr600 board
SPEAr600 SoC support contains basic spear600 support along with the
usage of following drivers
- serial driver(UART)
- i2c driver
- smi driver
- nand driver(FSMC)
- usbd driver
Signed-off-by: Vipin <vipin.kumar@st.com>
Vipin KUMAR [Fri, 15 Jan 2010 13:45:47 +0000 (19:15 +0530)]
SPEAr : usbd driver support for SPEAr SoCs
SPEAr SoCs contain a synopsys usb device controller.
USB Device IP can work in 2 modes
- DMA mode
- Slave mode
The driver adds support only for slave mode operation of usb
device IP. This driver is used along with standard USBTTY
driver to obtain a tty interface over USB on the host
Signed-off-by: Vipin <vipin.kumar@st.com>
Vipin KUMAR [Fri, 15 Jan 2010 13:45:46 +0000 (19:15 +0530)]
SPEAr : nand driver support for SPEAr SoCs
SPEAr SoCs contain an FSMC controller which can be used to interface
with a range of memories eg. NAND, SRAM, NOR.
Currently, this driver supports interfacing FSMC with NAND memories
Signed-off-by: Vipin <vipin.kumar@st.com>
Vipin KUMAR [Fri, 15 Jan 2010 13:45:45 +0000 (19:15 +0530)]
SPEAr : smi driver support for SPEAr SoCs
SPEAr SoCs contain a serial memory interface controller. This
controller is used to interface with spi based memories.
This patch adds the driver for this IP.
Signed-off-by: Vipin <vipin.kumar@st.com>
Vipin KUMAR [Fri, 15 Jan 2010 13:45:44 +0000 (19:15 +0530)]
SPEAr : i2c driver support added for SPEAr SoCs
SPEAr SoCs contain a synopsys i2c controller.
This patch adds the driver for this IP.
Signed-off-by: Vipin <vipin.kumar@st.com>
Vipin KUMAR [Fri, 15 Jan 2010 13:45:43 +0000 (19:15 +0530)]
SPEAr : Adding basic SPEAr architecture support.
SPEAr Architecture support added. It contains the support for
following SPEAr blocks
- Timer
- System controller
- Misc registers
Signed-off-by: Vipin <vipin.kumar@st.com>
Vipin KUMAR [Fri, 15 Jan 2010 13:45:42 +0000 (19:15 +0530)]
SPEAr : Adding README.spear in doc
README.spear contains information about SPEAr architecture and
build options etc
Signed-off-by: Vipin <vipin.kumar@st.com>
Tom Rix [Thu, 21 Jan 2010 00:00:28 +0000 (18:00 -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
2045124ffd1a5e46d157349016a2c50f19c8c91d
Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Prafulla Wadaskar [Mon, 16 Nov 2009 12:59:25 +0000 (18:29 +0530)]
Kirkwood: Makefile cleanup- fixed ordering (cosmetic change)
As per coding guidlines, it is good to maintain proper ordering
in the makefiles.
This was missed during initial coding, corrected here.
This was discovered during orion5x code review
Thanks to Albert Aribaud for this.
Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
Prafulla Wadaskar [Wed, 23 Dec 2009 21:25:23 +0000 (02:55 +0530)]
Kirkwood: Upgated licencing for files imported from linux source to GPLv2 or later
These are few files directly imported from Linux kernel source.
Those are not modifyed at all ar per strategy.
These files contains source with GPLv2 only
whereas u-boot expects GPLv2 or latter
These files are updated for the same from prior permission from original writes
Acked-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
Minkyu Kang [Fri, 18 Dec 2009 06:03:51 +0000 (15:03 +0900)]
s5pc1xx: update cache routines
Because of v7_flush_dcache_all is moved to omap3/cache.S
and s5pc110 needs cache routines, update s5pc1xx cache routines.
l2_cache_enable and l2_caceh_disable are moved from cache.c to cache.S
and invalidate_dcache is modified for SoC specific.
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Seunghyeon Rhee [Thu, 3 Dec 2009 00:41:49 +0000 (09:41 +0900)]
samsung: fix DMC1_MEM_CFG for s3c64xx
The MSB of DMC1_MEM_CFG can be set to '1' for separate CKE control
for S3C6400. In the configuration of SMDK6400, however, two 16-bit
mDDR (SAMSUNG K4X51163) chips are used in parallel to form 32-bit
memory bus and there is no need to control CKE for each chip
separately. AFAIK, CKE1 is not at all connected. Only CKE0 is
used. Futhermore, it should be '0' always for S3C6410. When tested
with a board which has a S3C6410 and the same memory configuration,
a side effect is observed that u-boot command "reset" doesn't work
leading to system hang. Leaving the bit clear is safe in most cases.
Signed-off-by: Seunghyeon Rhee <seunghyeon@lpmtec.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Tom Rix [Sat, 23 Jan 2010 13:22:23 +0000 (07:22 -0600)]
Merge branch 'r-ml-master' into t-master
Stefan Roese [Thu, 21 Jan 2010 10:37:31 +0000 (11:37 +0100)]
ppc4xx: Kilauea: Add CPLD version detection and EBC reconfiguration
A newer CPLD version on the 405EX evaluation board requires a different
EBC controller setup for the CPLD register access. This patch adds a CPLD
version detection for Kilauea and code to reconfigure the EBC controller
(chip select 2) for the old CPLD if no new version is found.
Additionally the CPLD version is printed upon bootup:
Board: Kilauea - AMCC PPC405EX Evaluation Board (CPLD rev. 0)
Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Wolfgang Denk <wd@denx.de>
Cc: Zhang Bao Quan <bqzhang@udtech.com.cn>
Felix Radensky [Fri, 22 Jan 2010 23:35:24 +0000 (01:35 +0200)]
ppc4xx: Fix sending type 1 PCI transactions
The list of 4xx SoCs that should send type 1 PCI transactions
is not defined correctly. As a result PCI-PCI bridges and devices
behind them are not identified. The following 4xx variants should
send type 1 transactions: 440GX, 440GP, 440SP, 440SPE, 460EX and 460GT.
Signed-off-by: Felix Radensky <felix@embedded-sol.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Minkyu Kang [Sat, 23 Jan 2010 02:46:34 +0000 (11:46 +0900)]
Merge branch 'master' of git://git.denx.de/u-boot-arm
Daniel Gorsulowski [Wed, 20 Jan 2010 07:00:11 +0000 (08:00 +0100)]
at91: Enable slow master clock on meesc board
Normally the processor clock has a divisor of 2.
In some cases this this needs to be set to 4.
Check the user has set environment mdiv to 4 to change the divisor.
Signed-off-by: Daniel Gorsulowski <Daniel.Gorsulowski@esd.eu>
Detlev Zundel [Thu, 21 Jan 2010 16:55:58 +0000 (17:55 +0100)]
mpc512x: Use in/out accessors for all registers
This is not only a cosmetic change as it fixes the real bug of board
reset not working with the ELDK 4.2 toolchain.
Signed-off-by: Detlev Zundel <dzu@denx.de>
Mike Frysinger [Thu, 21 Jan 2010 09:03:22 +0000 (04:03 -0500)]
tools: allow people to compile w/out configuring
It's useful to be able to build up the host tools without having to select
a board first. Pretty much all tools in there are config-independent
anyways.
Also add a shortcut "tools-all" to quickly build all host tools that are
actually config-independent to allow for simple test builds.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 21 Jan 2010 09:03:21 +0000 (04:03 -0500)]
ubsha1: drop unnecessary includes/prototypes
This code doesn't use any config.h defines, and the sha1.h header already
declares a sha1_csum prototype.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 21 Jan 2010 09:03:20 +0000 (04:03 -0500)]
image.h: avoid command.h for host tools
The u-boot command structures don't get used with host systems, so don't
bother including it when building host code. This avoids an implicit need
on config.h in the process.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Matthias Weisser [Mon, 18 Jan 2010 09:58:13 +0000 (10:58 +0100)]
Removing Atmel from ARM926EJ-S Systems
Signed-off-by: Matthias Weisser <weisserm@arcor.de>
Wolfgang Denk [Thu, 21 Jan 2010 21:27:59 +0000 (22:27 +0100)]
Merge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Thu, 21 Jan 2010 21:27:54 +0000 (22:27 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Mike Frysinger [Tue, 3 Nov 2009 16:35:59 +0000 (11:35 -0500)]
lmb: only force on arches that use it
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Mon, 18 Jan 2010 02:08:00 +0000 (21:08 -0500)]
sha1: add dedicated config option
The sha1 code is currently compiled for everyone, but in reality, it's
only used by the FIT code. So make it optional just like MD5.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Wolfgang Denk [Thu, 21 Jan 2010 21:03:28 +0000 (22:03 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-mips
Wolfgang Denk [Thu, 21 Jan 2010 21:02:21 +0000 (22:02 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-nand-flash
Wolfgang Denk [Thu, 21 Jan 2010 20:54:37 +0000 (21:54 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-blackfin
Vipin KUMAR [Fri, 15 Jan 2010 13:45:53 +0000 (19:15 +0530)]
SPEAr : Support added for SPEAr320 board
SPEAr320 SoC support contains basic spear320 support along with the
usage of following drivers
- serial driver(UART)
- i2c driver
- smi driver
- nand driver(FSMC)
- usbd driver
- emi driver(cfi support)
Signed-off-by: Vipin <vipin.kumar@st.com>
Vipin KUMAR [Fri, 15 Jan 2010 13:45:52 +0000 (19:15 +0530)]
SPEAr : Support added for SPEAr310 board
SPEAr310 SoC support contains basic spear310 support along with the
usage of following drivers
- serial driver(UART)
- i2c driver
- smi driver
- nand driver(FSMC)
- usbd driver
- emi driver(cfi support)
Signed-off-by: Vipin <vipin.kumar@st.com>
Vipin KUMAR [Fri, 15 Jan 2010 13:45:51 +0000 (19:15 +0530)]
SPEAr : emi controller initialization for CFI driver support
SPEAr310 and SPEAr320 SoCs contain an EMI controller to interface
Paraller NOR flashes. This patch adds the support for this IP
The standard CFI driver is used to interface with NOR flashes
Signed-off-by: Vipin <vipin.kumar@st.com>
Vipin KUMAR [Fri, 15 Jan 2010 13:45:50 +0000 (19:15 +0530)]
SPEAr : Support added for SPEAr300 board
SPEAr300 SoC support contains basic spear300 support along with the
usage of following drivers
- serial driver(UART)
- i2c driver
- smi driver
- nand driver(FSMC)
- usbd driver
Signed-off-by: Vipin <vipin.kumar@st.com>
Vipin KUMAR [Fri, 15 Jan 2010 13:45:49 +0000 (19:15 +0530)]
SPEAr : Support for HW mac id read/write from i2c mem
This patch adds the support to read and write mac id from i2c
memory.
For reading:
if (env contains ethaddr)
pick env ethaddr
else
pick ethaddr from i2c memory
For writing:
chip_config ethaddr XX:XX:XX:XX:XX:XX writes the mac id
in i2c memory
Signed-off-by: Vipin <vipin.kumar@st.com>
Vipin KUMAR [Fri, 15 Jan 2010 13:45:48 +0000 (19:15 +0530)]
SPEAr : Support added for SPEAr600 board
SPEAr600 SoC support contains basic spear600 support along with the
usage of following drivers
- serial driver(UART)
- i2c driver
- smi driver
- nand driver(FSMC)
- usbd driver
Signed-off-by: Vipin <vipin.kumar@st.com>
Vipin KUMAR [Fri, 15 Jan 2010 13:45:47 +0000 (19:15 +0530)]
SPEAr : usbd driver support for SPEAr SoCs
SPEAr SoCs contain a synopsys usb device controller.
USB Device IP can work in 2 modes
- DMA mode
- Slave mode
The driver adds support only for slave mode operation of usb
device IP. This driver is used along with standard USBTTY
driver to obtain a tty interface over USB on the host
Signed-off-by: Vipin <vipin.kumar@st.com>
Vipin KUMAR [Fri, 15 Jan 2010 13:45:46 +0000 (19:15 +0530)]
SPEAr : nand driver support for SPEAr SoCs
SPEAr SoCs contain an FSMC controller which can be used to interface
with a range of memories eg. NAND, SRAM, NOR.
Currently, this driver supports interfacing FSMC with NAND memories
Signed-off-by: Vipin <vipin.kumar@st.com>
Vipin KUMAR [Fri, 15 Jan 2010 13:45:45 +0000 (19:15 +0530)]
SPEAr : smi driver support for SPEAr SoCs
SPEAr SoCs contain a serial memory interface controller. This
controller is used to interface with spi based memories.
This patch adds the driver for this IP.
Signed-off-by: Vipin <vipin.kumar@st.com>
Vipin KUMAR [Fri, 15 Jan 2010 13:45:44 +0000 (19:15 +0530)]
SPEAr : i2c driver support added for SPEAr SoCs
SPEAr SoCs contain a synopsys i2c controller.
This patch adds the driver for this IP.
Signed-off-by: Vipin <vipin.kumar@st.com>
Vipin KUMAR [Fri, 15 Jan 2010 13:45:43 +0000 (19:15 +0530)]
SPEAr : Adding basic SPEAr architecture support.
SPEAr Architecture support added. It contains the support for
following SPEAr blocks
- Timer
- System controller
- Misc registers
Signed-off-by: Vipin <vipin.kumar@st.com>
Vipin KUMAR [Fri, 15 Jan 2010 13:45:42 +0000 (19:15 +0530)]
SPEAr : Adding README.spear in doc
README.spear contains information about SPEAr architecture and
build options etc
Signed-off-by: Vipin <vipin.kumar@st.com>
Tom Rix [Thu, 21 Jan 2010 00:00:28 +0000 (18:00 -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
2045124ffd1a5e46d157349016a2c50f19c8c91d
Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Felix Radensky [Tue, 19 Jan 2010 19:19:06 +0000 (21:19 +0200)]
ppc4xx: Allow setting a single SPD EEPROM address for DDR2 DIMMs
On platforms where SPD EEPROM and another EEPROM have adjacent
I2C addresses SPD_EEPROM_ADDRESS should be defined as a single
element array, otherwise DDR2 setup code would fail with the
following error:
ERROR: Unknown DIMM detected in slot 1
However, fixing SPD_EEPROM_ADDRESS would result in another
error:
ERROR: DIMM's DDR1 and DDR2 type can not be mixed.
This happens because initdram() routine does not explicitly
initialize dimm_populated array. This patch fixes the problem.
Signed-off-by: Felix Radensky <felix@embedded-sol.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Felix Radensky [Tue, 19 Jan 2010 15:37:13 +0000 (17:37 +0200)]
ppc4xx: Fix reporting of bootstrap options G and F on 460EX/GT
Bootstrap options G and F are reported incorrectly (G instead
of F and vice versa). This patch fixes this.
Signed-off-by: Felix Radensky <felix@embedded-sol.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Prafulla Wadaskar [Mon, 16 Nov 2009 12:59:25 +0000 (18:29 +0530)]
Kirkwood: Makefile cleanup- fixed ordering (cosmetic change)
As per coding guidlines, it is good to maintain proper ordering
in the makefiles.
This was missed during initial coding, corrected here.
This was discovered during orion5x code review
Thanks to Albert Aribaud for this.
Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
Prafulla Wadaskar [Wed, 23 Dec 2009 21:25:23 +0000 (02:55 +0530)]
Kirkwood: Upgated licencing for files imported from linux source to GPLv2 or later
These are few files directly imported from Linux kernel source.
Those are not modifyed at all ar per strategy.
These files contains source with GPLv2 only
whereas u-boot expects GPLv2 or latter
These files are updated for the same from prior permission from original writes
Acked-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
Shinya Kuribayashi [Wed, 20 Jan 2010 12:07:00 +0000 (21:07 +0900)]
MIPS: qemu_mips: Import asm/unaligned.h from the Linux kernel
with a few adjustments for U-Boot. This fixes the following build error:
make -C lib_generic/
zlib.c:31:27: error: asm/unaligned.h: No such file or directory
zlib.c: In function 'inflate_fast':
zlib.c:641: warning: implicit declaration of function 'get_unaligned'
make[1]: *** [zlib.o] Error 1
make[1]: Leaving directory `/home/skuribay/git/u-boot.git/lib_generic'
make: *** [lib_generic/libgeneric.a] Error 2
Reported-by: Himanshu Chauhan <himanshu@symmetricore.com>
Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com>
Magnus Lilja [Sun, 17 Jan 2010 16:46:11 +0000 (17:46 +0100)]
MX31: Activate NAND environment on i.MX31 PDK board.
Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>