~ubuntu-branches/ubuntu/maverick/uboot-imx/maverick

« back to all changes in this revision

Viewing changes to board/MAI/AmigaOneG3SE/video.c

  • Committer: Bazaar Package Importer
  • Author(s): Oliver Grawert
  • Date: 2010-01-20 15:41:26 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100120154126-7bha1jeyjegu7xm5
Tags: 2009.08+really2009.01-0ubuntu1
* revert to the 2009.01 upstream version, 2009.08 has still to 
  many work in progress items in the freescale patchset (MMC and NIC
  dont work at all)
* add the latest patchset from freescale for 2009.01
* add 1002_enable_hush_shell_and_ext2.patch to enable hush shell and ext2 
* add 1003_fix_board_revision_numbers to make sure babbage 2.5 boards have 
  revision 51120 and babbage 3.0 boards have revision 51130 properly set in 
  their cpuinfo

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 */
23
23
 
24
24
#include <common.h>
25
 
#include <stdio_dev.h>
 
25
#include <devices.h>
26
26
#include "memio.h"
27
27
#include <part.h>
28
28
 
98
98
int drv_video_init(void)
99
99
{
100
100
    int error, devices = 1 ;
101
 
    struct stdio_dev vgadev ;
 
101
    device_t vgadev ;
102
102
    if (video_inited) return 1;
103
103
    video_inited = 1;
104
104
    video_init();
112
112
    vgadev.tstc = NULL;
113
113
    vgadev.start = video_start;
114
114
 
115
 
    error = stdio_register (&vgadev);
 
115
    error = device_register (&vgadev);
116
116
 
117
117
    if (error == 0)
118
118
    {