mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
3fa85af5ad
The following patch is to add ath79_register_m25p80_large, which sets is_flash to false to support bit banging. This is needed on some 32MB+ SPI chips, such as the S25FL256S1 Signed-off-by: Chris R Blake <chrisrblake93@gmail.com> SVN-Revision: 47952
19 lines
605 B
C
19 lines
605 B
C
/*
|
|
* Copyright (C) 2009-2012 Gabor Juhos <juhosg@openwrt.org>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License version 2 as published
|
|
* by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef _ATH79_DEV_M25P80_H
|
|
#define _ATH79_DEV_M25P80_H
|
|
|
|
#include <linux/spi/flash.h>
|
|
|
|
void ath79_register_m25p80(struct flash_platform_data *pdata) __init;
|
|
void ath79_register_m25p80_large(struct flash_platform_data *pdata) __init;
|
|
void ath79_register_m25p80_multi(struct flash_platform_data *pdata) __init;
|
|
|
|
#endif /* _ATH79_DEV_M25P80_H */
|