static struct nand_env_location location[2] = {0}; location[0].name = "NAND"; location[0].erase_opts.length = CONFIG_ENV_RANGE; location[0].erase_opts.offset = env_get_offset(CONFIG_ENV_OFFSET); #ifdef CONFIG_EN
IE DO NOT use the following:: struct static_key false = STATIC_KEY_INIT_FALSE; struct static_key true = STATIC_KEY_INIT_TRUE; static_key_true() static_key_false() The updated API replacements are:: DEFINE_STATIC_KEY_TRUE(key); DEFINE_STATIC_KEY_FALSE(key); DEFINE_STAT...