commit 6e1ae36e37425acdfe1a86550ac5ac20cc6e3801
parent 0087caf84a8181109ed7dbd25828fc276751b33b
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Sat, 19 Sep 2020 11:44:03 +0200
aarch64: Remove TF-A loading
This is not needed anymore.
Change-Id: I04891a52876830c235b46491a83771d3bde20ed5
Diffstat:
1 file changed, 1 insertion(+), 22 deletions(-)
diff --git a/src/os9/arch/arm64/main.c b/src/os9/arch/arm64/main.c
@@ -13,12 +13,6 @@
#define STACKSIZ 1792
#define HEAPSIZ 1792
-/* TODO: Move these constants to a autogenerated file */
-#define BL2BASE ((void *) 0x4022000)
-#define BL33BASE ((void *) 0x88000000)
-#define DTBBASE ((void *) 0x82000000)
-
-
typedef struct mach Mach;
struct mach {
@@ -120,20 +114,6 @@ namespace(void)
panic("write:cooked");
if (close(fd) < 0)
panic("close:/dev/cons/ctl");
-
- if (mount("#F", "/fip", "/blobs/fip.bin") < 0)
- panic("mount:/fip");
-}
-
-void
-loadfip(void)
-{
- if (loadimg("/fip/bl2.bin", BL2BASE, NULL) < 0)
- panic("bl2 missing");
- if (loadimg("/fip/bl33.bin", BL33BASE, NULL) < 0)
- panic("bl33 missing");
- if (loadimg("/fip/hw.cfg", DTBBASE, NULL) < 0)
- panic("dtb missing");
}
void
@@ -148,6 +128,5 @@ main(void *stackp)
namespace();
info(&mach);
debug();
- loadfip();
- swtch(&ctx);
+ panic("main");
}