From: Sergei Shtylylov <sshtylyov@ru.mvista.com>
To: Linux MIPS Development <linux-mips@linux-mips.org>
Cc: Manish Lachwani <mlachwani@mvista.com>,
Pete Popov <ppopov@embeddedalley.com>
Subject: [PATCH] Set proper machine type for DB1xx0 boards
Date: Tue, 01 Nov 2005 00:06:35 +0300 [thread overview]
Message-ID: <4366875B.7050400@ru.mvista.com> (raw)
In-Reply-To: <435A9FB2.3070303@ru.mvista.com>
[-- Attachment #1: Type: text/plain, Size: 530 bytes --]
Hello, I wrote:
>> Here's a couple of DBAu1550 fixes: the first one fixes BCSR
>> accesses in
>> the board setup/reset code (the registers are actually 16-bit, and their
>> addresses are different between DBAu1550 and other DBAu1xx0 boards), the
> Here's an updated BCSR patch. Stupid typo. :-/
>> second one just selects the proper machine type for DBAu1550.
> It was somewhat incomplete, more #ifdef's are needed to set the proper
> machine types for DB1100/DB1500...
So, here's an update...
WBR, Sergei
[-- Attachment #2: DBAu1xx0-platform.patch --]
[-- Type: text/plain, Size: 824 bytes --]
Index: arch/mips/au1000/db1x00/init.c
===================================================================
RCS file: /home/cvs/linux/arch/mips/au1000/db1x00/init.c,v
retrieving revision 1.6
diff -a -u -p -r1.6 init.c
--- arch/mips/au1000/db1x00/init.c 11 Jul 2005 10:03:24 -0000 1.6
+++ arch/mips/au1000/db1x00/init.c 31 Oct 2005 21:01:26 -0000
@@ -61,7 +61,17 @@ void __init prom_init(void)
prom_envp = (char **) fw_arg2;
mips_machgroup = MACH_GROUP_ALCHEMY;
- mips_machtype = MACH_DB1000; /* set the platform # */
+
+ /* Set the platform # */
+#if defined (CONFIG_MIPS_DB1550)
+ mips_machtype = MACH_DB1550;
+#elif defined (CONFIG_MIPS_DB1500)
+ mips_machtype = MACH_DB1500;
+#elif defined (CONFIG_MIPS_DB1100)
+ mips_machtype = MACH_DB1100;
+#else
+ mips_machtype = MACH_DB1000;
+#endif
prom_init_cmdline();
prev parent reply other threads:[~2005-10-31 21:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-20 20:00 Misc. AMD DBAu1550 fixes Sergei Shtylylov
2005-10-22 20:23 ` Sergei Shtylylov
2005-10-31 21:06 ` Sergei Shtylylov [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=4366875B.7050400@ru.mvista.com \
--to=sshtylyov@ru.mvista.com \
--cc=linux-mips@linux-mips.org \
--cc=mlachwani@mvista.com \
--cc=ppopov@embeddedalley.com \
/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