Move the ARM Samsung s3c2xx0 support files into the samsung directory, to

match other platforms.

Discussed with:	andrew
This commit is contained in:
gavin 2014-09-25 11:38:26 +00:00
parent e0dc7a516e
commit 3d4fec8198
25 changed files with 42 additions and 42 deletions

View File

@ -19,7 +19,7 @@
ident LN2410SBC
include "../s3c2xx0/std.ln2410sbc"
include "../samsung/s3c2xx0/std.ln2410sbc"
#To statically compile in device wiring instead of /boot/device.hints
#hints "GENERIC.hints" # Default places to look for devices.
makeoptions MODULES_OVERRIDE=""

View File

@ -19,7 +19,7 @@ files "../mv/discovery/files.db78xxx"
files "../mv/kirkwood/files.kirkwood"
files "../mv/orion/files.db88f5xxx"
files "../mv/orion/files.ts7800"
files "../s3c2xx0/files.s3c2xx0"
files "../samsung/s3c2xx0/files.s3c2xx0"
files "../xscale/i80321/files.ep80219"
files "../xscale/i80321/files.i80219"
files "../xscale/i80321/files.i80321"

View File

@ -1,15 +0,0 @@
# $FreeBSD$
arm/arm/bus_space_asm_generic.S standard
arm/arm/bus_space_generic.c standard
arm/arm/cpufunc_asm_arm9.S standard
arm/s3c2xx0/board_ln2410sbc.c optional board_ln2410sbc
arm/s3c2xx0/s3c24x0_rtc.c standard
arm/s3c2xx0/s3c24x0_machdep.c standard
arm/s3c2xx0/s3c24x0.c standard
arm/s3c2xx0/s3c2xx0_space.c standard
arm/s3c2xx0/s3c24x0_clk.c standard
arm/s3c2xx0/uart_bus_s3c2410.c optional uart
arm/s3c2xx0/uart_cpu_s3c2410.c optional uart
arm/s3c2xx0/uart_dev_s3c2410.c optional uart
dev/usb/controller/ohci_s3c24x0.c optional ohci

View File

@ -30,8 +30,8 @@ __FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/systm.h>
#include <arm/s3c2xx0/s3c2410reg.h>
#include <arm/s3c2xx0/s3c2xx0board.h>
#include <arm/samsung/s3c2xx0/s3c2410reg.h>
#include <arm/samsung/s3c2xx0/s3c2xx0board.h>
extern vm_offset_t s3c2410_uart_vaddr;

View File

@ -0,0 +1,15 @@
# $FreeBSD$
arm/arm/bus_space_asm_generic.S standard
arm/arm/bus_space_generic.c standard
arm/arm/cpufunc_asm_arm9.S standard
arm/samsung/s3c2xx0/board_ln2410sbc.c optional board_ln2410sbc
arm/samsung/s3c2xx0/s3c24x0_rtc.c standard
arm/samsung/s3c2xx0/s3c24x0_machdep.c standard
arm/samsung/s3c2xx0/s3c24x0.c standard
arm/samsung/s3c2xx0/s3c2xx0_space.c standard
arm/samsung/s3c2xx0/s3c24x0_clk.c standard
arm/samsung/s3c2xx0/uart_bus_s3c2410.c optional uart
arm/samsung/s3c2xx0/uart_cpu_s3c2410.c optional uart
arm/samsung/s3c2xx0/uart_dev_s3c2410.c optional uart
dev/usb/controller/ohci_s3c24x0.c optional ohci

View File

@ -42,7 +42,7 @@
#define _ARM_S3C2XX0_S3C2410REG_H_
/* common definitions for S3C2410 and S3C2440 */
#include <arm/s3c2xx0/s3c24x0reg.h>
#include <arm/samsung/s3c2xx0/s3c24x0reg.h>
/*
* Memory Map

View File

@ -34,7 +34,7 @@
#ifndef _ARM_S3C2410VAR_H_
#define _ARM_S3C2410VAR_H_
#include <arm/s3c2xx0/s3c24x0var.h>
#include <arm/samsung/s3c2xx0/s3c24x0var.h>
int s3c2410_sscom_cnattach(bus_space_tag_t, int, int, int, tcflag_t);
int s3c2410_sscom_kgdb_attach(bus_space_tag_t, int, int, int, tcflag_t);

View File

@ -36,7 +36,7 @@
#define _ARM_S3C2XX0_S3C2440REG_H_
/* common definitions for S3C2410 and S3C2440 */
#include <arm/s3c2xx0/s3c24x0reg.h>
#include <arm/samsung/s3c2xx0/s3c24x0reg.h>
/*
* Memory Map

View File

@ -49,9 +49,9 @@ __FBSDID("$FreeBSD$");
#include <machine/cpufunc.h>
#include <machine/intr.h>
#include <arm/s3c2xx0/s3c2410reg.h>
#include <arm/s3c2xx0/s3c2440reg.h>
#include <arm/s3c2xx0/s3c24x0var.h>
#include <arm/samsung/s3c2xx0/s3c2410reg.h>
#include <arm/samsung/s3c2xx0/s3c2440reg.h>
#include <arm/samsung/s3c2xx0/s3c24x0var.h>
#include <sys/rman.h>
#define S3C2XX0_XTAL_CLK 12000000

View File

@ -48,8 +48,8 @@ __FBSDID("$FreeBSD$");
#include <machine/frame.h>
#include <machine/resource.h>
#include <machine/intr.h>
#include <arm/s3c2xx0/s3c24x0reg.h>
#include <arm/s3c2xx0/s3c24x0var.h>
#include <arm/samsung/s3c2xx0/s3c24x0reg.h>
#include <arm/samsung/s3c2xx0/s3c24x0var.h>
struct s3c24x0_timer_softc {
device_t dev;

View File

@ -89,9 +89,9 @@ __FBSDID("$FreeBSD$");
#include <machine/bus.h>
#include <sys/reboot.h>
#include <arm/s3c2xx0/s3c24x0var.h>
#include <arm/s3c2xx0/s3c2410reg.h>
#include <arm/s3c2xx0/s3c2xx0board.h>
#include <arm/samsung/s3c2xx0/s3c24x0var.h>
#include <arm/samsung/s3c2xx0/s3c2410reg.h>
#include <arm/samsung/s3c2xx0/s3c2xx0board.h>
/* Page table for mapping proc0 zero page */
#define KERNEL_PT_SYS 0

