Yu Tu | 7e2fb26 | 2024-02-02 15:42:36 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
2 | /* | ||||
3 | * Copyright (c) 2023 Amlogic, Inc. All rights reserved. | ||||
4 | */ | ||||
5 | |||||
6 | #include <common.h> | ||||
7 | #include <command.h> | ||||
8 | #include <asm/amlogic/arch/usb.h> | ||||
9 | |||||
10 | static int do_bc_test(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) | ||||
11 | { | ||||
12 | print_aml_bc_port_status(); | ||||
13 | return 0; | ||||
14 | } | ||||
15 | |||||
16 | U_BOOT_CMD(bc_test, 1, 1, do_bc_test, | ||||
17 | "Amlogic BC test", | ||||
18 | "- Check BC Port status.\n" | ||||
19 | ); |