diff options
author | Wolfgang Denk <wd@nyx.denx.de> | 2006-05-31 13:12:39 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@nyx.denx.de> | 2006-05-31 13:12:39 +0200 |
commit | 81d72d7e2e7996c6c4e60985dbcc84afe5ed816c (patch) | |
tree | cf42eec07ffde614e16143247ef6fe6654722c37 /board | |
parent | 392c252efd5d2e67b47ebeb3b7e4f42e7e3d5127 (diff) | |
parent | ddf83a2fcef1a670c45fc585119dcc1fe062c4a9 (diff) | |
download | u-boot-imx-81d72d7e2e7996c6c4e60985dbcc84afe5ed816c.zip u-boot-imx-81d72d7e2e7996c6c4e60985dbcc84afe5ed816c.tar.gz u-boot-imx-81d72d7e2e7996c6c4e60985dbcc84afe5ed816c.tar.bz2 |
Merge with /home/mk/git/u-boot#generic_ohci
Diffstat (limited to 'board')
-rw-r--r-- | board/delta/delta.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/board/delta/delta.c b/board/delta/delta.c index b127ac8..6e22774 100644 --- a/board/delta/delta.c +++ b/board/delta/delta.c @@ -1,10 +1,6 @@ /* - * (C) Copyright 2002 - * Kyle Harris, Nexus Technologies, Inc. kharris@nexus-tech.net - * - * (C) Copyright 2002 - * Sysgo Real-Time Solutions, GmbH <www.elinos.com> - * Marius Groeger <mgroeger@sysgo.de> + * (C) Copyright 2006 + * DENX Software Engineering * * See file CREDITS for list of people who contributed to this * project. @@ -98,7 +94,6 @@ int board_late_init(void) return 0; } - /* * Magic Key Handling, mainly copied from board/lwmon/lwmon.c */ @@ -324,6 +319,12 @@ static void init_DA9030() return; } + val = 0x80; + if(i2c_write(addr, IRQ_MASK_B, 1, &val, 1)) { + printf("Error accessing DA9030 via i2c.\n"); + return; + } + i2c_reg_write(addr, REG_CONTROL_1_97, 0xfd); /* disable LDO1, enable LDO6 */ i2c_reg_write(addr, LDO2_3, 0xd1); /* LDO2 =1,9V, LDO3=3,1V */ i2c_reg_write(addr, LDO4_5, 0xcc); /* LDO2 =1,9V, LDO3=3,1V */ |