Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177891
b: refs/heads/master
c: e13fb77
h: refs/heads/master
i:
  177889: ea8e5c0
  177887: 0ae5570
v: v3
  • Loading branch information
Wu Zhangjin authored and Ralf Baechle committed Dec 17, 2009
1 parent c221602 commit f04f373
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a3a0f8c8ed2e2470f4dcd6da95020d41fed84747
refs/heads/master: e13fb77661b62f49170ef30d707272c568f81681
3 changes: 2 additions & 1 deletion trunk/arch/mips/include/asm/bootinfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@
#define MACH_LEMOTE_ML2F7 3
#define MACH_LEMOTE_YL2F89 4
#define MACH_DEXXON_GDIUM2F10 5
#define MACH_LOONGSON_END 6
#define MACH_LEMOTE_NAS 6
#define MACH_LOONGSON_END 7

extern char *system_type;
const char *get_system_type(void);
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/mips/loongson/common/machtype.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ static const char *system_types[] = {
[MACH_LEMOTE_ML2F7] "lemote-mengloong-2f-7inches",
[MACH_LEMOTE_YL2F89] "lemote-yeeloong-2f-8.9inches",
[MACH_DEXXON_GDIUM2F10] "dexxon-gidum-2f-10inches",
[MACH_LEMOTE_NAS] "lemote-nas-2f",
[MACH_LOONGSON_END] NULL,
};

Expand Down
1 change: 1 addition & 0 deletions trunk/arch/mips/loongson/common/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ static struct plat_serial8250_port uart8250_data[][2] = {
[MACH_LEMOTE_ML2F7] {PORT_M(3), {} },
[MACH_LEMOTE_YL2F89] {PORT_M(3), {} },
[MACH_DEXXON_GDIUM2F10] {PORT_M(3), {} },
[MACH_LEMOTE_NAS] {PORT_M(3), {} },
[MACH_LOONGSON_END] {},
};

Expand Down
1 change: 1 addition & 0 deletions trunk/arch/mips/loongson/common/uart_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ unsigned long __maybe_unused uart8250_base[] = {
[MACH_LEMOTE_ML2F7] (LOONGSON_LIO1_BASE + 0x3f8),
[MACH_LEMOTE_YL2F89] (LOONGSON_LIO1_BASE + 0x3f8),
[MACH_DEXXON_GDIUM2F10] (LOONGSON_LIO1_BASE + 0x3f8),
[MACH_LEMOTE_NAS] (LOONGSON_LIO1_BASE + 0x3f8),
[MACH_LOONGSON_END] 0,
};
EXPORT_SYMBOL(uart8250_base);
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/mips/loongson/lemote-2f/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ void mach_prepare_reboot(void)
{
switch (mips_machtype) {
case MACH_LEMOTE_FL2F:
case MACH_LEMOTE_NAS:
fl2f_reboot();
break;
case MACH_LEMOTE_ML2F7:
Expand All @@ -158,6 +159,7 @@ void mach_prepare_shutdown(void)
{
switch (mips_machtype) {
case MACH_LEMOTE_FL2F:
case MACH_LEMOTE_NAS:
fl2f_shutdown();
break;
case MACH_LEMOTE_ML2F7:
Expand Down

0 comments on commit f04f373

Please sign in to comment.