////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Microsoft Corporation.  All rights reserved.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

#include <tinyhal.h>

extern struct BlockStorageDevice  g_SerialFlash_Device;
extern struct IBlockStorageDevice g_SerialFlash_BL_DeviceTable;
extern struct BLOCK_CONFIG        g_SerialFlash_BL_Config;

extern struct BlockStorageDevice  g_SH7262_USB_Device;
extern struct IBlockStorageDevice g_SH7262_USB_BL_DeviceTable;
extern struct BLOCK_CONFIG        g_SH7262_USB_BL_Config;

extern struct BlockStorageDevice  	g_SD_BL;
extern struct IBlockStorageDevice 	g_SD_BL_DeviceTable;
extern struct SD_BLOCK_CONFIG       g_SD_BL_Config;


void BlockStorage_AddDevices()
{   
    BlockStorageList::AddDevice( &g_SerialFlash_Device, &g_SerialFlash_BL_DeviceTable, &g_SerialFlash_BL_Config, FALSE );
    BlockStorageList::AddDevice( &g_SH7262_USB_Device, &g_SH7262_USB_BL_DeviceTable, &g_SH7262_USB_BL_Config, FALSE );      
	BlockStorageList::AddDevice( &g_SD_BL, &g_SD_BL_DeviceTable, &g_SD_BL_Config, FALSE );
}