diff options
author | ganbold <ganbold@FreeBSD.org> | 2014-03-03 11:24:47 +0000 |
---|---|---|
committer | ganbold <ganbold@FreeBSD.org> | 2014-03-03 11:24:47 +0000 |
commit | 3b16f7277a398787e6c7d6d1a4e8750fff51ffcc (patch) | |
tree | b73bb3f53099855f55dacf96c2d839569e45be47 /sys/arm/allwinner/a10_sramc.h | |
parent | e1bf6a5f62b63db8dcbe88e0de8f5c5aff176070 (diff) | |
download | FreeBSD-src-3b16f7277a398787e6c7d6d1a4e8750fff51ffcc.zip FreeBSD-src-3b16f7277a398787e6c7d6d1a4e8750fff51ffcc.tar.gz |
Add Static Random Access Memory controller driver for A10/A20.
A10/A20's SRAM is used by devices, such as CPU, EMAC,
for extra fast memory or as cache.
Approved by: stas (mentor)
Diffstat (limited to 'sys/arm/allwinner/a10_sramc.h')
-rw-r--r-- | sys/arm/allwinner/a10_sramc.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sys/arm/allwinner/a10_sramc.h b/sys/arm/allwinner/a10_sramc.h new file mode 100644 index 0000000..8a16910 --- /dev/null +++ b/sys/arm/allwinner/a10_sramc.h @@ -0,0 +1,34 @@ +/*- + * Copyright (c) 2013 Ganbold Tsagaankhuu <ganbold@gmail.com> + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * $FreeBSD$ + */ + +#ifndef _A10_SRAMC_H_ +#define _A10_SRAMC_H_ + +int a10_map_to_emac(void); + +#endif |