/drivers/block/sunxi_nand/nandtest/nand_test.h

https://bitbucket.org/ndreys/linux-sunxi · C Header · 35 lines · 5 code · 8 blank · 22 comment · 0 complexity · b413019a5f214c6be82ba90de0441c9e MD5 · raw file

  1. /*
  2. * drivers/block/sunxi_nand/nandtest/nand_test.h
  3. *
  4. * (C) Copyright 2007-2012
  5. * Allwinner Technology Co., Ltd. <www.allwinnertech.com>
  6. *
  7. * This program is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU General Public License as
  9. * published by the Free Software Foundation; either version 2 of
  10. * the License, or (at your option) any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with this program; if not, write to the Free Software
  19. * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  20. * MA 02111-1307 USA
  21. */
  22. #ifndef __NAND_TEST_H__
  23. #define __NAND_TEST_H__
  24. #define INIT_NAND_IN_TESTDRIVER
  25. //#define NAND_CACHE_RW
  26. #define REPEAT_TIMES 500000
  27. #endif