diff options
author | Yuri Tikhonov <yur@pollux.denx.de> | 2008-03-18 13:27:57 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-03-18 22:04:06 +0100 |
commit | 0f855a1f056a8c22116a2103a3900cbfb669df0b (patch) | |
tree | 146f6ad0eaf5304caa6d66b5b1e1fd06cc5b206a /post/board/lwmon5/fpga.c | |
parent | 2d991958b1e420fbfe17b128bd26ade74be5efcc (diff) | |
download | u-boot-imx-0f855a1f056a8c22116a2103a3900cbfb669df0b.zip u-boot-imx-0f855a1f056a8c22116a2103a3900cbfb669df0b.tar.gz u-boot-imx-0f855a1f056a8c22116a2103a3900cbfb669df0b.tar.bz2 |
Fix backlight in the lwmon5 POST.
Backlight was switcehd 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.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/post/board/lwmon5/fpga.c b/post/board/lwmon5/fpga.c index b87fc52..162174c 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) |