Wolfgang Denk | ad5bb45 | 2007-03-06 18:08:43 +0100 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2004 |
| 3 | * Pantelis Antoniou, Intracom S.A. , panto@intracom.gr |
| 4 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
Wolfgang Denk | ad5bb45 | 2007-03-06 18:08:43 +0100 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #include <common.h> |
| 9 | |
| 10 | /* |
| 11 | * CODEC test |
| 12 | * |
| 13 | * This test verifies the connection and performs a memory test |
| 14 | * on any connected codec(s). The meat of the work is done |
| 15 | * in the board specific function. |
| 16 | */ |
| 17 | |
Wolfgang Denk | ad5bb45 | 2007-03-06 18:08:43 +0100 | [diff] [blame] | 18 | #include <post.h> |
| 19 | |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 20 | #if CONFIG_POST & CONFIG_SYS_POST_CODEC |
Wolfgang Denk | ad5bb45 | 2007-03-06 18:08:43 +0100 | [diff] [blame] | 21 | |
| 22 | extern int board_post_codec(int flags); |
| 23 | |
| 24 | int codec_post_test (int flags) |
| 25 | { |
| 26 | return board_post_codec(flags); |
| 27 | } |
| 28 | |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 29 | #endif /* CONFIG_POST & CONFIG_SYS_POST_CODEC */ |