lib: 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: I67b9beb43b9935f88c98802f6df3507248324a12
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
This commit is contained in:
Yifeng Zhao 2019-06-25 11:21:58 +08:00
parent 8623fa54b3
commit e91ae64f65
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ static const char * const compat_names[COMPAT_COUNT] = {
COMPAT(ALTERA_SOCFPGA_F2SDR0, "altr,socfpga-fpga2sdram0-bridge"),
COMPAT(ALTERA_SOCFPGA_F2SDR1, "altr,socfpga-fpga2sdram1-bridge"),
COMPAT(ALTERA_SOCFPGA_F2SDR2, "altr,socfpga-fpga2sdram2-bridge"),
COMPAT(ROCKCHIP_NANDC, "rockchip,nandc"),
COMPAT(ROCKCHIP_NANDC, "rockchip,rk-nandc"),
};
const char *fdtdec_get_compatible(enum fdt_compat_id id)