9
0
Fork 0

omap4: add usb boot source

Signed-off-by: Vicente <vicencb@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Vicente 2012-10-09 00:55:16 +02:00 committed by Sascha Hauer
parent b474168b90
commit 9a6fd89480
2 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,7 @@ enum omap_boot_src {
OMAP_BOOTSRC_MMC1,
OMAP_BOOTSRC_NAND,
OMAP_BOOTSRC_SPI1,
OMAP_BOOTSRC_USB1,
};
enum omap_boot_src omap3_bootsrc(void);

View File

@ -481,6 +481,8 @@ enum omap_boot_src omap4_bootsrc(void)
return OMAP_BOOTSRC_MMC1;
if (bootsrc & (1 << 3))
return OMAP_BOOTSRC_NAND;
if (bootsrc & (1<<20))
return OMAP_BOOTSRC_USB1;
return OMAP_BOOTSRC_UNKNOWN;
}