/include/linux/mbus.h

https://bitbucket.org/thekraven/iscream_thunderc-2.6.35 · C++ Header · 36 lines · 14 code · 5 blank · 17 comment · 0 complexity · 286880ccaab235f43d2b727f9f206f28 MD5 · raw file

  1. /*
  2. * Marvell MBUS common definitions.
  3. *
  4. * Copyright (C) 2008 Marvell Semiconductor
  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 __LINUX_MBUS_H
  11. #define __LINUX_MBUS_H
  12. struct mbus_dram_target_info
  13. {
  14. /*
  15. * The 4-bit MBUS target ID of the DRAM controller.
  16. */
  17. u8 mbus_dram_target_id;
  18. /*
  19. * The base address, size, and MBUS attribute ID for each
  20. * of the possible DRAM chip selects. Peripherals are
  21. * required to support at least 4 decode windows.
  22. */
  23. int num_cs;
  24. struct mbus_dram_window {
  25. u8 cs_index;
  26. u8 mbus_attr;
  27. u32 base;
  28. u32 size;
  29. } cs[4];
  30. };
  31. #endif