Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
#ifdef CONFIG_GENERIC_MMC
usbd_set_mmc_dev(usbd);
#endif
- usbd->cpu_reset = s5pc1xx_wdt_reset;
return usbd;
}
}
/* If reset status is watchdog reset then skip it */
- if (!(get_reset_status() & WDTRESET)) {
+ if (!(get_reset_status() & SWRESET)) {
/* If Factory Mode is Boot ON-USB, go to download mode */
i2c_read(addr, 0x07, 1, val, 1);
#endif
/* If reset status is watchdog reset then skip it */
- if (get_reset_status() != WDTRESET) {
+ if (get_reset_status() != SWRESET) {
/* If Factory Mode is Boot ON-USB, go to download mode */
i2c_read(addr, 0x07, 1, val, 1);