summaryrefslogtreecommitdiffstats
path: root/scripts/omap3-usb-loader.c
Commit message (Collapse)AuthorAgeFilesLines
* scripts: Replace license and copyright boilerplate by SPDX identifiersUwe Kleine-König2021-02-161-15/+5
| | | | | | | | | Convert the files that licensecheck can determine to be licensed under GPL-2.0-only or GPL-2.0-or-later and also convert the copyright statements to SPDX. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* scripts: omap3-usb-loader: drop unneeded headerAhmad Fatoum2019-05-281-4/+0
| | | | | | | Declarations from the header aren't used anywhere, so drop it. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* scripts: omap3-usb-loader: don't depend on unportable le32tohAhmad Fatoum2019-05-281-1/+1
| | | | | | | | The file already defines le32_to_cpu(), which does the same, so use it. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* scripts: omap3-usb-loader: fix compiler warningSascha Hauer2018-06-111-6/+4
| | | | | | | | | | Compiling omap3-usb-loader issues the warning: warning: self-comparison always evaluates to true [-Wtautological-compare] Just remove the bogus test. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: OMAP: Add omap3 USB loader toolSascha Hauer2015-07-021-0/+921
The OMAP3 supports uploading the first stage bootloader via USB. The ROM leaves the MUSB controller enabled and it can then be used to upload a 2nd stage image. This patch adds the omap3-usb-loader tool and the necessary barebox support to upload the 2nd stage image. The omap usb loader tool is downloaded from https://github.com/grant-h/omap_loader and changed to also accept CHSETTINGS images. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>