rockchip: fix a variable typo in function get_bootdev_type

Change-Id: I73d5ac6570eff0a0405f14184dbaadd29ba38a99
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
This commit is contained in:
Andy Yan 2017-11-27 11:10:51 +08:00 committed by Kever Yang
parent 27e702b6e5
commit a039a64ff1
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ int get_bootdev_type(void)
type = BOOT_FROM_SPI_NAND;
#endif /* CONFIG_QSPI_BOOT */
#ifdef CONFIG_NAND_BOOT
typpe = BOOT_FROM_FLASH;
type = BOOT_FROM_FLASH;
#endif /* CONFIG_NAND_BOOT */
#ifdef CONFIG_NOR_BOOT
type = BOOT_FROM_SPI_NOR;