OpenWrt – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | From 066f1e37742ee434496d32a41a9284458de96742 Mon Sep 17 00:00:00 2001 |
2 | From: Jonas Gorski <jogo@openwrt.org> |
||
3 | Date: Mon, 13 Jan 2014 12:12:30 +0100 |
||
4 | Subject: [PATCH] MIPS: BCM63XX: export the attached flash type |
||
5 | |||
6 | Signed-off-by: Jonas Gorski <jogo@openwrt.org> |
||
7 | --- |
||
8 | arch/mips/bcm63xx/dev-flash.c | 5 +++++ |
||
9 | arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_flash.h | 2 ++ |
||
10 | 2 files changed, 7 insertions(+) |
||
11 | |||
12 | --- a/arch/mips/bcm63xx/dev-flash.c |
||
13 | +++ b/arch/mips/bcm63xx/dev-flash.c |
||
14 | @@ -270,3 +270,8 @@ int __init bcm63xx_flash_register(void) |
||
15 | return -ENODEV; |
||
16 | } |
||
17 | } |
||
18 | + |
||
19 | +int bcm63xx_flash_get_type(void) |
||
20 | +{ |
||
21 | + return flash_type; |
||
22 | +} |
||
23 | --- a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_flash.h |
||
24 | +++ b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_flash.h |
||
25 | @@ -13,4 +13,6 @@ void bcm63xx_flash_force_phys_base_addre |
||
26 | |||
27 | int __init bcm63xx_flash_register(void); |
||
28 | |||
29 | +int bcm63xx_flash_get_type(void); |
||
30 | + |
||
31 | #endif /* __BCM63XX_FLASH_H */ |