aboutsummaryrefslogtreecommitdiff
path: root/util/sconfig
diff options
context:
space:
mode:
Diffstat (limited to 'util/sconfig')
-rw-r--r--util/sconfig/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/sconfig/main.c b/util/sconfig/main.c
index 5eb74dace2..27027f567c 100644
--- a/util/sconfig/main.c
+++ b/util/sconfig/main.c
@@ -164,10 +164,10 @@ struct device *new_chip(struct device *parent, struct device *bus, char *path) {
char *chip_h = malloc(strlen(path)+18);
sprintf(chip_h, "src/%s", path);
if ((stat(chip_h, &st) == -1) && (errno == ENOENT)) {
- if (strstr(path, "/root_complex")) {
- fprintf(stderr, "WARNING: Use of deprecated chip component %s\n",
- path);
- } else {
+ /* root_complex gets away without a separate directory, but
+ * exists on on pretty much all AMD chipsets.
+ */
+ if (!strstr(path, "/root_complex")) {
fprintf(stderr, "ERROR: Chip component %s does not exist.\n",
path);
exit(1);