From 2f5dc0a0a12a2ca01ad0a7ae1620703324379c4d Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 24 Jul 2005 18:02:01 +0000 Subject: [PATCH 1/1] no longer use deprecated ATAG_INITRD --- boot.cpp | 2 +- config.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5