]> git.baikalelectronics.ru Git - kernel.git/commit
memory: brcmstb: dpfe: skip downloading firmware when possible
authorMarkus Mayer <mmayer@broadcom.com>
Mon, 2 Oct 2017 23:13:47 +0000 (16:13 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Fri, 6 Oct 2017 23:19:14 +0000 (16:19 -0700)
commitc7a604a0bca772832e537003aa7457b71bd520da
treec3bf7a70dbcbad81e2c93ed14b3984a9f79f9116
parent371bb23e85289acf42d00a0f93707f21170671e3
memory: brcmstb: dpfe: skip downloading firmware when possible

We want to skip downloading the DPFE firmware from Linux if it was
already downloaded by the boot loader.

The driver now checks if the DCPU is already running and, if so,
whether it can process commands. If the DCPU processes commands
successfully, the driver skips the firmware download step.

Signed-off-by: Markus Mayer <mmayer@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
drivers/memory/brcmstb_dpfe.c