mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
[PATCH] Add support for the UC101 board from MAN.
Signed-off-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
parent
cdb97a6678
commit
6dedf3d49d
11 changed files with 1118 additions and 5 deletions
|
@ -29,6 +29,7 @@
|
|||
|
||||
#if defined(CONFIG_DTT_LM75) || \
|
||||
defined(CONFIG_DTT_DS1621) || \
|
||||
defined(CONFIG_DTT_LM81) || \
|
||||
defined(CONFIG_DTT_ADM1021)
|
||||
|
||||
#define CONFIG_DTT /* We have a DTT */
|
||||
|
@ -58,6 +59,14 @@ extern int dtt_get_temp(int sensor);
|
|||
#define DTT_TEMP_SET 0x3
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_DTT_LM81)
|
||||
#define DTT_READ_TEMP 0x27
|
||||
#define DTT_CONFIG_TEMP 0x4b
|
||||
#define DTT_TEMP_MAX 0x39
|
||||
#define DTT_TEMP_HYST 0x3a
|
||||
#define DTT_CONFIG 0x40
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_DTT_DS1621)
|
||||
#define DTT_READ_TEMP 0xAA
|
||||
#define DTT_READ_COUNTER 0xA8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue