Ticket #11200: 900-board_hw553-usbfix.patch

File 900-board_hw553-usbfix.patch, 821 bytes (added by marcogaio, 3 years ago)
  • arch/mips/bcm63xx/boards/board_bcm963xx.c

    a b  
    1919#include <linux/spi/spi_gpio.h> 
    2020#include <linux/spi/74x164.h> 
    2121#include <linux/rtl8367.h> 
     22#include <linux/delay.h> 
    2223#include <asm/addrspace.h> 
    2324#include <bcm63xx_board.h> 
    2425#include <bcm63xx_cpu.h> 
     
    30993100        char cfe_version[32]; 
    31003101        char *board_name; 
    31013102        u32 val; 
     3103        unsigned int * reg = (unsigned int *) 0xfffe150c; 
     3104 
     3105        /* power cycle the USB PLL */ 
     3106        if (BCMCPU_IS_6358()) { 
     3107                printk(KERN_INFO PFX "Resetting USB PLL..."); 
     3108                *reg &= ~0x02000000; 
     3109                mdelay(1); 
     3110                *reg |= 0x02000000; 
     3111                printk(" done.\n"); 
     3112        } 
    31023113 
    31033114        /* read base address of boot chip select (0) 
    31043115         * 6328 does not have MPI but boots from a fixed address