From: michael Date: Sun, 24 Jul 2005 18:02:01 +0000 (+0000) Subject: no longer use deprecated ATAG_INITRD X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/linexec-j720/commitdiff_plain/2f5dc0a0a12a2ca01ad0a7ae1620703324379c4d no longer use deprecated ATAG_INITRD --- diff --git a/boot.cpp b/boot.cpp index 1204c79..5e5da9b 100644 --- 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); } diff --git a/config.h b/config.h index f7c1b58..6d35042 100644 --- 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