rockchip: nand: modify udevice_id to compatible with NAND driver include FTL

Modify the opensource nandc driver to compatible with
the NAND driver include FTL,which used udevice_id
"rockchip,rk-nandc".

Change-Id: I8dda456aed89e15b2b9885e8d9d723f2d2e84ccb
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
This commit is contained in:
Yifeng Zhao 2019-06-20 14:49:56 +08:00
parent 6a20f1c71f
commit 8623fa54b3
2 changed files with 2 additions and 2 deletions

View File

@ -639,7 +639,7 @@ static int rockchip_nand_chips_init(int node, struct rk_nand *rknand)
#ifdef CONFIG_NAND_ROCKCHIP_DT
static const struct udevice_id rockchip_nandc_ids[] = {
{ .compatible = "rockchip,nandc" },
{ .compatible = "rockchip,rk-nandc" },
{ }
};

View File

@ -640,7 +640,7 @@ static int rockchip_nand_chips_init(int node, struct rk_nand *rknand)
#ifdef CONFIG_NAND_ROCKCHIP_DT
static const struct udevice_id rockchip_nandc_ids[] = {
{ .compatible = "rockchip,nandc" },
{ .compatible = "rockchip,rk-nandc" },
{ }
};