diff options
| author | Simon L. B. Nielsen <simon@FreeBSD.org> | 2006-07-26 20:35:52 +0000 |
|---|---|---|
| committer | Simon L. B. Nielsen <simon@FreeBSD.org> | 2006-07-26 20:35:52 +0000 |
| commit | b78ee6d0ff77f16cf3634928807ffe3f7dd3ce7a (patch) | |
| tree | 127a2a68e06080126c1240e8b567fc2469b1e7ab /tools | |
| parent | b895d1452ce036f0dc5323d2b2c70da8f89adcce (diff) | |
Notes
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/tools/nanobsd/FlashDevice.sub | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/tools/nanobsd/FlashDevice.sub b/tools/tools/nanobsd/FlashDevice.sub index 5d8a134f4b36..6f799ff8e061 100644 --- a/tools/tools/nanobsd/FlashDevice.sub +++ b/tools/tools/nanobsd/FlashDevice.sub @@ -55,6 +55,21 @@ sub_FlashDevice () { ;; esac ;; + memorycorp) + # Source: simon@FreeBSD.org + case $a2 in + 512|512mb) + # MC512CFLS2 + NANO_MEDIASIZE=`expr 519192576 / 512` + NANO_HEADS=16 + NANO_SECTS=63 + ;; + *) + echo "Unknown Memory Corp Flash capacity" + exit 2 + ;; + esac + ;; sandisk) # Source: # SanDisk CompactFlash Memory Card |
