Source
1
1
// SPDX-License-Identifier: GPL-2.0+
2
2
3
3
#include <common.h>
4
4
#include <dm.h>
5
5
6
6
/* Firmware access is platform-dependent. No generic code in uclass */
7
7
UCLASS_DRIVER(firmware) = {
8
8
.id = UCLASS_FIRMWARE,
9
9
.name = "firmware",
10
-
#if CONFIG_IS_ENABLED(OF_CONTROL)
10
+
#if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)
11
11
.post_bind = dm_scan_fdt_dev,
12
12
#endif
13
13
};