Endianness switch
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 1 Jan 2017 06:48:13 +0000 (22:48 -0800)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 1 Jan 2017 06:48:13 +0000 (22:48 -0800)
arm_chainloader/loader.cc

index 62d3c0f..deb59d2 100644 (file)
@@ -114,7 +114,7 @@ struct LoaderImpl {
                 //uint32_t memmap[] = { 0x10000, 0x20000000 };
                 //uint8_t memmap[] = { 0x00, 0x00, 0x01, 0x00,
                 //                     0x00, 0x00, 0x00, 0x20 };
-                uint8_t memmap[] = { 0x00, 0x01, 0x00, 0x00,
+                uint8_t memmap[] = { 0x00, 0x00, 0x10, 0x00,
                                      0x10, 0x00, 0x00, 0x00 };
 
                 res = fdt_setprop(v_fdt, memory, "reg", (void*) memmap, sizeof(memmap));
This page took 0.022857 seconds and 4 git commands to generate.