Remove empty devices implementation and use the one from uboot.
Since we have the same setup with a loaded and mapped boot archive, we can reuse the MemoryDevice implemented in uboot. This gets the loader to the stage where it loads and attempts to boot the kernel.
This commit is contained in:
parent
046e01014d
commit
d95ecd7341
@ -48,6 +48,9 @@ BootMergeObject boot_platform_raspberrypi_arm.o :
|
||||
SEARCH on [ FGristFiles $(genericPlatformSources) ]
|
||||
= [ FDirName $(HAIKU_TOP) src system boot platform generic ] ;
|
||||
|
||||
SEARCH on [ FGristFiles devices.cpp ]
|
||||
= [ FDirName $(HAIKU_TOP) src system boot platform u-boot ] ;
|
||||
|
||||
|
||||
# Tell the build system to where stage1.bin can be found, so it can be used
|
||||
# elsewhere.
|
||||
|
@ -1,47 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009 Jonas Sundström, jonas@kirilla.com
|
||||
* All rights reserved. Distributed under the terms of the MIT License.
|
||||
*/
|
||||
|
||||
|
||||
#include <KernelExport.h>
|
||||
#include <boot/platform.h>
|
||||
#include <boot/partitions.h>
|
||||
#include <boot/stdio.h>
|
||||
#include <boot/stage2.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
||||
status_t
|
||||
platform_add_boot_device(struct stage2_args* args, NodeList* devicesList)
|
||||
{
|
||||
#warning IMPLEMENT platform_add_boot_device
|
||||
return B_ERROR;
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
platform_get_boot_partition(struct stage2_args* args, Node* bootDevice,
|
||||
NodeList* list, boot::Partition** _partition)
|
||||
{
|
||||
#warning IMPLEMENT platform_get_boot_partition
|
||||
return B_ERROR;
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
platform_add_block_devices(stage2_args* args, NodeList* devicesList)
|
||||
{
|
||||
#warning IMPLEMENT platform_add_block_devices
|
||||
return B_ERROR;
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
platform_register_boot_device(Node* device)
|
||||
{
|
||||
#warning IMPLEMENT platform_register_boot_device
|
||||
return B_ERROR;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user