flash.c 597 B

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