summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-03-14 13:14:58 +0000
committerwdenk <wdenk>2005-03-14 13:14:58 +0000
commita0bdf49e399e9e25e71081c5b3e73fc56c63a236 (patch)
tree9267533169022c0629e259db22382d4471cf2edb /include
parente9684a536a6769475b0b8cbac8b443e9acba9d60 (diff)
downloadbootable_bootloader_goldelico_gta04-a0bdf49e399e9e25e71081c5b3e73fc56c63a236.zip
bootable_bootloader_goldelico_gta04-a0bdf49e399e9e25e71081c5b3e73fc56c63a236.tar.gz
bootable_bootloader_goldelico_gta04-a0bdf49e399e9e25e71081c5b3e73fc56c63a236.tar.bz2
INKA4x0: Allow initialization of LCD backlight dimming from
"brightness" environment variable.
Diffstat (limited to 'include')
-rw-r--r--include/configs/inka4x0.h1
-rw-r--r--include/mpc5xxx.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/inka4x0.h b/include/configs/inka4x0.h
index c817d2c..9e98e63 100644
--- a/include/configs/inka4x0.h
+++ b/include/configs/inka4x0.h
@@ -324,5 +324,6 @@
#define CFG_ATA_STRIDE 4
#define CONFIG_ATAPI 1
+#define CFG_BRIGHTNESS 0x20
#endif /* __CONFIG_H */
diff --git a/include/mpc5xxx.h b/include/mpc5xxx.h
index 565e1cf..887dc3e 100644
--- a/include/mpc5xxx.h
+++ b/include/mpc5xxx.h
@@ -248,6 +248,7 @@
#define MPC5XXX_GPT7_ENABLE (MPC5XXX_GPT + 0x70)
#define MPC5XXX_GPT7_COUNTER (MPC5XXX_GPT + 0x74)
+#define MPC5XXX_GPT7_PWMCFG (MPC5XXX_GPT + 0x78)
/* ATA registers */
#define MPC5XXX_ATA_HOST_CONFIG (MPC5XXX_ATA + 0x0000)