Add spiflash device to MAKEDEV template and MAKEDEV config on evbarm.

Obtained from Marvell, Semihalf.
This commit is contained in:
rkujawa 2013-04-20 11:41:51 +00:00
parent 52e9bd0cf4
commit cb2a012804
2 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh -
# $NetBSD: MAKEDEV.tmpl,v 1.166 2013/04/11 19:13:46 martin Exp $
# $NetBSD: MAKEDEV.tmpl,v 1.167 2013/04/20 11:41:51 rkujawa Exp $
#
# Copyright (c) 2003,2007,2008 The NetBSD Foundation, Inc.
# All rights reserved.
@ -1139,6 +1139,12 @@ flash[0-9]*)
mkdev rflash$unit c %flash_chr% $unit
;;
spiflash[0-9]*)
unit=${i#spiflash}
spiflash=spiflash$unit
mkdev spiflash$unit b %spiflash_blk% $unit
;;
altmem[0-9]*)
name=altmem; unit=${i#altmem}; blk=%altmem_blk%; chr=%altmem_chr%
%MKDISK% $name $unit $blk $chr

View File

@ -1,4 +1,4 @@
# $NetBSD: MAKEDEV.conf,v 1.12 2013/03/24 14:03:54 jmcneill Exp $
# $NetBSD: MAKEDEV.conf,v 1.13 2013/04/20 11:41:52 rkujawa Exp $
all_md)
makedev wscons fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3
@ -17,6 +17,7 @@ all_md)
makedev cfs
makedev vchiq
makedev audio
makedev spiflash0
;;
ramdisk|floppy)