summaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
* Replace direct header access with the API routinesJean-Christophe PLAGNIOL-VILLARD2010-10-084-12/+12
| | | | | | Copied from U-Boot Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Revert "Replace direct header access with the API routines"Sascha Hauer2010-10-074-12/+12
| | | | | | | | | | This reverts commit 0ceafe14be072696eff3e549d8c7b7de8a3e416d. Conflicts: include/image.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx: fix Internal boot source default choiceJean-Christophe PLAGNIOL-VILLARD2010-10-041-1/+1
| | | | | | | | | | via default ARCH_IMX_INTERNAL_BOOT_NAND and not default y on ARCH_IMX_INTERNAL_BOOT_NAND Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Update flash headers for boards supporting internal boot.Marc Reilly2010-10-014-36/+38
| | | | | Signed-off-by: Marc Reilly <marc@cpdesign.com.au> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx: Internal boot sources, handle all header offsetsMarc Reilly2010-10-013-15/+53
| | | | | | | | | Makes the internal boot source configurable. Also changes section names slightly so that .flash_header_0x1000 isn't matched to .flash_header_0x100* etc. Signed-off-by: Marc Reilly <marc@cpdesign.com.au> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx35: add base addresses for I2C and SDHCMarc Reilly2010-10-011-0/+5
| | | | | Signed-off-by: Marc Reilly <marc@cpdesign.com.au> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* import __stringify from linuxJean-Christophe PLAGNIOL-VILLARD2010-09-291-7/+5
| | | | | | | update the current code Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Fix watchdog's register size for the i.MX27 CPUJuergen Beisert2010-09-271-3/+3
| | | | | | | | | | | | | | | commit 5bd9c57d575126448c7d325547538a55e5cd81d6 Author: Juergen Beisert <jbe@pengutronix.de> Date: Fri Sep 24 14:51:42 2010 +0200 Fix watchdog's register size for the i.MX27 CPU The watchdog registers on the i.MX27 CPU are 16 bit registers. This patch just fixes the access macro. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm038: fix initialization makes pointer from integer without a castJean-Christophe PLAGNIOL-VILLARD2010-09-271-1/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx/fb: struct imx_ipu_fb_platform_data remove const for modeJean-Christophe PLAGNIOL-VILLARD2010-09-271-1/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* The i.MX27 has no second level cache, remove include file (Subject fixed)Juergen Beisert2010-09-271-1/+0
| | | | | | | | | | | | | | commit 60b66d0c59013da3294d0b5fb09b937a8b73cf14 Author: Juergen Beisert <jbe@pengutronix.de> Date: Fri Sep 24 15:00:04 2010 +0200 The i.MX27 has no second level cache, remove include file Just a little bit cleanup. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mk68: rename macro __M68K__ to __m68k__ as it's prodive by gccJean-Christophe PLAGNIOL-VILLARD2010-09-241-2/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ipe337: fix default envJean-Christophe PLAGNIOL-VILLARD2010-09-241-1/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* blackfin: remove duplicated PAGE_SIZE defineJean-Christophe PLAGNIOL-VILLARD2010-09-241-1/+0
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Replace direct header access with the API routinesJean-Christophe PLAGNIOL-VILLARD2010-09-244-12/+12
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* nhk8815: rename nand parts uboot as bareboxJean-Christophe PLAGNIOL-VILLARD2010-09-231-1/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-mainline' of git://git.pengutronix.de/git/rsc/barebox into ↵Sascha Hauer2010-09-221-14/+32
|\ | | | | | | next
| * sandbox: add longopts and fix segfaultRobert Schwebel2010-09-211-14/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Until now, the main function of the sandbox port wants to use the libc getopt(), but as we have a getopt() implementation in barebox as well, it is silently used instead. This works in the usual case, but if an error occurs (i.e. by using an unknown argument) in getopt(), the implementation tries to write to the console, which is not initialized and thus breaks with a null pointer exception. This patch changes the main function to use getopt_long() instead of getopt(). This makes us use the implementation in glibc and while being there, we get long options, which makes us look more professional... Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* | nhk8815: update defconfigJean-Christophe PLAGNIOL-VILLARD2010-09-221-1/+16
| | | | | | | | | | | | | | | | fix env patch enable cramfs, ubi, login/password and menu Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | arm: allow to overwrite the system_rev via bootmJean-Christophe PLAGNIOL-VILLARD2010-09-221-4/+14
| | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Tested-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | scb9328: Fix compilationSascha Hauer2010-09-201-1/+1
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | guf-neso: Update defconfig (fix env path)Sascha Hauer2010-09-201-1/+1
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | guf-neso: Update defconfig (add nand and ubi)Sascha Hauer2010-09-201-0/+5
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | guf-neso: Fix compiler warningsSascha Hauer2010-09-201-1/+4
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | mach-s3c24xx: Fix compilation problem when make a9m2410 or a9m2440 defconfigMarek Belisko2010-09-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Following steps lead to compilation error (barebox v2010.09.0): 1. make a9m2440_defconfig (or a9m2410) ARCH=arm 2. make CROSS_COMPILE=arm-linux- ARCH=arm This patch should fix problems. Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | pcm038: Update defconfig (add nand and ubi)Sascha Hauer2010-09-201-0/+5
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | pcm038: Fix compiler warningsSascha Hauer2010-09-201-1/+4
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | pcm043: Update defconfig (add nand and ubi)Sascha Hauer2010-09-201-0/+5
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | pcm043: Fix compiler warningsSascha Hauer2010-09-201-1/+4
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Support for the at91sam9g20 : Atmel 400Mhz ARM 926ej-s SOC.Jean-Christophe PLAGNIOL-VILLARD2010-09-206-2/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | AT91sam9g20 is an evolution of the at91sam9260 with a faster clock speed. We created a new board for this device but based the chip support directly on 9260 files with little updates. Here is the chip page on Atmel wabsite: http://atmel.com/dyn/products/product_card.asp?part_id=4337 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: Patrice Vilchez <patrice.vilchez@atmel.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | at91sam9263: move MACH_HAS_LOWLEVEL_INIT to boardJean-Christophe PLAGNIOL-VILLARD2010-09-201-1/+2
| | | | | | | | | | | | | | | | | | as not all board support it Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: Patrice Vilchez <patrice.vilchez@atmel.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | at91: add HAVE_NAND_ATMEL_BUSWIDTH_16 to Enable 16-bit data bus interfaceJean-Christophe PLAGNIOL-VILLARD2010-09-201-0/+16
| | | | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: Patrice Vilchez <patrice.vilchez@atmel.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | 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>