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>
This commit is contained in:
committed by
Patrick Georgi
parent
80f3ac63f2
commit
23df47724d
@@ -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",
|
||||
|
Reference in New Issue
Block a user