public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Michal Simek <monstr@monstr.eu>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/3] microblaze: Wire up dts configuration
Date: Tue, 10 Jul 2012 10:03:24 +0200	[thread overview]
Message-ID: <4FFBE1CC.2050905@monstr.eu> (raw)
In-Reply-To: <1341433531-18124-2-git-send-email-linz@li-pro.net>

On 07/04/2012 10:25 PM, Stephan Linz wrote:
>      - enable OF control and embedded OF
>      - set default device tree file name to 'microblaze'
>      - add CPP to dtc proxy: board/xilinx/dts/microblaze.dts
>      - add an empty but processable dts for microblaze-generic
>
> Signed-off-by: Stephan Linz<linz@li-pro.net>
> ---
>   board/xilinx/dts/microblaze.dts                    |    1 +
>   board/xilinx/microblaze-generic/dts/microblaze.dts |    7 +++++++
>   include/configs/microblaze-generic.h               |    5 +++++
>   3 files changed, 13 insertions(+), 0 deletions(-)
>   create mode 100644 board/xilinx/dts/microblaze.dts
>   create mode 100644 board/xilinx/microblaze-generic/dts/microblaze.dts
>
> diff --git a/board/xilinx/dts/microblaze.dts b/board/xilinx/dts/microblaze.dts
> new file mode 100644
> index 0000000..bf984b0
> --- /dev/null
> +++ b/board/xilinx/dts/microblaze.dts
> @@ -0,0 +1 @@
> +/include/ BOARD_DTS
> diff --git a/board/xilinx/microblaze-generic/dts/microblaze.dts b/board/xilinx/microblaze-generic/dts/microblaze.dts
> new file mode 100644
> index 0000000..2033309
> --- /dev/null
> +++ b/board/xilinx/microblaze-generic/dts/microblaze.dts
> @@ -0,0 +1,7 @@
> +/dts-v1/;
> +/ {
> +	#address-cells =<1>;
> +	#size-cells =<1>;
> +	aliases {
> +	} ;
> +} ;
> diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
> index 2fd2279..386189f 100644
> --- a/include/configs/microblaze-generic.h
> +++ b/include/configs/microblaze-generic.h
> @@ -31,6 +31,11 @@
>   #define	CONFIG_MICROBLAZE	1
>   #define	MICROBLAZE_V5		1
>
> +/* Open Firmware DTS */
> +#define CONFIG_OF_CONTROL	1
> +#define CONFIG_OF_EMBED		1
> +#define CONFIG_DEFAULT_DEVICE_TREE microblaze
> +
>   /* linear flash memory */
>   #ifdef XILINX_FLASH_START
>   #define	FLASH


Applied to microblaze custodian tree.

Thanks,
Michal


-- 
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian

  reply	other threads:[~2012-07-10  8:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-04 20:25 [U-Boot] [PATCH 1/3] fdt: Add board specific dts inclusion Stephan Linz
2012-07-04 20:25 ` [U-Boot] [PATCH 2/3] microblaze: Wire up dts configuration Stephan Linz
2012-07-10  8:03   ` Michal Simek [this message]
2012-07-04 20:25 ` [U-Boot] [PATCH 3/3] microblaze: Wire up OF support for emaclite Stephan Linz
2012-07-09 21:42   ` Simon Glass
2012-07-10  8:04     ` Michal Simek
2012-07-09  7:42 ` [U-Boot] [PATCH 1/3] fdt: Add board specific dts inclusion Michal Simek
2012-07-09 21:37   ` Simon Glass
2012-07-10  8:03     ` Michal Simek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FFBE1CC.2050905@monstr.eu \
    --to=monstr@monstr.eu \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox