[U-Boot] [PATCH] arm: socfpga: Fix booting from QSPI flash on socdk board.

Jagan Teki jteki at openedev.com
Tue Feb 2 17:07:16 CET 2016


On 1 February 2016 at 14:08, shengjiangwu <shengjiangwu at icloud.com> wrote:
> Added missing parameter 'u-boot,dm-pre-reloc' for qspi and
> flash0 in dts file arch/arm/dts/socfpga_cyclone5_socdk.dts
> to make it support booting from QSPI flash.
>
> Signed-off-by: shengjiangwu <shengjiangwu at icloud.com>
> Cc: Chin Liang See <clsee at altera.com>
> Cc: Dinh Nguyen <dinguyen at opensource.altera.com>
> Cc: Dinh Nguyen <dinh.linux at gmail.com>
> Cc: Pavel Machek <pavel at denx.de>
> Cc: Marek Vasut <marex at denx.de>
> Cc: Stefan Roese <sr at denx.de>
> ---
>  arch/arm/dts/socfpga_cyclone5_socdk.dts |    2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/dts/socfpga_cyclone5_socdk.dts b/arch/arm/dts/socfpga_cyclone5_socdk.dts
> index a202709..bc60419 100644
> --- a/arch/arm/dts/socfpga_cyclone5_socdk.dts
> +++ b/arch/arm/dts/socfpga_cyclone5_socdk.dts
> @@ -83,9 +83,11 @@
>  };
>
>  &qspi {
> +       u-boot,dm-pre-reloc;
>         status = "okay";
>
>         flash0: n25q00 at 0 {
> +               u-boot,dm-pre-reloc;
>                 #address-cells = <1>;
>                 #size-cells = <1>;
>                 compatible = "n25q00";

Reviewed-by: Jagan Teki <jteki at openedev.com>

-- 
Jagan.


More information about the U-Boot mailing list