ti_scm.c (256281) | ti_scm.c (259329) |
---|---|
1/* 2 * Copyright (c) 2010 3 * Ben Gray <ben.r.gray@gmail.com>. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 32 unchanged lines hidden (view full) --- 41 * pins between modules not just GPIO input/output. 42 * 43 * This file contains the generic top level driver, however it relies on chip 44 * specific settings and therefore expects an array of ti_scm_padconf structs 45 * call ti_padconf_devmap to be located somewhere in the kernel. 46 * 47 */ 48#include <sys/cdefs.h> | 1/* 2 * Copyright (c) 2010 3 * Ben Gray <ben.r.gray@gmail.com>. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 32 unchanged lines hidden (view full) --- 41 * pins between modules not just GPIO input/output. 42 * 43 * This file contains the generic top level driver, however it relies on chip 44 * specific settings and therefore expects an array of ti_scm_padconf structs 45 * call ti_padconf_devmap to be located somewhere in the kernel. 46 * 47 */ 48#include <sys/cdefs.h> |
49__FBSDID("$FreeBSD: stable/10/sys/arm/ti/ti_scm.c 252229 2013-06-26 02:56:54Z rpaulo $"); | 49__FBSDID("$FreeBSD: stable/10/sys/arm/ti/ti_scm.c 259329 2013-12-13 20:43:11Z ian $"); |
50 51#include <sys/param.h> 52#include <sys/systm.h> 53#include <sys/kernel.h> 54#include <sys/module.h> 55#include <sys/bus.h> 56#include <sys/resource.h> 57#include <sys/rman.h> 58#include <sys/lock.h> 59#include <sys/mutex.h> 60 61#include <machine/bus.h> 62#include <machine/cpu.h> 63#include <machine/cpufunc.h> | 50 51#include <sys/param.h> 52#include <sys/systm.h> 53#include <sys/kernel.h> 54#include <sys/module.h> 55#include <sys/bus.h> 56#include <sys/resource.h> 57#include <sys/rman.h> 58#include <sys/lock.h> 59#include <sys/mutex.h> 60 61#include <machine/bus.h> 62#include <machine/cpu.h> 63#include <machine/cpufunc.h> |
64#include <machine/frame.h> | |
65#include <machine/resource.h> 66 67#include <dev/fdt/fdt_common.h> 68#include <dev/ofw/openfirm.h> 69#include <dev/ofw/ofw_bus.h> 70#include <dev/ofw/ofw_bus_subr.h> 71 72#include "ti_scm.h" --- 428 unchanged lines hidden --- | 64#include <machine/resource.h> 65 66#include <dev/fdt/fdt_common.h> 67#include <dev/ofw/openfirm.h> 68#include <dev/ofw/ofw_bus.h> 69#include <dev/ofw/ofw_bus_subr.h> 70 71#include "ti_scm.h" --- 428 unchanged lines hidden --- |