summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/at91sam9m10g45ek
Commit message (Collapse)AuthorAgeFilesLines
* sizes.h: move include/sizes.h to include/linux/sizes.hMasahiro Yamada2015-01-081-1/+1
| | | | | | | | | | | | | | This file originates in Linux. Linux has it under include/linux/ directory since commit dccd2304cc90. Let's move it to the same place as well in barebox. This commit was generated by the following commands: find -name '*.[chS]' | xargs sed -i -e 's:<sizes.h>:<linux/sizes.h>:' git mv include/sizes.h include/linux/ Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mtd: atmel_nand: retrieve ecc_mode from pdataRaphaël Poggi2014-09-021-0/+1
| | | | | | | | | By retrieving the ecc_mode from pdata we can use the same code for device tree and non device tree probing. Which was not possible before, because ecc_mode was arbitrarily set to NAND_ECC_SOFT. Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* input: Add BB_ prefix to KEY_ definesSascha Hauer2014-02-171-7/+7
| | | | | | | Our KEY_ defines conflict with the standard Linux KEY_ defines, so add a BB_ prefix to them. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: remove armlinux_set_bootparams() calls from boardsSascha Hauer2014-01-061-1/+0
| | | | | | | As the place for the atags now is determined automatically the call from the boards can be removed. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: remove asm/hardware.hSascha Hauer2013-11-081-1/+1
| | | | | | | asm/hardware.h does not have any content except including mach/hardware.h. include mach/hardware.h directly where needed and get rid of asm/hardware.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/boardinfo'Sascha Hauer2013-09-051-0/+3
|\ | | | | | | | | | | | | Conflicts: arch/mips/boards/qemu-malta/init.c commands/bootm.c drivers/of/base.c
| * Set model and hostname at boardlevelSascha Hauer2013-08-161-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | With multiboard support the compiletime generated BOARDINFO string gets more and more meaningless. This removes it from Kconfig and replaces it with a variable that can be set at boardlevel. Also many boards have a standard setting for the hostname in the environment. This patch also moves the standard to C code by calling barebox_set_hostname(). Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: AT91: move iomux definitions to iomux.hSascha Hauer2013-08-161-0/+1
| | | | | | | | | | | | | | mach/gpio.h is for the gpio API, so move unrelated stuff away. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: include <gpio.h> instead of <mach/gpio.h>Sascha Hauer2013-08-161-1/+1
|/ | | | | | The gpio api should be used from <gpio.h> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: at91 boards: remove empty config.h filesJean-Christophe PLAGNIOL-VILLARD2013-07-091-4/+0
| | | | | | | | We just keep one on rm9200ek as I did not yet convert this SoC init to C struct and still use Macro. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: at91: move main clock define to CJean-Christophe PLAGNIOL-VILLARD2013-07-092-2/+7
| | | | | | | This will allow to drop the config.h and switch to multi board support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* at91sam9m10g45ek: add spi dataflash supprtJean-Christophe PLAGNIOL-VILLARD2013-04-161-0/+18
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* macb: rename platform dataJosh Cartwright2013-04-031-1/+1
| | | | | | | | | | The macb/gem core is used by the Zynq SoC. In preparation of sharing the macb driver between at91 and Zynq, rename the platform data to 'struct macb_platform_data', and move the definition to a common location. Signed-off-by: Josh Cartwright <joshc@eso.teric.us> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: at91: use -EINVAL for invalid gpio on atmel_mciFabio Porcedda2013-02-191-0/+1
| | | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/at91'Sascha Hauer2013-02-042-2/+72
|\ | | | | | | | | | | | | | | Conflicts: arch/arm/boards/at91rm9200ek/init.c arch/arm/boards/pm9263/init.c arch/arm/configs/at91sam9n12ek_defconfig arch/arm/mach-at91/Kconfig
| * macb: allow to pass the phy interfaceJean-Christophe PLAGNIOL-VILLARD2013-01-291-1/+1
| | | | | | | | | | | | | | as we will add later the GMAC IP verion support (GEM) Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * at91sam9m10g45ek: add lcdc supportJean-Christophe PLAGNIOL-VILLARD2013-01-282-0/+50
| | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * at91: Atmel ref board sam{9x5/9n12/m109g45} EK and Ronetix pm9g45 autodetect ↵Jean-Christophe PLAGNIOL-VILLARD2013-01-271-1/+1
| | | | | | | | | | | | | | ddr size Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * at91sam9m10g45ek: add usb supportJean-Christophe PLAGNIOL-VILLARD2013-01-231-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | warning: the ohci work only without MMU enable: - ehci - usb strorage - usb net asix Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | atmel_mci: drop board host capsJean-Christophe PLAGNIOL-VILLARD2013-01-251-1/+0
|/ | | | | | | as it's handle by detecting the IP version and bus with Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* at91: SMC: switch to platform_driverJean-Christophe PLAGNIOL-VILLARD2013-01-071-2/+1
| | | | | | | This will allow to support multiple arch Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* at91: use -EINVAL for invalid gpioJean-Christophe PLAGNIOL-VILLARD2012-12-221-1/+1
| | | | | | | switch gpio type from u8 to int in the data struct Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/phylib'Sascha Hauer2012-12-071-1/+1
|\ | | | | | | | | Conflicts: drivers/net/phy/phy.c
| * macb/ether: split flags for drivers and phylibJean-Christophe PLAGNIOL-VILLARD2012-11-191-1/+1
| | | | | | | | | | | | | | | | | | as in the kernel use is_rmii flags for pinctrl phy_flags for phylib flags Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | at91: add_gpio_keys_device: fix missing conversion to DEVICE_ID_DYNAMICAntony Pavlov2012-12-061-1/+1
|/ | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/remove-fsf-address'Sascha Hauer2012-10-031-4/+0
|\ | | | | | | | | | | Conflicts: drivers/net/miidev.c include/miidev.h
| * Treewide: remove address of the Free Software FoundationSascha Hauer2012-09-171-4/+0
| | | | | | | | | | | | | | The FSF address has changed in the past. Instead of updating it each time the address changes, just drop it completely treewide. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | dhcp: switch to global var supportJean-Christophe PLAGNIOL-VILLARD2012-10-021-1/+1
|/ | | | | | | | | | This way you can specify as previously set the dhcp parameter via global.dhcp.xxx and get the result via global.dhcp.xxx This is need for the defaultenv-2 to add the bootp suppport. Use it on defaultenv too to have only one set of var. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Removed duplicate definition for DEVFS_PARTITION_xxxAlexander Shiyan2012-05-131-4/+4
| | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Atmel reference board: add oftree boot supportJean-Christophe PLAGNIOL-VILLARD2012-04-131-5/+7
| | | | | | | | | add oftree partition to store the dtb set the oftree location use a zImage by default now Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* at91sam9m10g45ek: add boot menu supportJean-Christophe PLAGNIOL-VILLARD2012-04-112-0/+88
| | | | | | | | | | by default we boot the same way as before The menu add interactive interface to choice boot, reset or update the system. We still can access the shell. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* at91sam9m10g45ek: enable kernel console over framebufferJean-Christophe PLAGNIOL-VILLARD2012-04-111-1/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* at91sam9m10g45ek: add gpio keys supportJean-Christophe PLAGNIOL-VILLARD2012-04-111-0/+51
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: at91: allow to pass the interface id to at91_add_device_ethJean-Christophe PLAGNIOL-VILLARD2012-04-021-1/+1
| | | | | | | On the sam9x5 series we now support 1 or 2 macb. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* at91: set ip mode to dhcp-bareboxJean-Christophe PLAGNIOL-VILLARD2012-04-021-1/+1
| | | | | | | As the mainline kernel does not enable the bootp support by default Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* at91: set dhcp vendor id on Atmel Reference boardJean-Christophe PLAGNIOL-VILLARD2012-03-171-0/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* at91sam9m10g45ek: add leds supportJean-Christophe PLAGNIOL-VILLARD2012-03-121-0/+37
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* at91sam9m10g45ek: update partition layoutJean-Christophe PLAGNIOL-VILLARD2012-03-122-4/+9
| | | | | | This will allow to boot from nand with the bootstrap. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* atmel: reference boards and Caloa boards bbt option enabledJean-Christophe PLAGNIOL-VILLARD2012-01-021-0/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* defaultenv: simplify bootSascha Hauer2011-12-151-5/+0
| | | | | | | | Now that we have a bootm command which boots everything we can simplify the defaultenvironment. We can call bootm on every image type and can remove the kernelimage_type variables. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: at91: fix environment location in flash for multiple boardsThomas Petazzoni2011-10-141-1/+1
| | | | | | | | | The environment partition was overlapping the Barebox partition in those three Atmel boards. Saving the environment resulted in the Barebox being overwritten. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* introduce io.hSascha Hauer2011-09-221-1/+1
| | | | | | | To allow for some generic io accessors introduce io.h and use this instead of asm/io.h throughout the tree. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM boards: move sdram setup before mmu setupSascha Hauer2011-08-011-1/+7
| | | | | | | | | | | | The new MMU setup will need SDRAM base addresses and sizes. For this reason convert the MMU enabled ARM boards: - move mem setup to mem_initcall. This is early but still makes sure that we already have the console available - move MMU setup in this initcall temporary as after the mmu_init will generic Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* at91sam9m10g45ek: update mci0 supportHubert Feurstein2011-06-161-2/+12
| | | | | Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* at91sam9m10g45ek: add mci0 supportHubert Feurstein2011-06-111-0/+8
| | | | | | | | and enable fat support Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com> Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'next'Sascha Hauer2011-04-041-2/+2
|\
| * defaultenv: add kernel_loc nfs and tftp supportJean-Christophe PLAGNIOL-VILLARD2011-03-141-2/+2
| | | | | | | | | | | | | | | | | | | | before we can only support tftp so keep it as default 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: fix missing nand_device in board config in board that nandJean-Christophe PLAGNIOL-VILLARD2011-03-141-0/+1
|/ | | | | | | 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>
* at91sam9m10g45ek: add board revision supportJean-Christophe PLAGNIOL-VILLARD2011-01-241-0/+21
| | | | | | | | | | | | | | | | | | | we use the board revision to specify to the linux kernel the type of lcd we use. So we can have only one machine for those 3 boards: - sam9m10-ekes (LG) - sam9g45-ekes (LG) - sam9m10g45-ek (Truly) today we support 2 lcds model: - LG philips LB043WQ1 - Truly TFT1N4633-E by default we select the Truly as the sam9m10g45-ek is the most common board 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: Support for at91sam9g45 and at91sam9m10 series: core chip & board supportJean-Christophe PLAGNIOL-VILLARD2010-11-114-0/+164
Here are the at91 specific files dedicated to the at91sam9g45 series. They mimic the traditional at91 way of managing chips & boards. The first board that embeds at91sam9g45 chip is the AT91SAM9M10G45-EK. In the future, we will add the m10 and other boards revisions Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>