Barebox currently names the SPI NOR device "/dev/sst25vf016b", but the barebox update handler still points to "/dev/m25p80", causing barebox_update to fail. Choose a descriptive name instead. Signed-off-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx> --- arch/arm/boards/freescale-mx6-sabrelite/board.c | 4 ++-- arch/arm/dts/imx6q-sabrelite.dts | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm/boards/freescale-mx6-sabrelite/board.c b/arch/arm/boards/freescale-mx6-sabrelite/board.c index edf0811..d40f99b 100644 --- a/arch/arm/boards/freescale-mx6-sabrelite/board.c +++ b/arch/arm/boards/freescale-mx6-sabrelite/board.c @@ -164,8 +164,8 @@ static int sabrelite_devices_init(void) armlinux_set_architecture(3769); - imx6_bbu_internal_spi_i2c_register_handler("spiflash", "/dev/m25p0.barebox", - BBU_HANDLER_FLAG_DEFAULT); + imx6_bbu_internal_spi_i2c_register_handler("spiflash", + "/dev/spinor0.barebox", BBU_HANDLER_FLAG_DEFAULT); return 0; } diff --git a/arch/arm/dts/imx6q-sabrelite.dts b/arch/arm/dts/imx6q-sabrelite.dts index 96e4688..61ca82e 100644 --- a/arch/arm/dts/imx6q-sabrelite.dts +++ b/arch/arm/dts/imx6q-sabrelite.dts @@ -17,6 +17,10 @@ / { model = "Freescale i.MX6 Quad SABRE Lite Board"; compatible = "fsl,imx6q-sabrelite", "fsl,imx6q"; + + aliases { + spinor0 = &flash; + }; }; &sata { -- 2.1.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox