summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | ARM: am33xx: implement cpu revision decodingJan Luebbe2013-08-274-3/+44
| | | | | | | | | | | | | | | Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: cpuinfo: display the core name and versionJan Luebbe2013-08-271-0/+33
| | | | | | | | | | | | | | | Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: am33xx: set bootsource instance correctly for MMC1Sascha Hauer2013-08-271-1/+7
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: beaglebone: Clean up lowlevel codeTeresa Gámez2013-08-271-204/+52
| | | | | | | | | | | | | | | | | | | | | | | | Using here now the initialisiation functions in am33xx_generic. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: pcm051: Clean up lowlevel codeTeresa Gámez2013-08-271-170/+41
| | | | | | | | | | | | | | | | | | | | | Use now the initialisation functions from am33xx_generic. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: am33xx: Cleanup of lowlevel codeTeresa Gámez2013-08-272-0/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | There is a lot of duplicate lowlevel code between the am33xx boards. Move this code to am33xx_generic and create structs for sdram settings. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: omap: rename INIT_LL to omap_uart_lowlevel_initSascha Hauer2013-08-271-2/+2
| | | | | | | | | | | | | | | | | | | | | Function should use lower case letters. Also give this function more namespace. While at it include io.h rather than asm/io.h. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: omap: fix omap_save_bootinfoSascha Hauer2013-08-2715-14/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | omap_save_bootinfo derefences the argument passed to barebox without checking it for validity. This breaks 2nd stage booting where r0 is undefined. The best we can do is to check whether the pointer is somewhere in SRAM and is word aligned. This at least makes sure that we do not oops. This introduces SoC specific xxx_save_bootinfo variants since the SRAM addresses/sizes differ between SoCs. Additionally fix the prototype for omap_save_bootinfo. It uses r0, so it must be passed this variable. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: omap: Allow to set mmc devname used for bootingSascha Hauer2013-08-273-6/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a omap_set_bootmmc_devname function which can be used to specify the MMC boot device. In an xload configuration this is then used to load the next stage. In a regular build this is used to mount /boot. Also a device_detect_by_name is added to allow to disable probing for sd/mmc cards during startup. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | mci: omap: Allow to set mmc devname via platformdataSascha Hauer2013-08-272-4/+11
| | | | | | | | | | | | | | | | | | To be able to get persistent names for the sd/mmc devices. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | mci: omap: implement device detect callbackSascha Hauer2013-08-271-0/+10
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | mci: omap: advertise 8 bit supportSascha Hauer2013-08-271-1/+1
| | | | | | | | | | | | | | | | | | | | | The driver is already capable of 8 bit buswidth support, so advertise it to actually make use of it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: OMAP: PCM051: Remove spi platform dataTeresa Gámez2013-08-261-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | SPI NOR flash can be detected by driver so no platform data is necessary. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | PCM051: Added barebox update SPI NOR MLO handlershravan2013-08-262-0/+4
| | | | | | | | | | | | | | | Signed-off-by: shravan <shravan.k@phytec.in> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: omap: barebox update spi nor MLO handlershravan2013-08-264-0/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | -Added mlo spi NOR copy handler -This handler will convert the MLO to big endian -Tested with pcm051 board Signed-off-by: shravan <shravan.k@phytec.in> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | AM33xx: Make OSC frequency board dependedTeresa Gámez2013-08-224-22/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The oscillator frequency varies on different AM33xx boards. Pass the osc frequency from lowlevel board code to set the correct one on every board. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Reviewed-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: OMAP: pcm051: Create own NAND mux structTeresa Gámez2013-08-073-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | NAND_WPN is not used on PCM051 so create own NAND pin mux struct. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: OMAP: pcm051: Update enviromentTeresa Gámez2013-08-076-35/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fixed NAND booting - removed config and added config-board - Load rootfs from nand when booting from SPI flash - renamed boot/<options> to use $bootsource as global.boot.default Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: OMAP: pcm051: Increase console output for MLOTeresa Gámez2013-08-071-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: OMAP: Pass TEXT_BASE address to mk-am35xx-spi-imageTeresa Gámez2013-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Pass the TEXT_BASE to the mk-am35xx-spi-image as the default address does not fit for AM33xx. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/boardinfo'Sascha Hauer2013-09-05187-342/+440
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: arch/mips/boards/qemu-malta/init.c commands/bootm.c drivers/of/base.c
| * | | export model as globalvarSascha Hauer2013-08-161-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The model string is valuable information. Make it available to scripts with a globalvar. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | Set model and hostname at boardlevelSascha Hauer2013-08-16171-291/+341
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | Make hostname available to C CodeSascha Hauer2013-08-163-1/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The boards often have a sane default for the hostname. Provide a C function for setting/getting it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | introduce barebox_set_modelSascha Hauer2013-08-163-8/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of calling of_get_model() in barebox_get_model() add a barebox_set_model() and use it to set the boardinfo once it's available from the devicetree. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | remove remaining references of CONFIG_BOARDINFOSascha Hauer2013-08-169-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this all code uses barebox_get_model() and no longer a compile time generated string. Also this renames barebox_boardinfo() to barebox_get_model() since we are going to add the corresponding _set_ function and 'model' corresponds to the devicetree notion. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | globalvar: move globalvar init to pure_initcallSascha Hauer2013-08-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | globalvar has no dependencies. Move it to pure_initcall to make it available earlier. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | Add a global.version variableSascha Hauer2013-08-161-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So far we only had the version command which is able to print the barebox version. To make the barebox version available for scripts add a globalvar for it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | globalvar: Allow to set initial valueSascha Hauer2013-08-168-30/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Calling globalvar_add_simple() and setting a value is more than common. Add a parameter for the initial value. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | Merge branch 'for-next/arm-gpio'Sascha Hauer2013-09-0592-365/+420
|\ \ \ \
| * | | | ARM: remove include of mach/gpio.h for gpiolib usersSascha Hauer2013-08-168-20/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gpiolib user have nothing to define in their machine specific gpio.h, so do not include it. The only thing they could define would be ARCH_NR_GPIOS, but currently no architecture defines it. Should an architecure feel the need to do it this would be a good opportunity to get rid of this limitation. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: i.MX: move iomux definitions to iomux.hSascha Hauer2013-08-162-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mach/gpio.h is for the gpio API, so move unrelated stuff away. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: Samsung: move iomux definitions to iomux.hSascha Hauer2013-08-1610-12/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mach/gpio.h is for the gpio API, so move unrelated stuff away. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: MXS: move iomux definitions to iomux.hSascha Hauer2013-08-169-11/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mach/gpio.h is for the gpio API, so move unrelated stuff away. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: AT91: move iomux definitions to iomux.hSascha Hauer2013-08-1631-268/+295
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mach/gpio.h is for the gpio API, so move unrelated stuff away. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: i.MX23: Fix double include protectionSascha Hauer2013-08-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using __ASM_MACH_IOMUX_H will break once we introduce a iomux.h which uses exactly this string as double include protection. Use a SoC specific string instead. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: include <gpio.h> instead of <mach/gpio.h>Sascha Hauer2013-08-1647-49/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The gpio api should be used from <gpio.h> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: AT91: Add missing includeSascha Hauer2013-08-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mach/io.h uses AT91_BASE_SYS, hence it needs mach/hardware.h. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | Merge branch 'for-next/mvebu'Sascha Hauer2013-09-0527-75/+1151
|\ \ \ \ \
| * | | | | ARM: mvebu: cubox: Update defconfigSascha Hauer2013-08-161-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | ARM: mvebu: introduce multi image supportSascha Hauer2013-08-1613-7/+84
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | ARM: dts: cubox: fix stdout-path propertySascha Hauer2013-08-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's linux,stdout-path, not linux,stdoutpath Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | ARM: mvebu: move Makefile entries back to arch/arm/MakefileSascha Hauer2013-08-162-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The mvebu boards use the BOARD make variable for the kwbimage generation. This only exists in the old way, so move the mvebu board Makefile entries back to arch/arm/Makefile until they are converted to multiboard. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | ARM: dove: remove temporary clock and non-DT device probingSebastian Hesselbarth2013-08-161-58/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With OF clock providers, we can now remove temporary clocks and clock aliases. Also, non-DT device probing for timer and serial is removed. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | clk: mvebu: add OF clock providers for Marvell MVEBU SoCsSebastian Hesselbarth2013-08-169-0/+1043
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds of_clk_providers for core clocks and clock gates found on Marvell MVEBU SoCs (Armada 370, Armada XP, Dove, and Kirkwood). It is based on Linux clock providers with clock flags removed, as they are not used on Barebox. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | ARM: dove: add missing clocks property to timer nodeSebastian Hesselbarth2013-08-161-1/+2
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Timer node was missing a clocks property to core_clk 0 (tclk). Add it and while at it, also fix a whitespace issue. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | Merge branch 'for-next/imx'Sascha Hauer2013-09-0532-2987/+3266
|\ \ \ \ \
| * | | | | i.MX53: add imx53_add_mmc3Eric Bénard2013-08-281-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | ARM: i.MX6 phyflex: Enable lowlevel UARTSascha Hauer2013-08-151-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | images: get rid of imximage-ySascha Hauer2013-08-122-11/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | imximage-y is only needed to add its content to $targets so that the build system does not rebuild the files because of the files not being in $targets. Automatically generate the files and add them to $targets and remove imximage-y Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>