board-sdp.h 556 B

123456789101112131415161718192021
  1. /*
  2. * board-sdp.h
  3. *
  4. * Information structures for SDP-specific board config data
  5. *
  6. * Copyright (C) 2009 Nokia Corporation
  7. * Copyright (C) 2009 Texas Instruments
  8. *
  9. * This program is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License version 2 as
  11. * published by the Free Software Foundation.
  12. */
  13. #include <linux/mtd/mtd.h>
  14. #include <linux/mtd/partitions.h>
  15. struct flash_partitions {
  16. struct mtd_partition *parts;
  17. int nr_parts;
  18. };
  19. extern void sdp_flash_init(struct flash_partitions []);