remove check for interrupt-controller property under /chosen
Remove warning for missing interrupt-controller property under /chosen. There is consensus that this property does not belong here. Also, add a warning if interrupt-controller _is_ found under /chosen. Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>
This commit is contained in:
parent
3948849fd0
commit
5ae78ad8f8
1 changed files with 9 additions and 2 deletions
11
livetree.c
11
livetree.c
|
@ -594,9 +594,16 @@ static int check_chosen(struct node *root)
|
|||
|
||||
CHECK_HAVE_WARN_STRING(chosen, "bootargs");
|
||||
CHECK_HAVE_WARN_STRING(chosen, "linux,stdout-path");
|
||||
CHECK_HAVE_WARN_PHANDLE(chosen, "interrupt-controller", root);
|
||||
|
||||
return ok;
|
||||
/* give warning for obsolete interrupt-controller property */
|
||||
do {
|
||||
if ((prop = get_property(chosen, "interrupt-controller")) != NULL) {
|
||||
WARNMSG("%s has obsolete \"%s\" property\n",
|
||||
chosen->fullpath, "interrupt-controller");
|
||||
}
|
||||
} while (0);
|
||||
|
||||
return ok;
|
||||
}
|
||||
|
||||
static int check_addr_size_reg(struct node *node,
|
||||
|
|
Loading…
Reference in a new issue