1 /* 2 * Copyright (C) 2019 Allwinnertech Co.Ltd 3 * Authors: zhengwanyu 4 * 5 * This program is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License as published by the 7 * Free Software Foundation; either version 2 of the License, or (at your 8 * option) any later version. 9 * 10 */ 11 #ifndef _SUNXI_CONFIG_H_ 12 #define _SUNXI_CONFIG_H_ 13 14 /*define DE Version*/ 15 #if defined(CONFIG_ARCH_SUN50IW1) 16 #define LOWLEVEL_SUN50IW1 17 18 #elif defined(CONFIG_ARCH_SUN8IW11) \ 19 || defined(CONFIG_ARCH_SUN8IW12) \ 20 || defined(CONFIG_ARCH_SUN8IW15) \ 21 || defined(CONFIG_ARCH_SUN8IW6) \ 22 || defined(CONFIG_ARCH_SUN8IW7) \ 23 || defined(CONFIG_ARCH_SUN50IW8) 24 #define LOWLEVEL_V2X 25 26 #elif defined(CONFIG_ARCH_SUN50IW3) \ 27 || defined(CONFIG_ARCH_SUN50IW6) 28 #define LOWLEVEL_V3X 29 30 #elif defined(CONFIG_ARCH_SUN50IW5T) \ 31 || defined(CONFIG_ARCH_SUN50IW9) 32 #define LOWLEVEL_V33X 33 34 #else 35 //"Compile ERROR!!!" 36 #endif 37 38 #endif 39