Skip to content
Snippets Groups Projects
Commit 2ac2bb7a authored by Łukasz Dałek's avatar Łukasz Dałek Committed by Marek Vasut
Browse files

pxa: Add weak attribute to reset_cpu() function


This commit allows pxa2xx based boards to reimplement reset_cpu()
function with board specific reset sequence.

Signed-off-by: default avatarLukasz Dalek <luk0104@gmail.com>
parent 956b03e1
No related branches found
No related tags found
No related merge requests found
......@@ -284,7 +284,7 @@ void i2c_clk_enable(void)
writel(readl(CKEN) | CKEN14_I2C, CKEN);
}
void reset_cpu(ulong ignored) __attribute__((noreturn));
void __attribute__((weak)) reset_cpu(ulong ignored) __attribute__((noreturn));
void reset_cpu(ulong ignored)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment