3 * Markus Klotzbuecher, DENX Software Engineering <mk@denx.de>
5 * SPDX-License-Identifier: GPL-2.0+
10 #if defined(CONFIG_USB_OHCI_NEW) && defined(CONFIG_SYS_USB_OHCI_CPU_INIT)
12 #ifdef CONFIG_4xx_DCACHE
14 DECLARE_GLOBAL_DATA_PTR;
17 int usb_cpu_init(void)
19 #ifdef CONFIG_4xx_DCACHE
21 change_tlb(gd->bd->bi_memstart, gd->bd->bi_memsize, TLB_WORD2_I_ENABLE);
27 int usb_cpu_stop(void)
29 #ifdef CONFIG_4xx_DCACHE
31 change_tlb(gd->bd->bi_memstart, gd->bd->bi_memsize, 0);
36 int usb_cpu_init_fail(void)
38 #ifdef CONFIG_4xx_DCACHE
40 change_tlb(gd->bd->bi_memstart, gd->bd->bi_memsize, 0);
45 #endif /* defined(CONFIG_USB_OHCI) && defined(CONFIG_SYS_USB_OHCI_CPU_INIT) */