summaryrefslogtreecommitdiffstats
path: root/common/bootsource.c
Commit message (Collapse)AuthorAgeFilesLines
* bootsource: Add NET bootsourceWadim Egorov2015-05-271-0/+1
| | | | | Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* bootsource: add definition for i2c-eeprom, spi-nor, spi-eeprom and usbMarc Kleine-Budde2013-04-041-0/+4
| | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* bootsource: add support for bootsource instance informationMarc Kleine-Budde2013-04-041-0/+24
| | | | | | | | | | | | Add a C interface to set and get the bootsource instance: int bootsource_get_instance(void); void bootsource_set_instance(int instance); Also export the shell variable "bootsource_instance". Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* bootsource: use initcall to export bootsource location to environmentMarc Kleine-Budde2013-04-041-1/+10
| | | | | | | This way the bootsource is exported to the environment, even if unknown. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* bootsource: create arch independent bootsource frameworkMarc Kleine-Budde2013-04-041-0/+53
This patch seperates the imx independent from the arch independent code. The following functions and enums are renamed: - imx_bootsource() -> bootsource_get() - imx_set_bootsource() -> bootsource_set() - enum imx_bootsource -> enum bootsource Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>