fsl_ocotpvar.h revision 261938
1261938Sian/*- 2261938Sian * Copyright (c) 2014 Steven Lawrance <stl@koffein.net> 3261938Sian * All rights reserved. 4261938Sian * 5261938Sian * Redistribution and use in source and binary forms, with or without 6261938Sian * modification, are permitted provided that the following conditions 7261938Sian * are met: 8261938Sian * 1. Redistributions of source code must retain the above copyright 9261938Sian * notice, this list of conditions and the following disclaimer. 10261938Sian * 2. Redistributions in binary form must reproduce the above copyright 11261938Sian * notice, this list of conditions and the following disclaimer in the 12261938Sian * documentation and/or other materials provided with the distribution. 13261938Sian * 14261938Sian * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15261938Sian * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16261938Sian * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17261938Sian * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18261938Sian * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19261938Sian * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20261938Sian * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21261938Sian * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22261938Sian * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23261938Sian * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24261938Sian * SUCH DAMAGE. 25261938Sian * 26261938Sian * $FreeBSD: head/sys/arm/freescale/imx/imx6_ocotpvar.h 261938 2014-02-15 17:19:55Z ian $ 27261938Sian */ 28261938Sian 29261938Sian#ifndef IMX6_OCOTPVAR_H 30261938Sian#define IMX6_OCOTPVAR_H 31261938Sian 32261938Sianuint32_t imx6_ocotp_read_4(bus_size_t _offset); 33261938Sian 34261938Sian#endif 35