device: Clarify use of `config_of()`
commit7e6ee912c689d01b36735db7d893a35916f01c96
authorNico Huber <nico.h@gmx.de>
Mon, 5 Oct 2020 09:08:44 +0000 (5 11:08 +0200)
committerNico Huber <nico.h@gmx.de>
Thu, 8 Oct 2020 20:31:35 +0000 (8 20:31 +0000)
tree19e4a9ae2bd7c557192dec729306000cd5c7ced0
parentb5e4e3441841d8d1b7fac1240b7c73d288df66d5
device: Clarify use of `config_of()`

We don't want unnecessary die() calls to spread throughout coreboot.
Chances are high that we'd add a NON_FATAL_DIE Kconfig eventually.

Change-Id: I01c7efdf23672bad3a195b7dc1565a3cc8a087bd
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46046
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/include/device/device.h