* [PATCH] bbremote: add missing 'md' packet handler
@ 2018-08-21 15:07 Aleksander Morgado
2018-08-22 7:34 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Aleksander Morgado @ 2018-08-21 15:07 UTC (permalink / raw)
To: barebox, s.hauer; +Cc: Aleksander Morgado
Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
---
scripts/remote/controller.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/scripts/remote/controller.py b/scripts/remote/controller.py
index 2ed834613..1a8390904 100644
--- a/scripts/remote/controller.py
+++ b/scripts/remote/controller.py
@@ -46,6 +46,9 @@ def unpack(data):
elif p_type == BBType.fs_return:
logging.debug("received: fs_return")
return BBPacketFSReturn(raw=data)
+ elif p_type == BBType.md:
+ logging.debug("received: md")
+ return BBPacketMd(raw=data)
elif p_type == BBType.md_return:
logging.debug("received: md_return")
return BBPacketMdReturn(raw=data)
--
2.18.0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] bbremote: add missing 'md' packet handler
2018-08-21 15:07 [PATCH] bbremote: add missing 'md' packet handler Aleksander Morgado
@ 2018-08-22 7:34 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2018-08-22 7:34 UTC (permalink / raw)
To: Aleksander Morgado; +Cc: barebox
On Tue, Aug 21, 2018 at 05:07:00PM +0200, Aleksander Morgado wrote:
> Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
> ---
> scripts/remote/controller.py | 3 +++
> 1 file changed, 3 insertions(+)
Applied, thanks
Sascha
>
> diff --git a/scripts/remote/controller.py b/scripts/remote/controller.py
> index 2ed834613..1a8390904 100644
> --- a/scripts/remote/controller.py
> +++ b/scripts/remote/controller.py
> @@ -46,6 +46,9 @@ def unpack(data):
> elif p_type == BBType.fs_return:
> logging.debug("received: fs_return")
> return BBPacketFSReturn(raw=data)
> + elif p_type == BBType.md:
> + logging.debug("received: md")
> + return BBPacketMd(raw=data)
> elif p_type == BBType.md_return:
> logging.debug("received: md_return")
> return BBPacketMdReturn(raw=data)
> --
> 2.18.0
>
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-08-22 7:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-21 15:07 [PATCH] bbremote: add missing 'md' packet handler Aleksander Morgado
2018-08-22 7:34 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox