platform.h 593 B

12345678910111213141516171819202122232425
  1. /*
  2. * asm-arm/arch-orion/platform.h
  3. *
  4. * Tzachi Perelstein <tzachi@marvell.com>
  5. *
  6. * This file is licensed under the terms of the GNU General Public
  7. * License version 2. This program is licensed "as is" without any
  8. * warranty of any kind, whether express or implied.
  9. */
  10. #ifndef __ASM_ARCH_PLATFORM_H__
  11. #define __ASM_ARCH_PLATFORM_H__
  12. /*
  13. * Device bus NAND private data
  14. */
  15. struct orion_nand_data {
  16. struct mtd_partition *parts;
  17. u32 nr_parts;
  18. u8 ale; /* address line number connected to ALE */
  19. u8 cle; /* address line number connected to CLE */
  20. u8 width; /* buswidth */
  21. };
  22. #endif