1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-15 23:11:36 +02:00

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: Lukasz Dalek <luk0104@gmail.com>
This commit is contained in:
Łukasz Dałek
2013-01-12 15:32:32 +00:00
committed by Marek Vasut
parent 956b03e180
commit 2ac2bb7ad2

View File

@@ -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)
{