flash.c 600 B

123456789101112131415161718192021222324252627
  1. /*
  2. * (C) Copyright 2003
  3. * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  4. *
  5. * SPDX-License-Identifier: GPL-2.0+
  6. */
  7. #include <common.h>
  8. flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* info for FLASH chips */
  9. /*-----------------------------------------------------------------------
  10. * flash_init()
  11. *
  12. * sets up flash_info and returns size of FLASH (bytes)
  13. */
  14. unsigned long flash_init (void)
  15. {
  16. printf ("Skipping flash_init\n");
  17. return (0);
  18. }
  19. int write_buff (flash_info_t * info, uchar * src, ulong addr, ulong cnt)
  20. {
  21. printf ("write_buff not implemented\n");
  22. return (-1);
  23. }