Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
}
}
+void check_micro_usb(void)
+{
+ unsigned char val[2];
+ unsigned char addr = 0x25; /* fsa9480 */
+
+ i2c_gpio_set_bus(I2C_PMIC);
+
+ if (i2c_probe(addr)) {
+ printf("Can't found fsa9480\n");
+ return;
+ }
+}
+
int misc_init_r(void)
{
check_hw_revision();
if (!machine_is_aquila())
check_keypad();
+ /* check fsa9480 */
+ check_micro_usb();
+
if (board_is_limo_universal() || board_is_limo_real()) {
/* check max17040 */
check_battery();