1350badf9SIan Lepore /*- 2*4d846d26SWarner Losh * SPDX-License-Identifier: BSD-2-Clause 3af3dc4a7SPedro F. Giffuni * 4350badf9SIan Lepore * Copyright (c) 2014 Steven Lawrance <stl@koffein.net> 5350badf9SIan Lepore * All rights reserved. 6350badf9SIan Lepore * 7350badf9SIan Lepore * Redistribution and use in source and binary forms, with or without 8350badf9SIan Lepore * modification, are permitted provided that the following conditions 9350badf9SIan Lepore * are met: 10350badf9SIan Lepore * 1. Redistributions of source code must retain the above copyright 11350badf9SIan Lepore * notice, this list of conditions and the following disclaimer. 12350badf9SIan Lepore * 2. Redistributions in binary form must reproduce the above copyright 13350badf9SIan Lepore * notice, this list of conditions and the following disclaimer in the 14350badf9SIan Lepore * documentation and/or other materials provided with the distribution. 15350badf9SIan Lepore * 16350badf9SIan Lepore * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 17350badf9SIan Lepore * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18350badf9SIan Lepore * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19350badf9SIan Lepore * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 20350badf9SIan Lepore * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21350badf9SIan Lepore * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22350badf9SIan Lepore * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23350badf9SIan Lepore * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24350badf9SIan Lepore * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25350badf9SIan Lepore * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26350badf9SIan Lepore * SUCH DAMAGE. 27350badf9SIan Lepore */ 28350badf9SIan Lepore 29350badf9SIan Lepore #ifndef FSL_OCOTPVAR_H 30350badf9SIan Lepore #define FSL_OCOTPVAR_H 31350badf9SIan Lepore 32350badf9SIan Lepore uint32_t fsl_ocotp_read_4(bus_size_t _offset); 33350badf9SIan Lepore 34350badf9SIan Lepore #endif 35