summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-08-19 10:05:40 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-08-19 10:27:46 +0200
commit5e1067792b32fb6a77ccb9b4d98bb1655e51eaff (patch)
tree7f7b2630e5c122f88a351b6b9f718f8d48ba6c83 /arch
parent283736a63cb5e9165b93cbcb9065549ddf97fc75 (diff)
downloadbarebox-5e1067792b32fb6a77ccb9b4d98bb1655e51eaff.tar.gz
barebox-5e1067792b32fb6a77ccb9b4d98bb1655e51eaff.tar.xz
armlinux: remove unused atags
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/lib/armlinux.c53
1 files changed, 0 insertions, 53 deletions
diff --git a/arch/arm/lib/armlinux.c b/arch/arm/lib/armlinux.c
index ff2b8820af..ab766e8c3d 100644
--- a/arch/arm/lib/armlinux.c
+++ b/arch/arm/lib/armlinux.c
@@ -289,59 +289,6 @@ __setup_initrd_tag(ulong initrd_start, ulong initrd_end)
params = tag_next(params);
}
-#if 0 /* FIXME: doesn't compile */
-void
-__setup_videolfb_tag(gd_t *gd)
-{
- /* An ATAG_VIDEOLFB node tells the kernel where and how large
- * the framebuffer for video was allocated (among other things).
- * Note that a _physical_ address is passed !
- *
- * We only use it to pass the address and size, the other entries
- * in the tag_videolfb are not of interest.
- */
- params->hdr.tag = ATAG_VIDEOLFB;
- params->hdr.size = tag_size(tag_videolfb);
-
- params->u.videolfb.lfb_base = (u32)gd->fb_base;
- /* Fb size is calculated according to parameters for our panel */
- params->u.videolfb.lfb_size = calc_fbsize();
-
- params = tag_next(params);
-}
-#endif
-#if 0 /* FIXME: doesn't compile */
-void
-__setup_serial_tag(struct tag **tmp)
-{
- struct tag *params = *tmp;
- struct tag_serialnr serialnr;
- void get_board_serial(struct tag_serialnr *serialnr);
-
- get_board_serial(&serialnr);
- params->hdr.tag = ATAG_SERIAL;
- params->hdr.size = tag_size(tag_serialnr);
- params->u.serialnr.low = serialnr.low;
- params->u.serialnr.high = serialnr.high;
- params = tag_next(params);
- *tmp = params;
-}
-#endif
-#if 0 /* FIXME: doesn't compile */
-void
-__setup_revision_tag(struct tag **in_params)
-{
- u32 rev = 0;
- u32 get_board_rev(void);
-
- rev = get_board_rev();
- params->hdr.tag = ATAG_REVISION;
- params->hdr.size = tag_size(tag_revision);
- params->u.revision.rev = rev;
- params = tag_next(params);
-}
-#endif
-
void
__setup_end_tag (void)
{