|
|
ada8b2f |
From a34b729d67b97cd0bc78747406e249b1c0995cdf Mon Sep 17 00:00:00 2001
|
|
|
ccbb7a9 |
From: Koen Kooi <koen@dominion.thruhere.net>
|
|
|
ccbb7a9 |
Date: Wed, 3 Apr 2013 08:33:28 +0200
|
|
|
ada8b2f |
Subject: [PATCH 03/15] beaglebone: HACK: always return 1 for is_bone_lt
|
|
|
ccbb7a9 |
|
|
|
ccbb7a9 |
This is to make the eMMC flasher work, the EEPROM hasn't been populated yet
|
|
|
ccbb7a9 |
|
|
|
ccbb7a9 |
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
|
|
|
ccbb7a9 |
---
|
|
|
ccbb7a9 |
board/ti/am335x/board.c | 5 +++--
|
|
|
ccbb7a9 |
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
ccbb7a9 |
|
|
|
ccbb7a9 |
diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c
|
|
|
ccbb7a9 |
index fdbe26c..f9e7803 100644
|
|
|
ccbb7a9 |
--- a/board/ti/am335x/board.c
|
|
|
ccbb7a9 |
+++ b/board/ti/am335x/board.c
|
|
|
ccbb7a9 |
@@ -57,7 +57,8 @@ static inline int board_is_bone(void)
|
|
|
ccbb7a9 |
|
|
|
ccbb7a9 |
static inline int board_is_bone_lt(void)
|
|
|
ccbb7a9 |
{
|
|
|
ccbb7a9 |
- return !strncmp(header.name, "A335BNLT", HDR_NAME_LEN);
|
|
|
ccbb7a9 |
+ //return !strncmp(header.name, "A335BNLT", HDR_NAME_LEN);
|
|
|
ccbb7a9 |
+ return 1;
|
|
|
ccbb7a9 |
}
|
|
|
ccbb7a9 |
|
|
|
ccbb7a9 |
static inline int board_is_evm_sk(void)
|
|
|
ccbb7a9 |
@@ -359,7 +360,7 @@ void s_init(void)
|
|
|
ccbb7a9 |
if (board_is_evm_sk())
|
|
|
ccbb7a9 |
config_ddr(303, MT41J128MJT125_IOCTRL_VALUE, &ddr3_data,
|
|
|
ccbb7a9 |
&ddr3_cmd_ctrl_data, &ddr3_emif_reg_data, 0);
|
|
|
ccbb7a9 |
- else if (board_is_bone_lt())
|
|
|
ccbb7a9 |
+ else if (board_is_bone_lt() && !board_is_bone())
|
|
|
ccbb7a9 |
config_ddr(400, MT41K256M16HA125E_IOCTRL_VALUE,
|
|
|
ccbb7a9 |
&ddr3_beagleblack_data,
|
|
|
ccbb7a9 |
&ddr3_beagleblack_cmd_ctrl_data,
|
|
|
ccbb7a9 |
--
|
|
|
ccbb7a9 |
1.8.3.1
|
|
|
ccbb7a9 |
|