Root/qiboot/src/cpu/s3c6410/smdk6410.c

1#include <qi.h>
2#include <neo_smdk6410.h>
3#include <serial-s3c64xx.h>
4
5static const struct board_variant board_variants[] = {
6    [0] = {
7        .name = "SMDK",
8        .machine_revision = 0,
9    },
10};
11
12/**
13 * returns PCB revision information in b0, d8, d9
14 * SMDK6410 EVB returns 0x000
15 * SMDK6410 returns 0x001
16 */
17
18int smdk6410_get_pcb_revision(void)
19{
20    return 0;
21}
22
23const struct board_variant const * get_board_variant_smdk6410(void)
24{
25    return &board_variants[smdk6410_get_pcb_revision()];
26}
27
28

Archive Download this file



interactive