Simon Glass
1a62d64c7d
cli: Support macro processing with a fixed-size buffer
...
At present cli_simple_process_macros() requires that the caller provide
an output buffer that is exactly CONFIG_SYS_CBSIZE bytes in length. This
makes sense since it is designed to be used from the command line. But we
also want to use it for bootargs substitution.
Update the function to allow the caller to specify the buffer size. Also
return an error if the buffer is exhausted. The caller can ignore that if
preferred.
Signed-off-by: Simon Glass <sjg@chromium.org>
2020-12-04 16:10:01 -05:00
..
2020-09-09 16:57:35 -04:00
2020-08-08 11:03:52 -04:00
2020-08-25 09:34:47 +08:00
2020-09-25 11:27:27 +08:00
2020-09-21 16:41:35 +08:00
2020-09-25 11:27:27 +08:00
2020-08-26 09:19:34 +02:00
2020-08-22 07:58:39 -06:00
2020-10-06 09:07:54 -06:00
2020-10-06 07:43:56 +02:00
2020-07-17 08:51:01 -04:00
2020-07-17 10:46:44 -04:00
2020-10-22 09:54:53 -04:00
2020-08-05 08:18:34 -04:00
2020-10-14 11:16:34 -04:00
2020-08-24 11:03:26 +02:00
2020-08-24 14:11:31 -04:00
2020-11-09 17:28:17 +01:00
2020-08-14 15:18:30 -04:00
2020-09-06 21:21:41 +02:00
2020-12-03 21:22:50 +01:00
2020-10-23 13:33:07 -04:00
2020-07-09 18:57:22 -06:00
2020-07-28 19:30:39 -06:00
2020-12-01 10:33:38 -05:00
2020-12-01 14:12:28 -05:00
2020-10-22 09:54:53 -04:00
2020-10-30 10:56:11 -04:00
2020-07-16 12:37:02 +02:00
2020-10-29 09:10:24 -04:00
2020-08-03 22:19:54 -04:00
2020-12-01 10:33:38 -05:00
2020-08-03 22:19:54 -04:00
2020-10-23 13:33:07 -04:00
2020-10-28 11:49:31 -04:00
2020-09-30 16:55:03 -04:00
2020-08-24 16:37:53 +02:00
2020-12-04 16:09:06 -05:00
2020-10-23 16:52:09 +05:30
2020-10-14 11:16:34 -04:00
2020-08-14 15:18:30 -04:00
2020-12-04 16:10:01 -05:00
2020-09-23 14:29:57 +02:00
2020-12-01 10:33:38 -05:00
2020-10-23 13:33:07 -04:00
2020-08-07 22:31:32 -04:00
2020-10-23 13:33:07 -04:00
2020-12-03 21:22:40 +01:00
2020-09-01 14:47:43 +02:00
2020-08-03 22:19:54 -04:00