All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] igep003x: Falcon mode
Date: Mon, 26 Jun 2017 07:10:48 +0200	[thread overview]
Message-ID: <59509758.80509@denx.de> (raw)
In-Reply-To: <20170625083047.x7jcyodwiqmkra2w@lenoch>

Hello Ladislav,

Am 25.06.2017 um 10:30 schrieb Ladislav Michl:
> Implement spl_start_uboot to let Falcon mode work.
>
> Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
> ---
>   board/isee/igep003x/board.c       | 8 ++++++++
>   configs/am335x_igep003x_defconfig | 1 +
>   2 files changed, 9 insertions(+)

Thanks!

Acked-by: Heiko Schocher <hs@denx.de>

bye,
Heiko
>
> diff --git a/board/isee/igep003x/board.c b/board/isee/igep003x/board.c
> index 2d0ebbf5ef..e33170d65f 100644
> --- a/board/isee/igep003x/board.c
> +++ b/board/isee/igep003x/board.c
> @@ -166,6 +166,14 @@ void sdram_init(void)
>   		config_ddr(400, &ioregs_igep0034_lite, &ddr3_igep0034_lite_data,
>   			&ddr3_igep0034_lite_cmd_ctrl_data, &ddr3_igep0034_lite_emif_reg_data, 0);
>   }
> +
> +#ifdef CONFIG_SPL_OS_BOOT
> +int spl_start_uboot(void)
> +{
> +	/* break into full u-boot on 'c' */
> +	return serial_tstc() && serial_getc() == 'c';
> +}
> +#endif
>   #endif
>
>   /*
> diff --git a/configs/am335x_igep003x_defconfig b/configs/am335x_igep003x_defconfig
> index df7d1c69af..8fc31461f1 100644
> --- a/configs/am335x_igep003x_defconfig
> +++ b/configs/am335x_igep003x_defconfig
> @@ -22,6 +22,7 @@ CONFIG_SPL_STACK_R=y
>   CONFIG_SPL_EXT_SUPPORT=y
>   CONFIG_SPL_I2C_SUPPORT=y
>   CONFIG_SPL_MTD_SUPPORT=y
> +CONFIG_SPL_OS_BOOT=y
>   CONFIG_SPL_POWER_SUPPORT=y
>   CONFIG_SPL_YMODEM_SUPPORT=y
>   CONFIG_HUSH_PARSER=y
>

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

  reply	other threads:[~2017-06-26  5:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-25  8:30 [U-Boot] [PATCH] igep003x: Falcon mode Ladislav Michl
2017-06-26  5:10 ` Heiko Schocher [this message]
2017-07-07 11:41 ` [U-Boot] " Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=59509758.80509@denx.de \
    --to=hs@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.