summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-samsung
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'for-next/arm'Sascha Hauer2015-03-094-0/+108
|\
| * ARM Samsung: add simple NAND barebox update handlerMichael Olbrich2015-02-264-0/+108
| | | | | | | | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM Samsung: fix booting from NAND without pblMichael Olbrich2015-02-251-3/+2
|/ | | | | | | | | This was broken in 558d72dc5116 (ARM Samsung: fix booting from NAND with pbl). '_text' is TEXT_BASE when building without pbl and (TEXT_BASE - SZ_2M) when building with pbl, so this works in both cases. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* sizes.h: move include/sizes.h to include/linux/sizes.hMasahiro Yamada2015-01-082-2/+2
| | | | | | | | | | | | | | 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>
* treewide: Reuse init_clock() return value for clocksource driversAlexander Shiyan2014-11-101-2/+1
| | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Documentation: remove doxygen documentationSascha Hauer2014-06-262-65/+0
| | | | | | | The doxygen documentation is long outdated. Remove it. It will be replaced with sphinx based documentation later. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: mini2440: switch to env2Michael Olbrich2014-05-191-0/+1
| | | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM Samsung: fix booting from NAND with pblMichael Olbrich2014-05-191-2/+3
| | | | | | | | | | The ARM pbl is linked at (TEXT_BASE - SZ_2M). This conflicts with the temporary stack used in s3c24x0_nand_boot. Moving the stack to (TEXT_BASE - SZ_2M) fixes this problem. With this patch a compressed barebox with pbl can boot on mini2440 from NAND. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* reset_source: rename set_reset_source to reset_source_setSascha Hauer2014-01-291-3/+3
| | | | | | | To get all reset source related functions into the same function namespace. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/boardinfo'Sascha Hauer2013-09-051-8/+0
|\ | | | | | | | | | | | | Conflicts: arch/mips/boards/qemu-malta/init.c commands/bootm.c drivers/of/base.c
| * Set model and hostname at boardlevelSascha Hauer2013-08-161-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | 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: Samsung: move iomux definitions to iomux.hSascha Hauer2013-08-165-12/+31
|/ | | | | | | mach/gpio.h is for the gpio API, so move unrelated stuff away. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM Samsung boards: switch to barebox_arm_entrySascha Hauer2013-02-041-6/+0
| | | | | | | | All Samsung boards automatically detect their SDRAM size. The size detection code can't be called safely from lowlevel C code, so instead the minimum SDRAM size is guessed from the defconfig files. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Cleanup Kconfig filesAlexander Shiyan2012-12-081-11/+7
| | | | | | | | | This patch provides a global cleanup barebox Kconfig files. This includes replacing spaces to tabs, formatting in accordance format, removing extraneous lines and spaces. No functional changes. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/bcm2835'Sascha Hauer2012-11-161-4/+2
|\ | | | | | | | | Conflicts: arch/arm/configs/versatilepb_defconfig
| * gpio: provide generic gpio headerJean-Christophe PLAGNIOL-VILLARD2012-10-051-4/+2
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | ARM Samsung: Let Nand boot depend on ARCH_S3C24xxSascha Hauer2012-10-261-0/+1
| | | | | | | | | | | | It is only available on this SoC. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM Samsung: fix pbl build for tiny210 boardSascha Hauer2012-10-261-0/+1
|/ | | | | | The Tiny210 needs lowlevel.o and memory setup in the pbl. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Treewide: remove address of the Free Software FoundationSascha Hauer2012-09-1713-52/+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>
* ARM boards: Make boards pbl safeSascha Hauer2012-08-121-0/+2
| | | | | | | | With pbl support enabled most boards need a pbl-y for their lowlevel stuff. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Merge branch 'for-next/samsung'Sascha Hauer2012-08-0116-7/+1485
|\ | | | | | | | | | | | | Conflicts: arch/arm/Makefile arch/arm/mach-samsung/Makefile arch/arm/mach-samsung/include/mach/s5pcxx-iomap.h
| * ARM/Samsung: add the Tiny6410 platform as a user of the S3C6410 SoCJuergen Beisert2012-07-301-0/+15
| | | | | | | | | | | | | | The Tiny6410 and its base board is a pure development platform. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM/Samsung: add the Mini6410 platform as a user of the S3C6410 SoCJuergen Beisert2012-07-301-0/+16
| | | | | | | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM/Samsung: add the S3C6410 SoCJuergen Beisert2012-07-301-0/+9
| | | | | | | | | | | | | | After adding the base support, the SoC can now be enabled in the build system. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM/Samsung: add generic S3C6410 SoC specific functionsJuergen Beisert2012-07-304-1/+124
| | | | | | | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM/Samsung: add GPIO handling support for the S3C6410 SoCJuergen Beisert2012-07-304-1/+847
| | | | | | | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM/Samsung: add the clock tree support for the S3C6410 SoCJuergen Beisert2012-07-304-0/+409
| | | | | | | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM/Samsung: adapt the generic timer driver to support the S3C6410 SoCJuergen Beisert2012-07-301-4/+12
| | | | | | | | | | | | | | | | | | | | | | The S3C64XX SoC has a real 32 bit counter, but almost the same style of registers. It's enough to change the parameters, to get the routines work on this SoC. sha: s5p timer works like s3c64xx, so use #else to cover this. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM/Samsung: add S3C6410 SoC iomapJuergen Beisert2012-07-302-0/+54
| | | | | | | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Samsung/serial: move the decision about an improved UART into KconfigJuergen Beisert2012-07-251-2/+0
| | | | | | | | | | | | | | More or less just cosmetic (removing ifdefs!). Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM/Samsung: follow the name style of the other source files in this directoryJuergen Beisert2012-07-252-2/+1
| | | | | | | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/reset-source'Sascha Hauer2012-08-012-0/+57
|\ \
| * | ARM/Samsung: add support to detect the reset sourceJuergen Beisert2012-07-182-0/+57
| | | | | | | | | | | | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/friendlyarm'Sascha Hauer2012-08-015-8/+345
|\ \ \ | |_|/ |/| |
| * | ARM/Samsung: add the vendor FriendlyARM to the board's directory nameJuergen Beisert2012-07-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | A look into "arch/arm/boards/" offers various boards starting with the vendor's name in their directory name (like 'eukrea' and 'freescale'). This patch does the same for the currently existing FriendlyARM board Mini2440. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
| * | Add FriendlyArm Tiny210 board (S5PV210)Alexey Galakhov2012-07-201-6/+14
| | | | | | | | | | | | | | | Signed-off-by: Alexey Galakhov <agalakhov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | S5P DRAM supportAlexey Galakhov2012-07-034-1/+330
| |/ | | | | | | | | Signed-off-by: Alexey Galakhov <agalakhov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM/Samsung: unify device registration for the S3C24XX SoCsJuergen Beisert2012-07-201-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | Barebox crashes since it has trouble with a resource size of 0. Most of the S3C24XX based platforms crashes at runtime and can't use devices with resource sizes of 0 anymore. This patch fix it by unifying the device registration for all current Barebox's S3C24XX based platforms. - A9M2410 and A9M2440 compile time tested only. - Mini2440 also runtime tested. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* | ARM/Samsung: be able to include the nand header multiple timesJuergen Beisert2012-07-201-0/+5
|/ | | | | | This is required in preparation for the following patches. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* ARM samsung: disable board selectionSascha Hauer2012-05-241-6/+6
| | | | | | | | | | fixes arch/arm/mach-samsung/Kconfig:95:warning: config symbol defined without type Until we actually have board support. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* S5P lowlevel clock initAlexey Galakhov2012-05-213-0/+66
| | | | | Signed-off-by: Alexey Galakhov <agalakhov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add support for Samsung S5P architecture (S5PV210)Alexey Galakhov2012-05-2110-0/+1155
| | | | | Signed-off-by: Alexey Galakhov <agalakhov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Split S3C generic and S3C24xx specific codeAlexey Galakhov2012-05-2110-180/+258
| | | | | Signed-off-by: Alexey Galakhov <agalakhov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Make S3C24xx config options available for all S3CsAlexey Galakhov2012-05-215-23/+23
| | | | | Signed-off-by: Alexey Galakhov <agalakhov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Support most Samsung SoCs in S3C serial driverAlexey Galakhov2012-05-142-0/+21
| | | | | | | | | | | | | | | | Ok, I assume this should go into separate series. It fits both S5PV210 and S3C6410. This adds support for S3C and S5P architectures (all of my knowledge) to the serial driver. Since the only difference between them is in clock handling, this is moved to an arch-dependent separate function. Most modern architectures should define S3C_UART_HAS_UBRDIVSLOT and S3C_UART_HAS_UINTM. This adds support for most Signed-off-by: Alexey Galakhov <agalakhov@gmail.com> Signed-off-by: Juergen Beisewrt <kernel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MACH SAMSUNG/S3C: Re-work the GPIO handling for S3C24xx CPUsJuergen Beisert2012-01-024-77/+96
| | | | | | | | | a) use the more CPU specific S3C* macro names b) move the register description out of the way, as more recent CPUs using a different layout and more features Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MACH SAMSUNG/S3C: Re-work the memory detection and handlingJuergen Beisert2012-01-026-43/+72
| | | | | | | | Keep common code in the MACH instead of re-inventing it in each platform. Also use S3C* macros for all memory related register. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MACH SAMSUNG/S3C: Unify the UART driver for the S3C family of CPUsJuergen Beisert2012-01-021-8/+7
| | | | | | | | The UART is one of the units which differs only slightly inside the S3C family. Prepare this driver to share it with more recent CPUs. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MACH SAMSUNG/S3C: Prepare watchdog unit to be shared in the S3C familyJuergen Beisert2012-01-023-10/+9
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MACH SAMSUNG/S3C: Re-work the S3C family timer driverJuergen Beisert2012-01-021-18/+60
| | | | | | | | | | | | After separation and after all S3C macros are now present, change the driver to be more generic for future additions. The timer registers in the S3C24XX family are only 16 bit wide. But these registers can be read and written in a 32 bit manner. This is important to share code with more recent CPUs which comes with 32 bit registers. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>