From: Seung-Woo Kim Date: Tue, 23 Aug 2016 03:40:42 +0000 (+0900) Subject: TPL: TM2: config: fix MAX77843 MUIC to recognize USB path for specific adc X-Git-Tag: submit/tizen/20170414.042831~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=835a0da608469e7fff934d527e89f5b0ac7b6bcd;p=platform%2Fkernel%2Fu-boot.git TPL: TM2: config: fix MAX77843 MUIC to recognize USB path for specific adc With some usb cable with the specific adc, TM2 target in download mode is not recognized from host usb. So this patch fixes to set detect register of MAX77843 MUIC to set proper path for the cable. Change-Id: Ib9c5a2eef68c85dba92dd458807effec11382a09 Signed-off-by: Seung-Woo Kim --- diff --git a/include/configs/tm2.h b/include/configs/tm2.h index 521b2b67cc..7829bedd17 100644 --- a/include/configs/tm2.h +++ b/include/configs/tm2.h @@ -103,7 +103,7 @@ "bootkernel=echo Booting kernel; run boarddetect; run loadkernel; bootm 0x30080000#$board\0" \ "boarddetect=if itest.l *0x138000b4 == 0x0063f9ff; then setenv board tm2e; elif itest.l *0x138000b4 == 0x0059f9ff; then setenv board tm2; else setenv board unknown; fi; echo Detected $board board\0" \ "loadkernel=part start mmc 0 9 kernel_sect; part size mmc 0 9 kernel_size; mmc read 0x30000000 $kernel_sect $kernel_size\0" \ - "muicsetusb=i2c mw 25 c 1b; i2c mw 25 d 3b; i2c mw 25 e 05; i2c mw 25 16 f2\0" \ + "muicsetusb=i2c mw 25 c 9; i2c mw 25 d 3b; i2c mw 25 e 05; i2c mw 25 16 10\0" \ "displayimg=unzip 200d0000 67000000; mw.l 138000b4 0059f9ff; mw.l 138001a0 67e10000; mw.l 13800200 00001680; mw.l 13801410 1; mw.l 13802040 e0000018; sleep 1; mw.l 13802040 e0000008\0" \ "download=echo Thor mode enabled; run muicsetusb; run displayimg; mw.l 0x105c080c 0; thor 0 mmc 0\0" #define CONFIG_MENUPROMPT "Loading, please wait..."