u-boot/arch/arm/cpu/armv7
Gabe Black 34b5ee1f6a Exynos: Avoid a divide by zero by specifying a non-zero period for pwm 4
The pwm_config function in the exynos pwm driver divides by its period
period parameter. A function was calling pwm_config with a 0ns period and a
0ns duty cycle. That doesn't actually make any sense physically, and results
in a divide by zero in the driver. This change changes the parameters to be a
100000ns period and duty cycle.

Test with command "sf probe 1:0; time sf read 40008000 0 1000".
Try with different numbers of bytes and see that sane values are obtained
Build and boot U-boot with this patch, backlight works properly.

Signed-off-by: Gabe Black <gabeblack@google.com>
Signed-off-by: Akshay Saraswat <akshay.s@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
2013-04-01 14:02:08 +09:00
..
am33xx am33xx: add dmm support to emif4 library 2013-03-24 12:49:11 -04:00
exynos EXYNOS5: Add L2 Cache Support. 2013-03-27 16:53:37 +09:00
highbank arm: Remove additional config flags 2012-10-04 14:51:50 +02:00
mx5 mx5: Mark lowlevel_init board-specific code 2012-11-19 08:56:27 +01:00
mx6 ARM: mx6: use common CPU errata config options 2013-03-07 18:20:37 +01:00
omap-common ti814x_evm: add ti814x evm board support 2013-03-24 12:49:12 -04:00
omap3 OMAP3: Initialize gpmc if SPL_ONENAND_SUPPORT is enabled. 2013-03-11 11:06:08 -04:00
omap4 arm: dra7xx: Add DDR related data for DRA752 ES1.0 2013-03-11 11:06:11 -04:00
omap5 arm: dra7xx: Add silicon id support for DRA752 soc 2013-03-11 11:39:57 -04:00
rmobile arm: rmobile: bugfix: wrong register saving in lowlevel_init 2012-10-08 11:15:04 -07:00
s5p-common Exynos: Avoid a divide by zero by specifying a non-zero period for pwm 4 2013-04-01 14:02:08 +09:00
s5pc1xx armv7: add appropriate headers for assembly functions 2012-05-15 08:31:26 +02:00
socfpga Replace __bss_end__ with __bss_end 2013-03-15 16:13:54 -04:00
tegra-common Tegra20: Move some include files to arch-tegra for sharing with Tegra30 2012-10-15 11:54:06 -07:00
tegra20 tegra: usb: move implementation into right directory 2013-03-14 11:06:41 -07:00
tegra30 Tegra30: Add CPU (armv7) files 2013-01-16 13:40:07 -07:00
tegra114 Tegra114: Add CPU (armv7) files 2013-02-11 10:35:25 -07:00
u8500 arm: Move lastinc to arch_global_data 2013-02-01 15:07:50 -05:00
zynq arm: zynq: Add lowlevel initialization to C 2013-02-07 09:18:42 +01:00
cache_v7.c arm: Add control over cachability of memory regions 2012-11-19 08:15:38 -07:00
config.mk build: imx: Fix 'u-boot.imx' build without full OBJTREE reference 2013-02-12 18:39:08 +01:00
cpu.c arm: bugfix: save_boot_params_default accesses uninitalized stack when -O0 2012-09-01 14:58:22 +02:00
lowlevel_init.S armv7: Make lowlevel_init.S's lowlevel_init do ABI compatible stack 2012-09-01 14:58:19 +02:00
Makefile ti814x_evm: add ti814x evm board support 2013-03-24 12:49:12 -04:00
start.S ARM: implement erratum 716044 workaround 2013-03-22 16:45:22 +01:00
syslib.c ARMV7: Vexpress: fix build errors 2010-12-08 23:44:21 +01:00