#!/bin/sh

#
# List the soft prerequisites here.  This is a space separated list of
# names, of scripts that are in the same directory as this one, that
# must be run before this one can be.
#
PREREQ=""

prereqs()
{
	echo "$PREREQ"
}

case $1 in
# get pre-requisites
prereqs)
	prereqs
	exit 0
	;;
esac

. /usr/share/initramfs-tools/hook-functions

# Ensure the mtd (and related) modules are included
for x in cafe_nand redboot jffs2 ubifs lzo zlib zlib_deflate deflate ; do
	manual_add_modules "${x}"
done

# Video drivers are important, too, as we don't have VGA support
for x in lxfb gxfb fbcon ; do
	manual_add_modules "${x}"
done

