summaryrefslogtreecommitdiff
path: root/post/board/lwmon5/fpga.c
diff options
context:
space:
mode:
authorYuri Tikhonov <yur@pollux.denx.de>2008-03-18 13:27:57 +0100
committerWolfgang Denk <wd@denx.de>2008-03-18 22:24:48 +0100
commit46bc0a938779aa1d664b847d36b08aa00f22e539 (patch)
treea56a9b130f6aa83714d6f624238a99e172d0eebd /post/board/lwmon5/fpga.c
parent3d61018643a2cd38c145aa6dde53f3f5f1a0e9cf (diff)
downloadu-boot-imx-46bc0a938779aa1d664b847d36b08aa00f22e539.zip
u-boot-imx-46bc0a938779aa1d664b847d36b08aa00f22e539.tar.gz
u-boot-imx-46bc0a938779aa1d664b847d36b08aa00f22e539.tar.bz2
Fix backlight in the lwmon5 POST.
Backlight was switched on even when temperature was too low. Signed-off-by: Dmitry Rakhchev <rda@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
Diffstat (limited to 'post/board/lwmon5/fpga.c')
-rw-r--r--post/board/lwmon5/fpga.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/post/board/lwmon5/fpga.c b/post/board/lwmon5/fpga.c
index dca7a30..2d95b5e 100644
--- a/post/board/lwmon5/fpga.c
+++ b/post/board/lwmon5/fpga.c
@@ -41,16 +41,6 @@ DECLARE_GLOBAL_DATA_PTR;
#define FPGA_RAM_END 0xC4203FFF
#define FPGA_STAT 0xC400000C
-#define FPGA_PWM_CTRL_REG 0xC4000020
-#define FPGA_PWM_TV_REG 0xC4000024
-
-/* Turn on backlight, set brightness */
-void fpga_backlight_enable(int pwm)
-{
- out_be16((void *)FPGA_PWM_CTRL_REG, 0x0701);
- out_be16((void *)FPGA_PWM_TV_REG, pwm);
-}
-
#if CONFIG_POST & CFG_POST_BSPEC3
static int one_scratch_test(uint value)