View File

@ -39,7 +39,7 @@ __FBSDID("$FreeBSD$");
#include <machine/bus.h>
#include <arm/s3c2xx0/s3c24x0reg.h>
#include <arm/samsung/s3c2xx0/s3c24x0reg.h>
#include "clock_if.h"

View File

@ -43,7 +43,7 @@
#define _ARM_S3C2XX0_S3C24X0REG_H_
/* common definitions for S3C2800, S3C2410 and S3C2440 */
#include <arm/s3c2xx0/s3c2xx0reg.h>
#include <arm/samsung/s3c2xx0/s3c2xx0reg.h>
/*
* Map the device registers into kernel space.

View File

@ -34,7 +34,7 @@
#ifndef _ARM_S3C24X0VAR_H_
#define _ARM_S3C24X0VAR_H_
#include <arm/s3c2xx0/s3c2xx0var.h>
#include <arm/samsung/s3c2xx0/s3c2xx0var.h>
struct s3c24x0_softc {
struct s3c2xx0_softc sc_sx;

View File

@ -1,5 +1,5 @@
#$FreeBSD$
include "../s3c2xx0/std.s3c2410"
include "../samsung/s3c2xx0/std.s3c2410"
makeoptions KERNPHYSADDR=0x30000000
makeoptions KERNVIRTADDR=0xc0000000

View File

@ -1,6 +1,6 @@
# $FreeBSD$
files "../s3c2xx0/files.s3c2xx0"
files "../samsung/s3c2xx0/files.s3c2xx0"
cpu CPU_ARM9
machine arm

View File

@ -15,7 +15,7 @@ __FBSDID("$FreeBSD$");
#include <dev/uart/uart_bus.h>
#include <dev/uart/uart_cpu.h>
#include <arm/s3c2xx0/s3c24x0reg.h>
#include <arm/samsung/s3c2xx0/s3c24x0reg.h>
#include "uart_if.h"

View File

@ -37,7 +37,7 @@ __FBSDID("$FreeBSD$");
#include <dev/uart/uart.h>
#include <dev/uart/uart_cpu.h>
#include <arm/s3c2xx0/s3c2xx0var.h>
#include <arm/samsung/s3c2xx0/s3c2xx0var.h>
bus_space_tag_t uart_bus_space_io;
bus_space_tag_t uart_bus_space_mem;

View File

@ -41,10 +41,10 @@ __FBSDID("$FreeBSD$");
#include <dev/uart/uart.h>
#include <dev/uart/uart_cpu.h>
#include <dev/uart/uart_bus.h>
#include <arm/s3c2xx0/s3c2440reg.h>
#include <arm/s3c2xx0/uart_dev_s3c2410.h>
#include <arm/s3c2xx0/s3c2xx0reg.h>
#include <arm/s3c2xx0/s3c2xx0var.h>
#include <arm/samsung/s3c2xx0/s3c2440reg.h>
#include <arm/samsung/s3c2xx0/uart_dev_s3c2410.h>
#include <arm/samsung/s3c2xx0/s3c2xx0reg.h>
#include <arm/samsung/s3c2xx0/s3c2xx0var.h>
#include "uart_if.h"
/* Finds the subirq from the parent */

View File

@ -60,7 +60,7 @@ __FBSDID("$FreeBSD$");
#include <sys/rman.h>
#include <arm/s3c2xx0/s3c24x0reg.h>
#include <arm/samsung/s3c2xx0/s3c24x0reg.h>
static device_probe_t ohci_s3c24x0_probe;
static device_attach_t ohci_s3c24x0_attach;