X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=lib%2Fpb-protocol%2Fpb-protocol.c;h=1d1a84b8901a3069c6a957382b992b395dc7b7f4;hp=54dfbf4e1f4e9469f627351268447f426d6afd9e;hb=c25601a71b0951225691aa2edc389826f7f3836c;hpb=dd1b59120f585b2c27d30778e8d81467221a733c diff --git a/lib/pb-protocol/pb-protocol.c b/lib/pb-protocol/pb-protocol.c index 54dfbf4..1d1a84b 100644 --- a/lib/pb-protocol/pb-protocol.c +++ b/lib/pb-protocol/pb-protocol.c @@ -38,6 +38,14 @@ * action = 0x2: device remove message * payload: * 4-byte len, id + * + * action = 0x3: boot + * payload: + * 4-byte len, boot option id + * 4-byte len, boot_image_file + * 4-byte len, initrd_file + * 4-byte len, boot_args + * */ void pb_protocol_dump_device(const struct device *dev, const char *text, @@ -210,6 +218,7 @@ int pb_protocol_serialise_device(const struct device *dev, char *buf, int buf_le } assert(pos <= buf + buf_len); + (void)buf_len; return 0; }