sconfig: remove warning about root_complex
It's not deprecated if it's still in active use. The code layout is just "funny" (and could warrant a chipset-side cleanup, but not today) Change-Id: I5f7776ceba0134f20364a0c4a1ca51382e9877e2 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: http://review.coreboot.org/12429 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
2035d9aa94
commit
92bcaa2226
|
@ -164,10 +164,10 @@ struct device *new_chip(struct device *parent, struct device *bus, char *path) {
|
||||||
char *chip_h = malloc(strlen(path)+18);
|
char *chip_h = malloc(strlen(path)+18);
|
||||||
sprintf(chip_h, "src/%s", path);
|
sprintf(chip_h, "src/%s", path);
|
||||||
if ((stat(chip_h, &st) == -1) && (errno == ENOENT)) {
|
if ((stat(chip_h, &st) == -1) && (errno == ENOENT)) {
|
||||||
if (strstr(path, "/root_complex")) {
|
/* root_complex gets away without a separate directory, but
|
||||||
fprintf(stderr, "WARNING: Use of deprecated chip component %s\n",
|
* exists on on pretty much all AMD chipsets.
|
||||||
path);
|
*/
|
||||||
} else {
|
if (!strstr(path, "/root_complex")) {
|
||||||
fprintf(stderr, "ERROR: Chip component %s does not exist.\n",
|
fprintf(stderr, "ERROR: Chip component %s does not exist.\n",
|
||||||
path);
|
path);
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
Loading…
Reference in New Issue