From: Thomas Chou <thomas@wytron.com.tw>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] nios2: convert nios2 cpu to driver model
Date: Sun, 4 Oct 2015 19:49:40 +0800 [thread overview]
Message-ID: <56111254.8080103@wytron.com.tw> (raw)
In-Reply-To: <1443666691-7900-1-git-send-email-thomas@wytron.com.tw>
On 10/01/2015 10:31 AM, Thomas Chou wrote:
> Convert nios2 cpu to driver model. The cpu parameters are
> extracted from device tree and saved to global data structure.
> We will use them to replace the custom_fpga.h .
>
> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
> ---
> v2
> move cpu param setup to arch_cpu_init_dm, remove probe.
> v3
> fix coding style as Marek suggested.
> select CMD_CPU.
> v4
> revert to v1 probe method.
> doc dts binding.
> check uclass_first_device() return.
> clean up as Simon suggested.
>
> arch/Kconfig | 3 ++
> arch/nios2/cpu/cpu.c | 88 ++++++++++++++++++++++++++++++++--
> arch/nios2/dts/3c120_devboard.dts | 1 +
> arch/nios2/include/asm/global_data.h | 8 ++++
> configs/nios2-generic_defconfig | 3 +-
> doc/device-tree-bindings/cpu/nios2.txt | 54 +++++++++++++++++++++
> 6 files changed, 152 insertions(+), 5 deletions(-)
> create mode 100644 doc/device-tree-bindings/cpu/nios2.txt
Applied to u-boot-nios.
prev parent reply other threads:[~2015-10-04 11:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-28 0:31 [U-Boot] [PATCH] nios2: convert nios2 cpu to driver model Thomas Chou
2015-09-29 1:28 ` [U-Boot] [PATCH v2] " Thomas Chou
2015-09-29 2:45 ` Marek Vasut
2015-09-29 7:18 ` Thomas Chou
2015-09-29 14:28 ` Bin Meng
2015-09-29 14:29 ` Bin Meng
2015-09-29 14:52 ` Simon Glass
2015-09-29 12:15 ` [U-Boot] [PATCH v3] " Thomas Chou
2015-09-29 14:08 ` Simon Glass
2015-10-01 2:14 ` Thomas Chou
2015-10-01 2:31 ` [U-Boot] [PATCH] " Thomas Chou
2015-10-02 7:06 ` Simon Glass
2015-10-04 11:49 ` Thomas Chou [this message]
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=56111254.8080103@wytron.com.tw \
--to=thomas@wytron.com.tw \
--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