summaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
* driver: use id as -1 for auto assigned idJean-Christophe PLAGNIOL-VILLARD2010-09-2035-0/+161
| | | | | | | | before if you specify id = 0 the next available id will be taken otherwise fail if already registered now as in linux we use -1 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: move clkdev to drivers/clkJean-Christophe PLAGNIOL-VILLARD2010-09-208-190/+4
| | | | | | | | | | | | | as refer in this patch "arm & sh: factorised duplicated clkdev.c" factorise some generic infrastructure to assist looking up struct clks for the ARM & SH architecture. as the code is identical at 99% in linux move it also as preparing for the SH adding Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* stm8815: fix the uart device clock matchJean-Christophe PLAGNIOL-VILLARD2010-09-201-2/+4
| | | | | | | that use the device name + id to found it's clock to use the right match as we fix the dev_name macro Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* init: introduce __BARE_INIT for .section ".text_bare_init.text"Jean-Christophe PLAGNIOL-VILLARD2010-09-204-4/+8
| | | | | | | and make init.h availlable for assembly too Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* types.h: move __kernel_dev_t to include/linux/types.hJean-Christophe PLAGNIOL-VILLARD2010-09-176-6/+0
| | | | | | no need to have a arch specific type Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* i2c rename CONFIG_DRIVER_I2C_xx to CONFIG_I2C_xxJean-Christophe PLAGNIOL-VILLARD2010-09-174-10/+10
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* arm: move mach-types.h to include/generated/Jean-Christophe PLAGNIOL-VILLARD2010-09-1728-29/+28
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* configs: use new savedefconfig format as in linuxJean-Christophe PLAGNIOL-VILLARD2010-09-1732-6277/+2
| | | | | | | this will reduce and simplify defconfigs maintainance it will also save some disk space Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Merge branch 'next'Sascha Hauer2010-08-30105-983/+4755
|\
| * at91: remove non-needed include of autoconf.hJean-Christophe PLAGNIOL-VILLARD2010-08-301-1/+0
| | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * move include/unaligned to include/linux/unaligned/Jean-Christophe PLAGNIOL-VILLARD2010-08-301-3/+3
| | | | | | | | | | | | | | as originally in linux Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * net: rework the mii supportJean-Christophe PLAGNIOL-VILLARD2010-08-2725-25/+25
| | | | | | | | | | | | | | this rework is done in order to add a phylib and allow to have phy driver support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * at91: remove non used and obsolete at91rm9200 codeJean-Christophe PLAGNIOL-VILLARD2010-08-235-862/+0
| | | | | | | | | | | | | | this will be re-add as mach-at91 for now on keep the net driver which will be updated to new API Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * macb: introduce HAS_MACB configurationJean-Christophe PLAGNIOL-VILLARD2010-08-231-0/+2
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * at91: rename clocksource.c -> at91sam926x_time.cJean-Christophe PLAGNIOL-VILLARD2010-08-232-3/+3
| | | | | | | | | | | | preparation to move the rm9200 to the same api as other at91 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * dm9000: allow to specify that no srom is presentJean-Christophe PLAGNIOL-VILLARD2010-08-231-0/+1
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * mmccpu: fix typo in AT91_MAIN_CLOCKJean-Christophe PLAGNIOL-VILLARD2010-08-231-1/+1
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * Add missing includeSascha Hauer2010-08-221-0/+2
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * beagle: fix usb dependenciesMichael Grzeschik2010-08-182-2/+4
| | | | | | | | | | Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * beagle: defconfig cleanup for v2010.08.0Michael Grzeschik2010-08-181-13/+13
| | | | | | | | | | Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * armlinux: bugfix add parameter name into inline functionMichael Grzeschik2010-08-181-1/+1
| | | | | | | | | | Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * iim/imx25: fix MAC and UID offsetsBaruch Siach2010-08-171-2/+2
| | | | | | | | | | | | | | IIM_UID and IIM_MAC_ADDR are now fixed addresses. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * imx25: add iim platform codeBaruch Siach2010-08-171-0/+44
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * imx25: add chip specific IIM fusebox definesBaruch Siach2010-08-171-1/+7
| | | | | | | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * imx iim: add mac address supportBaruch Siach2010-08-172-1/+34
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * imx: driver for the IIM fuseboxBaruch Siach2010-08-173-0/+310
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This driver provides an interface for programming and sensing the IIM fusebox which is present on some i.MX chips. Since the IIM io addresses of the controlling registers and each fuse bank are are not contiguous the driver implementation uses two drivers, imx_iim, and imx_iim_bank. The imx_iim is the "parent" driver for a device holding the map_base address of the control registers. The imx_iim_bank driver is for child devices holding the map_base of each fuse bank. The platform code then, instantiate one imx_iim_bank device per fuse bank. Fuses blow is a dangerous operation. Thus, the fuses blow functionality can be disabled independently at configuration time. On run time this functionality must be enabled explicitly by setting the permanent_write_enable parameter. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * imx: move IIM registers to their own headerBaruch Siach2010-08-173-18/+43
| | | | | | | | | | | | | | This allows the use of IIM registers from code which is not mx35 specific. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * beagle: add bootparams and architectureMichael Grzeschik2010-08-061-0/+2
| | | | | | | | | | Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * add beagle board defconfigSascha Hauer2010-08-061-0/+257
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * beagle: add usb supportMichael Grzeschik2010-08-062-0/+46
| | | | | | | | | | Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ehci: add omap supportMichael Grzeschik2010-08-064-0/+925
| | | | | | | | | | | | | | with cm-regbits-34xx.h and codebase from linux kernel Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * beagle: Add missing pinmux for usbSascha Hauer2010-08-061-0/+14
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * arm omap: Add cpu_is_ macrosSascha Hauer2010-08-061-0/+19
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * arm omap: Add gpio supportSascha Hauer2010-08-064-3/+311
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * arm: add nhk8815 board supportJean-Christophe PLAGNIOL-VILLARD2010-08-0613-0/+522
| | | | | | | | | | | | | | | | | | | | | | | | | | with the following support uart 0 & 1 network nand Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Andrea GALLO <andrea.gallo@stericsson.com> Cc: Gael SALLES <gael.salles@stericsson.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * nand: driver for Nomadik 8815 SoCJean-Christophe PLAGNIOL-VILLARD2010-08-061-0/+16
| | | | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Andrea GALLO <andrea.gallo@stericsson.com> Cc: Gael SALLES <gael.salles@stericsson.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * arm: add Nomadik 8815 SoC supportJean-Christophe PLAGNIOL-VILLARD2010-08-0615-0/+487
| | | | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Andrea GALLO <andrea.gallo@stericsson.com> Cc: Gael SALLES <gael.salles@stericsson.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * amba: add pl011Jean-Christophe PLAGNIOL-VILLARD2010-08-061-0/+3
| | | | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Andrea GALLO <andrea.gallo@stericsson.com> Cc: Gael SALLES <gael.salles@stericsson.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * arm: add common clkdevJean-Christophe PLAGNIOL-VILLARD2010-08-066-1/+199
| | | | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Andrea GALLO <andrea.gallo@stericsson.com> Cc: Gael SALLES <gael.salles@stericsson.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * at91: implement clock frameworkJean-Christophe PLAGNIOL-VILLARD2010-08-0620-69/+1435
| | | | | | | | | | | | | | | | | | | | | | this implementation is based on linux one (v2.6.35-rc5-76-gd0c6f62) it will calculate all the clock dynamically instead of statictly this will use also the new clock framework it will also print the clock status after the console init Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * imx25: fix UID endianessBaruch Siach2010-08-041-1/+7
| | | | | | | | | | | | | | | | Apparently, the UID is little-endian. Reverse endianess, and add a note in comment. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mx25 3ds: set CPU UIDBaruch Siach2010-08-041-0/+2
| | | | | | | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * imx25: add support for UID read from eFuseBaruch Siach2010-08-043-0/+16
| | | | | | | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * arm: add support for the serial ATAGBaruch Siach2010-08-042-0/+23
| | | | | | | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | omap3: add arch specific dcache invalidateNishanth Menon2010-08-251-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add OMAP3 architecture specific dcache flush back in. Commit 78104ae181f78d83664fdc7522eb632d9c3b2ec9 isolates the cache handling to appropriate handlers, but certain architectures may need special handling esp during boot time. without this patch, building barebox with omap3530_beagle_per_uart_defconfig and attempting to use peripheral download with pusb/pserial will fail as OMAP ROM code depends on 2nd stage bootloaders to clean up things. Discussion Thread: http://www.spinics.net/lists/u-boot-v2/msg01286.html Cc: Michael <mgr@pengutronix.de> Cc: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | pcm043: remove unused definesSascha Hauer2010-08-161-6/+0
|/ | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* omap clock: bugfix remove silicon offset sil_indexMichael Grzeschik2010-08-031-9/+1
| | | | | | | | In omap3_clock_core.S we have just clock values for the ES2 revision, so we should not set any silicon index. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* beagle: add missing nand headerfileMichael Grzeschik2010-08-031-0/+1
| | | | | Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'next'Sascha Hauer2010-08-03320-107/+18000
|\
| * eukrea_cpuimx25: update default configEric Bénard2010-08-021-3/+8
| | | | | | | | | | | | | | NAND now requires CONFIG_MTD=y to be enabled Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>