[PATCH 2/3] MIPS: black-swift: skip pbl lowlevel init if running from RAM

Yegor Yefremov yegorslists at googlemail.com
Tue Nov 10 23:42:06 PST 2015


On Wed, Nov 11, 2015 at 2:09 AM, Antony Pavlov <antonynpavlov at gmail.com> wrote:
> Black Swift has 16 MiB flash boot ROM that can be remapped to 0xbf000000.
>
> Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
> ---
>  arch/mips/boards/black-swift/include/board/board_pbl_start.h | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/arch/mips/boards/black-swift/include/board/board_pbl_start.h b/arch/mips/boards/black-swift/include/board/board_pbl_start.h
> index f78e0d9..7394092 100644
> --- a/arch/mips/boards/black-swift/include/board/board_pbl_start.h
> +++ b/arch/mips/boards/black-swift/include/board/board_pbl_start.h
> @@ -28,9 +28,12 @@
>
>         mips_disable_interrupts
>
> +       pbl_blt 0xbf000000 skip_pll_ram_config t8
> +
>         pbl_ar9331_pll
>         pbl_ar9331_ddr2_config
>
> +skip_pll_ram_config:
>         pbl_ar9331_uart_enable
>         debug_ll_ar9331_init
>         mips_nmon
> --
> 2.6.2

Tested-by: Yegor Yefremov <yegorslists at googlemail.com>



More information about the barebox mailing list