Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * Copyright 2014 Maxime Ripard
0003  *
0004  * Maxime Ripard <maxime.ripard@free-electrons.com>
0005  *
0006  * This file is dual-licensed: you can use it either under the terms
0007  * of the GPL or the X11 license, at your option. Note that this dual
0008  * licensing only applies to this file, and not this project as a
0009  * whole.
0010  *
0011  *  a) This file is free software; you can redistribute it and/or
0012  *     modify it under the terms of the GNU General Public License as
0013  *     published by the Free Software Foundation; either version 2 of the
0014  *     License, or (at your option) any later version.
0015  *
0016  *     This file is distributed in the hope that it will be useful,
0017  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
0018  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0019  *     GNU General Public License for more details.
0020  *
0021  *     You should have received a copy of the GNU General Public
0022  *     License along with this file; if not, write to the Free
0023  *     Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
0024  *     MA 02110-1301 USA
0025  *
0026  * Or, alternatively,
0027  *
0028  *  b) Permission is hereby granted, free of charge, to any person
0029  *     obtaining a copy of this software and associated documentation
0030  *     files (the "Software"), to deal in the Software without
0031  *     restriction, including without limitation the rights to use,
0032  *     copy, modify, merge, publish, distribute, sublicense, and/or
0033  *     sell copies of the Software, and to permit persons to whom the
0034  *     Software is furnished to do so, subject to the following
0035  *     conditions:
0036  *
0037  *     The above copyright notice and this permission notice shall be
0038  *     included in all copies or substantial portions of the Software.
0039  *
0040  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
0041  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
0042  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
0043  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
0044  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
0045  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
0046  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
0047  *     OTHER DEALINGS IN THE SOFTWARE.
0048  */
0049 
0050 #ifndef __DT_BINDINGS_DMA_SUN4I_A10_H_
0051 #define __DT_BINDINGS_DMA_SUN4I_A10_H_
0052 
0053 #define SUN4I_DMA_NORMAL    0
0054 #define SUN4I_DMA_DEDICATED 1
0055 
0056 #endif /* __DT_BINDINGS_DMA_SUN4I_A10_H_ */