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:
parent
6a20f1c71f
commit
8623fa54b3
|
|
@ -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" },
|
||||
{ }
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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" },
|
||||
{ }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue