1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -39,6 +39,13 @@ static unsigned int mac_addr_used;
4 static struct board_info board;
7 + * Required export for WL
9 +#define NVRAM_SPACE 0x8000
10 +char nvram_buf[NVRAM_SPACE];
11 +EXPORT_SYMBOL(nvram_buf);
16 #ifdef CONFIG_BCM63XX_CPU_6338
17 @@ -741,6 +748,7 @@ void __init board_prom_init(void)
19 /* extract nvram data */
20 memcpy(&nvram, boot_addr + BCM963XX_NVRAM_OFFSET, sizeof(nvram));
21 + memcpy(&nvram_buf, boot_addr + BCM963XX_NVRAM_OFFSET, NVRAM_SPACE);
23 /* check checksum before using data */
24 if (nvram.version <= 4)
25 --- a/arch/mips/mm/cache.c
26 +++ b/arch/mips/mm/cache.c
27 @@ -52,6 +52,7 @@ void (*_dma_cache_wback)(unsigned long s
28 void (*_dma_cache_inv)(unsigned long start, unsigned long size);
30 EXPORT_SYMBOL(_dma_cache_wback_inv);
31 +EXPORT_SYMBOL(_dma_cache_inv);
33 #endif /* CONFIG_DMA_NONCOHERENT */