diff --git a/arch/mips/boards/tplink-mr3020/lowlevel.S b/arch/mips/boards/tplink-mr3020/lowlevel.S index b96292e..5844530 100644 --- a/arch/mips/boards/tplink-mr3020/lowlevel.S +++ b/arch/mips/boards/tplink-mr3020/lowlevel.S @@ -17,4 +17,4 @@ ar9331_pbl_generic_start -ENTRY_FUNCTION_END(BOARD_PBL_START, tplink_mr3020, SZ_32M) +ENTRY_FUNCTION_END(BOARD_PBL_START, ar9331_tl_mr3020, SZ_32M) diff --git a/arch/mips/dts/Makefile b/arch/mips/dts/Makefile index 7485f85..b3660cd 100644 --- a/arch/mips/dts/Makefile +++ b/arch/mips/dts/Makefile @@ -11,7 +11,7 @@ pbl-dtb-$(CONFIG_BOARD_LOONGSON_TECH_LS1B) += loongson-ls1b.dtb.o pbl-dtb-$(CONFIG_BOARD_QEMU_MALTA) += qemu-malta.dtb.o pbl-dtb-$(CONFIG_BOARD_RZX50) += rzx50.dtb.o -pbl-dtb-$(CONFIG_BOARD_TPLINK_MR3020) += tplink-mr3020.dtb.o +pbl-dtb-$(CONFIG_BOARD_TPLINK_MR3020) += ar9331_tl_mr3020.dtb.o pbl-dtb-$(CONFIG_BOARD_TPLINK_WDR4300) += ar9344-tl-wdr4300-v1.7.dtb.o clean-files := *.dtb *.dtb.S .*.dtc .*.pre .*.dts *.dtb.lzo diff --git a/arch/mips/dts/ar9331_tl_mr3020.dts b/arch/mips/dts/ar9331_tl_mr3020.dts new file mode 100644 index 0000000..c6ae154 --- /dev/null +++ b/arch/mips/dts/ar9331_tl_mr3020.dts @@ -0,0 +1,33 @@ +#include +#include "ar9331.dtsi" + +/ { + aliases { + spiflash = &spiflash; + }; + + chosen { + stdout-path = &uart; + + environment { + compatible = "barebox,environment"; + device-path = &spiflash, "partname:barebox-environment"; + }; + }; +}; + +&spiflash { + partition@0 { + label = "barebox"; + reg = <0 0x80000>; + }; + + partition@80000 { + label = "barebox-environment"; + reg = <0x80000 0x10000>; + }; +}; + +ð0 { + status = "okay"; +}; diff --git a/arch/mips/dts/tplink-mr3020.dts b/arch/mips/dts/tplink-mr3020.dts deleted file mode 100644 index c6ae154..0000000 --- a/arch/mips/dts/tplink-mr3020.dts +++ /dev/null @@ -1,33 +0,0 @@ -#include -#include "ar9331.dtsi" - -/ { - aliases { - spiflash = &spiflash; - }; - - chosen { - stdout-path = &uart; - - environment { - compatible = "barebox,environment"; - device-path = &spiflash, "partname:barebox-environment"; - }; - }; -}; - -&spiflash { - partition@0 { - label = "barebox"; - reg = <0 0x80000>; - }; - - partition@80000 { - label = "barebox-environment"; - reg = <0x80000 0x10000>; - }; -}; - -ð0 { - status = "okay"; -};