2 * cled.c - control color led
4 * Copyright (c) 2010 BCT Electronic GmbH
6 * Licensed under the GPL-2 or later.
11 #include <asm/blackfin.h>
14 int do_cled(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
16 ulong addr = 0x20000000 + 0x200000; /* AMS2 */
20 return cmd_usage(cmdtp);
22 data = simple_strtoul(argv[1], NULL, 10);
25 printf("cled, write %02x\n", data);
30 U_BOOT_CMD(cled, 2, 0, do_cled,
31 "set/clear color LED",