cyan/strago: disable Ambient Light Sensor device
[coreboot.git] / src / mainboard / google / storm / romstage.c
bloba0a1329c12551bbd465fc2606dca76aa31a24331
1 /*
2 * This file is part of the coreboot project.
4 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
5 * Copyright 2014 Google Inc.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 of the License.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc.
21 #include <cbmem.h>
22 #include <console/console.h>
23 #include <program_loading.h>
24 #include <soc/soc_services.h>
25 #include "mmu.h"
27 void main(void)
29 console_init();
30 initialize_dram();
32 /* Add dram mappings to mmu tables. */
33 setup_dram_mappings(DRAM_INITIALIZED);
35 cbmem_initialize_empty();
36 run_ramstage();