]> git.ipfire.org Git - thirdparty/u-boot.git/blame - test/env/fdt.c
Revert "Merge patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet""
[thirdparty/u-boot.git] / test / env / fdt.c
CommitLineData
d678a59d 1#include <common.h>
8c72842a
RV
2#include <command.h>
3#include <env_attr.h>
4#include <test/env.h>
5#include <test/ut.h>
6
7static int env_test_fdt_import(struct unit_test_state *uts)
8{
9 const char *val;
10
11 val = env_get("from_fdt");
12 ut_assertnonnull(val);
13 ut_asserteq_str("yes", val);
14
15 val = env_get("fdt_env_path");
16 ut_assertnull(val);
17
18 return 0;
19}
20ENV_TEST(env_test_fdt_import, 0);