From: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 06/13] MIPS: Add support for Microchip PIC32MZ[DA] family.
Date: Sat, 09 Jan 2016 22:06:17 +0100 [thread overview]
Message-ID: <1452373577.6612.6.camel@gmail.com> (raw)
In-Reply-To: <568CDF51.5090903@microchip.com>
Am Mittwoch, den 06.01.2016, 15:03 +0530 schrieb Purna Chandra Mandal:
> On 01/06/2016 01:53 AM, Daniel Schwierzeck wrote:
> > 2016-01-04 15:01 GMT+01:00 Purna Chandra Mandal <
> > purna.mandal at microchip.com>:
> > > Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com>
> > >
> > > ---
> > >
> > > Changes in v2:
> > > - drop unnecessary board_early_init_f()
> > > - use LEAF(), END() macros for lowlevel_init
> > > - move initialization of board_init_f() argument to common
> > > start.S
> > > - move initdram() from board/microchip/ to mach-pic32/cpu.c
> > > - remove MIPS virtual address in favor of physical address in dts
> > > file
> > >
> > > arch/mips/cpu/start.S | 2 +
> > > arch/mips/dts/pic32mzda.dtsi | 64 +++++++++++++
> > > arch/mips/mach-pic32/Kconfig | 16 +++-
> > > arch/mips/mach-pic32/Makefile | 2 +-
> > > arch/mips/mach-pic32/cpu.c | 146
> > > ++++++++++++++++++++++++++++++
> > > arch/mips/mach-pic32/include/mach/pic32.h | 3 +
> > > arch/mips/mach-pic32/lowlevel_init.S | 27 ++++++
> > > arch/mips/mach-pic32/reset.c | 36 ++++++++
> > > 8 files changed, 294 insertions(+), 2 deletions(-)
> > > create mode 100644 arch/mips/dts/pic32mzda.dtsi
> > > create mode 100644 arch/mips/mach-pic32/lowlevel_init.S
> > > create mode 100644 arch/mips/mach-pic32/reset.c
> > >
> > > diff --git a/arch/mips/cpu/start.S b/arch/mips/cpu/start.S
> > > index e95cdca..a7e6722 100644
> > > --- a/arch/mips/cpu/start.S
> > > +++ b/arch/mips/cpu/start.S
> > > @@ -185,6 +185,8 @@ reset:
> > > PTR_ADDU t0, k0, GD_MALLOC_BASE # gd->malloc_base offset
> > > sw sp, 0(t0)
> > > #endif
> > > + /* Initialize args to zero. */
> > > + li a0, 0x0
> > please create a separate patch for this change. Also the code must
> > be
> > compatible with MIPS64 now, so please do:
> >
> > PTR_LI a0, 0
>
> ack.
I was mistaken, li would work too. Anyway a better approach would be
move a0, zero
Please use that, thanks.
--
- Daniel
prev parent reply other threads:[~2016-01-09 21:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-04 14:01 [U-Boot] [PATCH v2 06/13] MIPS: Add support for Microchip PIC32MZ[DA] family Purna Chandra Mandal
2016-01-05 20:23 ` Daniel Schwierzeck
2016-01-06 9:33 ` Purna Chandra Mandal
2016-01-09 21:06 ` Daniel Schwierzeck [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=1452373577.6612.6.camel@gmail.com \
--to=daniel.schwierzeck@gmail.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.