mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
Replace the devboard NOR MTD mapping driver with physmap-flash support. Also honor the "swapboot" switch settings wrt. to the layout of the NOR partitions. Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com> Cc: Linux-MIPS <linux-mips@linux-mips.org> Acked-By: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
21 lines
581 B
C
21 lines
581 B
C
#ifndef _DEVBOARD_PLATFORM_H_
|
|
#define _DEVBOARD_PLATFORM_H_
|
|
|
|
#include <linux/init.h>
|
|
|
|
int __init db1x_register_pcmcia_socket(unsigned long pseudo_attr_start,
|
|
unsigned long pseudo_attr_len,
|
|
unsigned long pseudo_mem_start,
|
|
unsigned long pseudo_mem_end,
|
|
unsigned long pseudo_io_start,
|
|
unsigned long pseudo_io_end,
|
|
int card_irq,
|
|
int cd_irq,
|
|
int stschg_irq,
|
|
int eject_irq,
|
|
int id);
|
|
|
|
int __init db1x_register_norflash(unsigned long size, int width,
|
|
int swapped);
|
|
|
|
#endif
|