Path: blob/master/arch/mips/pnx8550/stb810/board_setup.c
10818 views
/*1* STB810 specific board startup routines.2*3* Based on the arch/mips/nxp/pnx8550/jbs/board_setup.c4*5* Author: MontaVista Software, Inc.6* [email protected]7*8* Copyright 2005 MontaVista Software Inc.9*10* This program is free software; you can redistribute it and/or modify it11* under the terms of the GNU General Public License as published by the12* Free Software Foundation; either version 2 of the License, or (at your13* option) any later version.14*/1516#include <linux/init.h>17#include <linux/sched.h>18#include <linux/ioport.h>19#include <linux/mm.h>20#include <linux/console.h>21#include <linux/mc146818rtc.h>22#include <linux/delay.h>2324#include <asm/cpu.h>25#include <asm/bootinfo.h>26#include <asm/irq.h>27#include <asm/mipsregs.h>28#include <asm/reboot.h>29#include <asm/pgtable.h>3031#include <glb.h>3233void __init board_setup(void)34{35unsigned long configpr;3637configpr = read_c0_config7();38configpr |= (1<<19); /* enable tlb */39write_c0_config7(configpr);40}414243