From: Christian Lamparter Date: Sat, 14 Aug 2010 21:03:42 +0000 (+0200) Subject: carl9170 firmware: boot-up interrupt X-Git-Tag: 1.8.5^0 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=1386db71e21e2d9eacc21b0986f1f91fb441b519;p=carl9170fw.git carl9170 firmware: boot-up interrupt The firmware now generates an interrupt after it booted. Signed-off-by: Christian Lamparter --- diff --git a/carlfw/src/main.c b/carlfw/src/main.c index 9b2a09c..f62e5ee 100644 --- a/carlfw/src/main.c +++ b/carlfw/src/main.c @@ -149,5 +149,10 @@ void __attribute__((noreturn)) start(void) " ~`!1@2#3$4%%5^6&7*8(9)0_-+={[}]|\\:;\"'<,>.?/"); #endif /* CONFIG_CARL9170FW_DEBUG */ + /* + * Tell the host, that the firmware has booted and is + * now ready to process requests. + */ + send_cmd_to_host(0, CARL9170_RSP_BOOT, 0x00, NULL); main_loop(); } diff --git a/include/shared/fwcmd.h b/include/shared/fwcmd.h index af2fbbe..be62c9c 100644 --- a/include/shared/fwcmd.h +++ b/include/shared/fwcmd.h @@ -85,6 +85,7 @@ enum carl9170_cmd_oids { CARL9170_RSP_HEXDUMP = 0xcc, CARL9170_RSP_RADAR = 0xcd, CARL9170_RSP_GPIO = 0xce, + CARL9170_RSP_BOOT = 0xcf, }; struct carl9170_set_key_cmd {