mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-28 23:50:26 +09:00
board: MCR3000: Activate CONFIG_DM and CONFIG_OF_CONTROL
Add mcr3000 device tree and activate CONFIG_DM and CONFIG_OF_CONTROL Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
This commit is contained in:
parent
71c743c5f7
commit
f55db0afa2
@ -1,6 +1,7 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0+
|
# SPDX-License-Identifier: GPL-2.0+
|
||||||
|
|
||||||
dtb-$(CONFIG_TARGET_T2080QDS) += t2080qds.dtb
|
dtb-$(CONFIG_TARGET_T2080QDS) += t2080qds.dtb
|
||||||
|
dtb-$(CONFIG_MCR3000) += mcr3000.dtb
|
||||||
|
|
||||||
targets += $(dtb-y)
|
targets += $(dtb-y)
|
||||||
|
|
||||||
|
12
arch/powerpc/dts/mcr3000.dts
Normal file
12
arch/powerpc/dts/mcr3000.dts
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
/*
|
||||||
|
* MCR3000 Device Tree Source
|
||||||
|
*
|
||||||
|
* Copyright 2017 CS Systemes d'Information
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-2.0+
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
|
||||||
|
/ {
|
||||||
|
};
|
@ -69,6 +69,12 @@ SECTIONS
|
|||||||
__ex_table : { *(__ex_table) }
|
__ex_table : { *(__ex_table) }
|
||||||
__stop___ex_table = .;
|
__stop___ex_table = .;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* _end - This is end of u-boot.bin image.
|
||||||
|
* dtb will be appended here to make u-boot-dtb.bin
|
||||||
|
*/
|
||||||
|
_end = .;
|
||||||
|
|
||||||
. = ALIGN(4096);
|
. = ALIGN(4096);
|
||||||
__init_begin = .;
|
__init_begin = .;
|
||||||
.text.init : { *(.text.init) }
|
.text.init : { *(.text.init) }
|
||||||
|
@ -73,3 +73,6 @@ CONFIG_MPC8XX_FEC=y
|
|||||||
CONFIG_SHA256=y
|
CONFIG_SHA256=y
|
||||||
CONFIG_LZMA=y
|
CONFIG_LZMA=y
|
||||||
CONFIG_OF_LIBFDT=y
|
CONFIG_OF_LIBFDT=y
|
||||||
|
CONFIG_DM=y
|
||||||
|
CONFIG_OF_CONTROL=y
|
||||||
|
CONFIG_DEFAULT_DEVICE_TREE="mcr3000"
|
||||||
|
Loading…
Reference in New Issue
Block a user