137c5dfcdSGanbold Tsagaankhuu /*- 2*4d846d26SWarner Losh * SPDX-License-Identifier: BSD-2-Clause 3af3dc4a7SPedro F. Giffuni * 4fe47fb7bSGanbold Tsagaankhuu * Copyright (c) 2013 Ganbold Tsagaankhuu <ganbold@freebsd.org> 537c5dfcdSGanbold Tsagaankhuu * All rights reserved. 637c5dfcdSGanbold Tsagaankhuu * 737c5dfcdSGanbold Tsagaankhuu * Redistribution and use in source and binary forms, with or without 837c5dfcdSGanbold Tsagaankhuu * modification, are permitted provided that the following conditions 937c5dfcdSGanbold Tsagaankhuu * are met: 1037c5dfcdSGanbold Tsagaankhuu * 1. Redistributions of source code must retain the above copyright 1137c5dfcdSGanbold Tsagaankhuu * notice, this list of conditions and the following disclaimer. 1237c5dfcdSGanbold Tsagaankhuu * 2. Redistributions in binary form must reproduce the above copyright 1337c5dfcdSGanbold Tsagaankhuu * notice, this list of conditions and the following disclaimer in the 1437c5dfcdSGanbold Tsagaankhuu * documentation and/or other materials provided with the distribution. 1537c5dfcdSGanbold Tsagaankhuu * 1637c5dfcdSGanbold Tsagaankhuu * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1737c5dfcdSGanbold Tsagaankhuu * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1837c5dfcdSGanbold Tsagaankhuu * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1937c5dfcdSGanbold Tsagaankhuu * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2037c5dfcdSGanbold Tsagaankhuu * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2137c5dfcdSGanbold Tsagaankhuu * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2237c5dfcdSGanbold Tsagaankhuu * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION 2337c5dfcdSGanbold Tsagaankhuu * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2437c5dfcdSGanbold Tsagaankhuu * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY 2537c5dfcdSGanbold Tsagaankhuu * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2637c5dfcdSGanbold Tsagaankhuu * SUCH DAMAGE. 2737c5dfcdSGanbold Tsagaankhuu */ 2837c5dfcdSGanbold Tsagaankhuu 2937c5dfcdSGanbold Tsagaankhuu #ifndef _A10_SRAMC_H_ 3037c5dfcdSGanbold Tsagaankhuu #define _A10_SRAMC_H_ 3137c5dfcdSGanbold Tsagaankhuu 3237c5dfcdSGanbold Tsagaankhuu int a10_map_to_emac(void); 33ce459692SJared McNeill int a10_map_to_otg(void); 3437c5dfcdSGanbold Tsagaankhuu 3537c5dfcdSGanbold Tsagaankhuu #endif 36