summaryrefslogtreecommitdiffstats
path: root/board/samsung/smdk5250
diff options
context:
space:
mode:
authorRajeshwari Shinde <rajeshwari.s@samsung.com>2013-06-25 19:17:06 +0530
committerMinkyu Kang <mk7.kang@samsung.com>2013-06-28 09:19:38 +0900
commit493c073ff486323ef8e58e5d721eda68cf150d98 (patch)
tree03b7f07d8843166c532468dea6023d18b22da5ad /board/samsung/smdk5250
parent70125f341152c3f29d5552c5490cc5eb15a0215d (diff)
downloadblackbird-obmc-uboot-493c073ff486323ef8e58e5d721eda68cf150d98.tar.gz
blackbird-obmc-uboot-493c073ff486323ef8e58e5d721eda68cf150d98.zip
SMDK5250: Remove reduntant code
enum boot_mode is defined twice once in spl.h and also in spl_boot.c, hence removing the same from spl_boot.c and including the header file. Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board/samsung/smdk5250')
-rw-r--r--board/samsung/smdk5250/spl_boot.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/board/samsung/smdk5250/spl_boot.c b/board/samsung/smdk5250/spl_boot.c
index 98f2286f9e..83275f1e07 100644
--- a/board/samsung/smdk5250/spl_boot.c
+++ b/board/samsung/smdk5250/spl_boot.c
@@ -26,6 +26,7 @@
#include <asm/arch-exynos/dmc.h>
#include <asm/arch/clock.h>
#include <asm/arch/clk.h>
+#include <asm/arch/spl.h>
#include "clock_init.h"
@@ -48,15 +49,6 @@ u32 irom_ptr_table[] = {
[USB_INDEX] = 0x02020070, /* iROM Function Pointer-USB boot*/
};
-enum boot_mode {
- BOOT_MODE_MMC = 4,
- BOOT_MODE_SERIAL = 20,
- BOOT_MODE_EMMC = 8, /* EMMC4.4 */
- /* Boot based on Operating Mode pin settings */
- BOOT_MODE_OM = 32,
- BOOT_MODE_USB, /* Boot using USB download */
-};
-
void *get_irom_func(int index)
{
return (void *)*(u32 *)irom_ptr_table[index];
OpenPOWER on IntegriCloud