]> git.zerfleddert.de Git - linexec-j720/commitdiff
no longer use deprecated ATAG_INITRD
authormichael <michael>
Sun, 24 Jul 2005 18:02:01 +0000 (18:02 +0000)
committermichael <michael>
Sun, 24 Jul 2005 18:02:01 +0000 (18:02 +0000)
boot.cpp
config.h

index 1204c7973214a7d2f6a756f8792133f2c071f99e..5e5da9bc63855cc31e794728a10e050eb1607620 100644 (file)
--- a/boot.cpp
+++ b/boot.cpp
@@ -54,7 +54,7 @@ void setup_linux_params(long bootimg_dest, UINT32 initrd,UINT32 initrdl, long dr
        if (initrdl) {
                tag->hdr.tag = INITRD_TAG;
                tag->hdr.size = tag_size(tag_initrd);
-               tag->u.initrd.start = initrd;
+               tag->u.initrd.start = INITRD;
                tag->u.initrd.size = initrdl;
                tag = tag_next(tag);
        }
index f7c1b584c5f60c482b2a8e6321ce7af3b56213ec..6d35042da66ba3ceeebc98848958ea9e95841308 100644 (file)
--- a/config.h
+++ b/config.h
@@ -43,7 +43,7 @@
 #define KERNELCOPY     0xc0a00000
 
 #define INITRD         0xc0d00000
-#define INITRD_TAG     ATAG_INITRD
+#define INITRD_TAG     ATAG_INITRD2
 
 /* Interrupt controller */
 #define ICIP           0x90050000
Impressum, Datenschutz