From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Thu, 21 Jan 2016 07:08:18 +0100 Subject: [U-Boot] [PATCHv4 7/7] igep00x0: Falcon mode In-Reply-To: <20160117031650.GH28493@localhost.localdomain> References: <20160117030929.GA28493@localhost.localdomain> <20160117031650.GH28493@localhost.localdomain> Message-ID: <56A075D2.5080407@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Ladislav, Am 17.01.2016 um 04:16 schrieb Ladislav Michl: > Implement spl_start_uboot to let Falcon mode work. > > Signed-off-by: Ladislav Michl > --- > board/isee/igep00x0/igep00x0.c | 12 ++++++++++++ > 1 file changed, 12 insertions(+) Reviewed-by: Heiko Schocher bye, Heiko > > diff --git a/board/isee/igep00x0/igep00x0.c b/board/isee/igep00x0/igep00x0.c > index e2fce50..92811d8 100644 > --- a/board/isee/igep00x0/igep00x0.c > +++ b/board/isee/igep00x0/igep00x0.c > @@ -10,6 +10,7 @@ > #include > #include > #include > +#include > #include > #include > #include > @@ -212,3 +213,14 @@ int board_eth_init(bd_t *bis) > #endif > } > #endif > + > +#ifdef CONFIG_SPL_OS_BOOT > +int spl_start_uboot(void) > +{ > + /* break into full u-boot on 'c' */ > + if (serial_tstc() && serial_getc() == 'c') > + return 1; > + > + return 0; > +} > +#endif > -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany