diff options
| author | Simon L. B. Nielsen <simon@FreeBSD.org> | 2006-07-30 19:32:52 +0000 |
|---|---|---|
| committer | Simon L. B. Nielsen <simon@FreeBSD.org> | 2006-07-30 19:32:52 +0000 |
| commit | 40eb7e1329bbb8879a5d29ea2fb3de0b9c93ada8 (patch) | |
| tree | bc044f257dcc5396967d5c2d1e8ad9b80881db35 /tools | |
| parent | 8106d843a45786d24e6f1f4aacbf2abbbca05a70 (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 |
