1205354Simp/* 2205354Simp * Copyright (C) 2009 Andrew Turner 3205354Simp * All rights reserved. 4205354Simp * 5205354Simp * Redistribution and use in source and binary forms, with or without 6205354Simp * modification, are permitted provided that the following conditions 7205354Simp * are met: 8205354Simp * 1. Redistributions of source code must retain the above copyright 9205354Simp * notice, this list of conditions and the following disclaimer. 10205354Simp * 2. Redistributions in binary form must reproduce the above copyright 11205354Simp * notice, this list of conditions and the following disclaimer in the 12205354Simp * documentation and/or other materials provided with the distribution. 13205354Simp * 14205354Simp * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15205354Simp * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16205354Simp * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17205354Simp * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18205354Simp * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19205354Simp * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20205354Simp * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21205354Simp * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22205354Simp * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23205354Simp * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24205354Simp * SUCH DAMAGE. 25205354Simp * 26205354Simp */ 27205354Simp 28205354Simp#include <sys/cdefs.h> 29205354Simp__FBSDID("$FreeBSD$"); 30205354Simp#include <sys/param.h> 31205354Simp#include <sys/systm.h> 32205354Simp 33272103Sgavin#include <arm/samsung/s3c2xx0/s3c2410reg.h> 34272103Sgavin#include <arm/samsung/s3c2xx0/s3c2xx0board.h> 35205354Simp 36205354Simpextern vm_offset_t s3c2410_uart_vaddr; 37205354Simp 38205354Simplong 39205354Simpboard_init(void) 40205354Simp{ 41205354Simp s3c2410_uart_vaddr = S3C24X0_UART_BASE(0); 42205354Simp 43205354Simp return (64 * 1024 * 1024); 44205354Simp} 45205354Simp 46