Skip to content
Navigation Menu
Toggle navigation
Sign in
In this repository
All GitHub Enterprise
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub Enterprise
↵
Jump to
↵
In this organization
All GitHub Enterprise
↵
Jump to
↵
In this repository
All GitHub Enterprise
↵
Jump to
↵
Sign in
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mariux64
/
linux
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
2
Pull requests
0
Actions
Projects
0
Wiki
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Files
a3ed495
Documentation
arch
alpha
arm
avr32
blackfin
cris
frv
h8300
ia64
m32r
m68k
m68knommu
microblaze
mips
alchemy
ar7
basler
bcm47xx
bcm63xx
boot
cavium-octeon
cobalt
configs
dec
emma
fw
gt64120
include
jazz
kernel
lasat
lib
loongson
common
Makefile
bonito-irq.c
cmdline.c
early_printk.c
env.c
init.c
irq.c
machtype.c
mem.c
pci.c
reset.c
serial.c
setup.c
time.c
uart_base.c
fuloong-2e
Kconfig
Makefile
math-emu
mipssim
mm
mti-malta
nxp
oprofile
pci
pmc-sierra
power
rb532
sgi-ip22
sgi-ip27
sgi-ip32
sibyte
sni
txx9
vr41xx
Kconfig
Kconfig.debug
Makefile
mn10300
parisc
powerpc
s390
score
sh
sparc
um
x86
xtensa
.gitignore
Kconfig
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
MAINTAINERS
Makefile
README
REPORTING-BUGS
Breadcrumbs
linux
/
arch
/
mips
/
loongson
/
common
/
uart_base.c
Blame
Blame
Latest commit
History
History
34 lines (29 loc) · 1.02 KB
Breadcrumbs
linux
/
arch
/
mips
/
loongson
/
common
/
uart_base.c
Top
File metadata and controls
Code
Blame
34 lines (29 loc) · 1.02 KB
Raw
/* * Copyright (C) 2009 Lemote Inc. * Author: Wu Zhangjin, wuzj@lemote.com * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. */ #include <linux/module.h> #include <asm/bootinfo.h> #include <loongson.h> unsigned long __maybe_unused _loongson_uart_base; EXPORT_SYMBOL(_loongson_uart_base); unsigned long __maybe_unused uart8250_base[] = { [MACH_LOONGSON_UNKNOWN] 0, [MACH_LEMOTE_FL2E] (LOONGSON_PCIIO_BASE + 0x3f8), [MACH_LEMOTE_FL2F] (LOONGSON_PCIIO_BASE + 0x2f8), [MACH_LEMOTE_ML2F7] (LOONGSON_LIO1_BASE + 0x3f8), [MACH_LEMOTE_YL2F89] (LOONGSON_LIO1_BASE + 0x3f8), [MACH_DEXXON_GDIUM2F10] (LOONGSON_LIO1_BASE + 0x3f8), [MACH_LOONGSON_END] 0, }; EXPORT_SYMBOL(uart8250_base); void __maybe_unused prom_init_uart_base(void) { _loongson_uart_base = (unsigned long)ioremap_nocache(uart8250_base[mips_machtype], 8); }
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
You can’t perform that action at this time.