summaryrefslogtreecommitdiff
path: root/src/lib/fit.c
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2019-05-17 22:50:18 -0700
committerPatrick Georgi <pgeorgi@google.com>2019-06-21 09:23:19 +0000
commit23df47724d792207fc99864acabf2cd234ac0d9d (patch)
tree27700d128333339ac718a0012ab968ec7af1bf66 /src/lib/fit.c
parent80f3ac63f2d73c96ae394ec26361f16ab7724687 (diff)
downloadcoreboot-23df47724d792207fc99864acabf2cd234ac0d9d.tar.xz
device_tree: Update comment style to C89
This code was copied from depthcharge which uses C99 comment style, but coreboot uses C89 comment style. Update to match coreboot. Change-Id: Ib67bb9ff17b7688826071453ab58894a0835ce10 Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32875 Reviewed-by: Patrick Rudolph <siro@das-labor.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/lib/fit.c')
-rw-r--r--src/lib/fit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/fit.c b/src/lib/fit.c
index 37dfc8de98..045f52f408 100644
--- a/src/lib/fit.c
+++ b/src/lib/fit.c
@@ -419,8 +419,8 @@ void fit_update_memory(struct device_tree *tree)
*/
static int fit_update_compat(struct fit_config_node *config)
{
- // If there was no "compatible" property in config node, this is a
- // legacy FIT image. Must extract compat prop from FDT itself.
+ /* If there was no "compatible" property in config node, this is a
+ legacy FIT image. Must extract compat prop from FDT itself. */
if (!config->compat.name) {
void *fdt_blob = config->fdt->data;
const struct fdt_header *fdt_header = fdt_blob;
@@ -434,7 +434,7 @@ static int fit_update_compat(struct fit_config_node *config)
return -1;
}
- // FDT overlays are not supported in legacy FIT images.
+ /* FDT overlays are not supported in legacy FIT images. */
if (config->overlays.next) {
printk(BIOS_ERR,
"ERROR: config %s has overlay but no compat!\n",