upstream u-boot with additional patches for our devices/boards:
https://lists.denx.de/pipermail/u-boot/2017-March/282789.html (AXP crashes) ;
Gbit ethernet patch for some LIME2 revisions ;
with SPI flash support
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
462 B
22 lines
462 B
9 years ago
|
/*
|
||
|
* Copyright (c) 2011 The Chromium OS Authors.
|
||
|
* SPDX-License-Identifier: GPL-2.0+
|
||
|
*/
|
||
|
|
||
|
#include <common.h>
|
||
|
#include <asm/io.h>
|
||
|
|
||
|
DECLARE_GLOBAL_DATA_PTR;
|
||
|
|
||
|
int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images)
|
||
|
{
|
||
|
if (flag & (BOOTM_STATE_OS_GO | BOOTM_STATE_OS_FAKE_GO)) {
|
||
|
bootstage_mark(BOOTSTAGE_ID_RUN_OS);
|
||
|
printf("## Transferring control to Linux (at address %08lx)...\n",
|
||
|
images->ep);
|
||
|
reset_cpu(0);
|
||
|
}
|
||
|
|
||
|
return 0;
|
||
|
}
|