codec.c 550 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * (C) Copyright 2004
  3. * Pantelis Antoniou, Intracom S.A. , panto@intracom.gr
  4. *
  5. * SPDX-License-Identifier: GPL-2.0+
  6. */
  7. #include <common.h>
  8. /*
  9. * CODEC test
  10. *
  11. * This test verifies the connection and performs a memory test
  12. * on any connected codec(s). The meat of the work is done
  13. * in the board specific function.
  14. */
  15. #include <post.h>
  16. #if CONFIG_POST & CONFIG_SYS_POST_CODEC
  17. extern int board_post_codec(int flags);
  18. int codec_post_test (int flags)
  19. {
  20. return board_post_codec(flags);
  21. }
  22. #endif /* CONFIG_POST & CONFIG_SYS_POST_CODEC */