Path: blob/master/arch/arm/mach-clps711x/clep7312.c
10817 views
/*1* linux/arch/arm/mach-clps711x/clep7312.c2*3* This program is free software; you can redistribute it and/or modify4* it under the terms of the GNU General Public License as published by5* the Free Software Foundation; either version 2 of the License, or6* (at your option) any later version.7*8* This program is distributed in the hope that it will be useful,9* but WITHOUT ANY WARRANTY; without even the implied warranty of10* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the11* GNU General Public License for more details.12*13* You should have received a copy of the GNU General Public License14* along with this program; if not, write to the Free Software15* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA16*/17#include <linux/init.h>18#include <linux/types.h>19#include <linux/string.h>2021#include <asm/setup.h>22#include <asm/mach-types.h>23#include <asm/mach/arch.h>2425#include "common.h"2627static void __init28fixup_clep7312(struct machine_desc *desc, struct tag *tags,29char **cmdline, struct meminfo *mi)30{31mi->nr_banks=1;32mi->bank[0].start = 0xc0000000;33mi->bank[0].size = 0x01000000;34}353637MACHINE_START(CLEP7212, "Cirrus Logic 7212/7312")38/* Maintainer: Nobody */39.boot_params = 0xc0000100,40.fixup = fixup_clep7312,41.map_io = clps711x_map_io,42.init_irq = clps711x_init_irq,43.timer = &clps711x_timer,44MACHINE_END45464748