mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01: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:
parent
956b03e180
commit
2ac2bb7ad2
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue