diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2013-05-19 20:23:46 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-05-21 19:48:17 +0200 |
commit | 7286acab6715691c1262b320e9d22a480804ba49 (patch) | |
tree | 3c3a62ff3a2338c7b3696ac4090c7fb094b2b8c1 /arch/arm/boards/globalscale-mirabox/board.c | |
parent | df8d29462bc0bdd13571a5ae8daf6ee6c6999ffd (diff) | |
download | barebox-7286acab6715691c1262b320e9d22a480804ba49.tar.gz barebox-7286acab6715691c1262b320e9d22a480804ba49.tar.xz |
arm: mvebu: introduce common lowlevel and early init
At early stage after boot, all MVEBU SoCs are similar enough to have
a common lowlevel and barebox entry. We also remap the internal register
base address to 0xf100000 as it gives some 512M more of contiguous address
space. As we cannot determine real memory size that early, we start with
a default memory size of 64M and probe correct size later in SoC init.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/globalscale-mirabox/board.c')
-rw-r--r-- | arch/arm/boards/globalscale-mirabox/board.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boards/globalscale-mirabox/board.c b/arch/arm/boards/globalscale-mirabox/board.c new file mode 100644 index 0000000000..9c800c5410 --- /dev/null +++ b/arch/arm/boards/globalscale-mirabox/board.c @@ -0,0 +1,17 @@ +/* + * Copyright + * (C) 2013 Thomas Petazzoni <thomas.petazzoni@free-electrons.com> + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + +/* empty */ |