Deepa Dinamani | 1c2748d | 2015-01-12 11:57:09 -0800 | [diff] [blame^] | 1 | /* Copyright (c) 2015, The Linux Foundation. All rights reserved. |
| 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
| 13 | #include <types.h> |
| 14 | |
| 15 | extern u8 _rpm[]; |
| 16 | extern u8 _erpm[]; |
| 17 | |
| 18 | enum dram_state { |
| 19 | DRAM_INITIALIZED = 0, |
| 20 | DRAM_NOT_INITIALIZED = 1, |
| 21 | }; |
| 22 | |
| 23 | void setup_dram_mappings(enum dram_state dram); |
| 24 | void setup_mmu(enum dram_state); |
| 25 | |